RentMy MCP by usefulapi

v1.6.1
io.usefulapi/rentmy Checked 1 day ago Published 8 hours ago

Search 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}.

ParameterTypeDescription
category_uuid *stringCategory 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.

ParameterTypeDescription
allbooleanInclude all products, as RentMy's all flag.
limitintegerProducts per page (1-30).
page_nointegerPage number, starting at 1.
price_maxstringHighest price to include.
price_minstringLowest price to include.
purchase_typestringPurchase type filter, as RentMy names it (rent, sale, ...).
sort_bystringSort field, as RentMy names it.
sort_dirstringSort 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.

ParameterTypeDescription
search *stringText to search for (product name or keyword).
limitintegerProducts per page (1-30).
page_nointegerPage 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}.

ParameterTypeDescription
category_uuid *stringCategory UUID from rentmy_list_categories.
limitintegerProducts per page.
page_nointegerPage number, starting at 1.
price_maxintegerHighest price to include (whole number, per the spec).
price_minintegerLowest price to include (whole number, per the spec).
purchase_typeintegerPurchase type filter (RentMy integer code).
tag_idintegerTag ID filter.

rentmy_get_product Get product

Get one product's full details by its product UID. RentMy: GET /products/{product_uid}.

ParameterTypeDescription
product_uid *stringProduct 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}.

ParameterTypeDescription
variant_id *integerRentMy 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.

ParameterTypeDescription
product_id *integerRentMy product ID.
requiredstringOnly 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.

ParameterTypeDescription
product_id *integerRentMy product ID.
quantity *integerQuantity to rent.
rent_end *stringRental end, "YYYY-MM-DD HH:MM" (RentMy format).
rent_start *stringRental start, "YYYY-MM-DD HH:MM" (RentMy format).
rental_type *stringRental type, as RentMy names it (the spec example is rent).
variants_products_id *integerRentMy variant product ID (variants_products_id).
price_idintegerPrice rule ID, when a product has several.
rental_durationintegerRental 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.

ParameterTypeDescription
end_date *stringRental end, "YYYY-MM-DD HH:MM" (RentMy format).
product_uid *stringPackage product UID.
start_date *stringRental start, "YYYY-MM-DD HH:MM" (RentMy format).
variants *integerVariant 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}.

ParameterTypeDescription
cart_token *stringCart 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.

ParameterTypeDescription
product_id *integerRentMy product ID.
quantity *integerQuantity to add.
rental_type *stringRental type, as RentMy names it (the spec example is rent).
variants_products_id *integerRentMy variant product ID (variants_products_id).
driving_license_requiredbooleanWhether a driving licence is required for this item.
rent_endstringRental end, "YYYY-MM-DD HH:MM" (RentMy format).
rent_startstringRental start, "YYYY-MM-DD HH:MM" (RentMy format).
tokenstringExisting 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.

ParameterTypeDescription
id *integerCart ID (the id field of the cart).
increment *integerQuantity change, positive or negative (RentMy's increment field).
token *stringCart 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.

ParameterTypeDescription
cart_item_id *integerCart item ID to remove.
product_id *integerRentMy product ID.
token *stringCart 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.

ParameterTypeDescription
coupon *stringCoupon code.
token *stringCart token from add-to-cart or get-cart.
cart_item_idintegerCart item ID, when RentMy needs it for the coupon.
product_idintegerRentMy product ID.