RentMy MCP by usefulapi
v1.6.1Search rental products, check prices and build carts in RentMy.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rentmy_list_categories List categories
List the store's product categories, with first and second level child categories and their UUIDs. RentMy: GET /categories.
rentmy_list_child_categories List child categories
List the child categories under one category UUID. RentMy: GET /get/child-categories/{category_uuid}.
| Parameter | Type | Description |
|---|---|---|
category_uuid * | string | Category UUID from rentmy_list_categories. |
rentmy_list_products List products
List the store's products with pagination, optionally filtered by price range or purchase type. Needs the store location (from login). RentMy: POST /products/online.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Include all products, as RentMy's all flag. |
limit | integer | Products per page (1-30). |
page_no | integer | Page number, starting at 1. |
price_max | string | Highest price to include. |
price_min | string | Lowest price to include. |
purchase_type | string | Purchase type filter, as RentMy names it (rent, sale, ...). |
sort_by | string | Sort field, as RentMy names it. |
sort_dir | string | Sort direction, as RentMy names it (the spec example is DSC). |
rentmy_search_products Search products
Search the store's products by text. Needs the store location (from login). RentMy: POST /search/products.
| Parameter | Type | Description |
|---|---|---|
search * | string | Text to search for (product name or keyword). |
limit | integer | Products per page (1-30). |
page_no | integer | Page number, starting at 1. |
rentmy_list_products_in_category List products in a category
List the products in one category, with pagination and optional filters. RentMy: POST /category/products/{category_uuid}.
| Parameter | Type | Description |
|---|---|---|
category_uuid * | string | Category UUID from rentmy_list_categories. |
limit | integer | Products per page. |
page_no | integer | Page number, starting at 1. |
price_max | integer | Highest price to include (whole number, per the spec). |
price_min | integer | Lowest price to include (whole number, per the spec). |
purchase_type | integer | Purchase type filter (RentMy integer code). |
tag_id | integer | Tag ID filter. |
rentmy_list_featured_products List featured products
List the products the store features on its front page. RentMy: GET /products/featured.
rentmy_get_product Get product
Get one product's full details by its product UID. RentMy: GET /products/{product_uid}.
| Parameter | Type | Description |
|---|---|---|
product_uid * | string | Product UID from a product list or search. |
rentmy_get_product_variant Get product variant
Get one product variant's details by its variant ID. RentMy: GET /products/view/variant-product/{variant_id}.
| Parameter | Type | Description |
|---|---|---|
variant_id * | integer | RentMy variant product ID (variants_products_id). |
rentmy_list_product_addons List product add-ons
List the add-on products for one product. Needs the store location (from login). RentMy: GET /products/{product_id}/addons.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | RentMy product ID. |
required | string | Only required add-ons, as RentMy's required flag. |
rentmy_get_price Get rental price
Price one rental for given dates and quantity, without changing the cart. Needs the store location (from login). RentMy: POST /get-price-value.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | RentMy product ID. |
quantity * | integer | Quantity to rent. |
rent_end * | string | Rental end, "YYYY-MM-DD HH:MM" (RentMy format). |
rent_start * | string | Rental start, "YYYY-MM-DD HH:MM" (RentMy format). |
rental_type * | string | Rental type, as RentMy names it (the spec example is rent). |
variants_products_id * | integer | RentMy variant product ID (variants_products_id). |
price_id | integer | Price rule ID, when a product has several. |
rental_duration | integer | Rental duration, as RentMy counts it. |
rentmy_check_package_availability Check package availability
Check whether a package product is available for given dates. Needs the store location (from login). RentMy: POST /package/{product_uid}/availability.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Rental end, "YYYY-MM-DD HH:MM" (RentMy format). |
product_uid * | string | Package product UID. |
start_date * | string | Rental start, "YYYY-MM-DD HH:MM" (RentMy format). |
variants * | integer | Variant selection, as RentMy's variants query parameter. |
rentmy_list_locations List pickup locations
List the store's pickup locations. RentMy: GET /locations/list.
rentmy_get_cart Get cart
Get the items and totals of one cart by its token. RentMy: GET /carts/{cart_token}.
| Parameter | Type | Description |
|---|---|---|
cart_token * | string | Cart token from add-to-cart or get-cart. |
rentmy_add_to_cart Add item to cart
Add a product variant to a cart for the given dates. Leave token empty to start a new cart; the response carries the token. Does not check out. Needs the store location (from login). RentMy: POST /carts/add-to-cart.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | RentMy product ID. |
quantity * | integer | Quantity to add. |
rental_type * | string | Rental type, as RentMy names it (the spec example is rent). |
variants_products_id * | integer | RentMy variant product ID (variants_products_id). |
driving_license_required | boolean | Whether a driving licence is required for this item. |
rent_end | string | Rental end, "YYYY-MM-DD HH:MM" (RentMy format). |
rent_start | string | Rental start, "YYYY-MM-DD HH:MM" (RentMy format). |
token | string | Existing cart token. Omit to start a new cart. |
rentmy_update_cart_item Change cart item quantity
Change the quantity of one cart item by a step (for example 1 or -1). RentMy: POST /carts/update.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Cart ID (the id field of the cart). |
increment * | integer | Quantity change, positive or negative (RentMy's increment field). |
token * | string | Cart token from add-to-cart or get-cart. |
rentmy_remove_cart_item Remove cart item
Remove one item from a cart. RentMy: POST /carts/cart-remove-item.
| Parameter | Type | Description |
|---|---|---|
cart_item_id * | integer | Cart item ID to remove. |
product_id * | integer | RentMy product ID. |
token * | string | Cart token from add-to-cart or get-cart. |
rentmy_apply_coupon Apply coupon
Apply a discount coupon to a cart. The spec also lists product_id and cart_item_id for this route; they are sent when given. RentMy: POST /carts/apply-coupon.
| Parameter | Type | Description |
|---|---|---|
coupon * | string | Coupon code. |
token * | string | Cart token from add-to-cart or get-cart. |
cart_item_id | integer | Cart item ID, when RentMy needs it for the coupon. |
product_id | integer | RentMy product ID. |