EZRentOut MCP by usefulapi
v1.12.1MCP server for EZRentOut — rental orders, assets, customers, inventory and work orders.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ezrentout_list_orders List orders
List all rental orders (25 per page) with status, customer and dates. Paged: add 1 to page for the next one. GET /baskets.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_order Get an order
One order by its order number: customer, status, dates, line items (order_line_items), sub-rent items, totals and payments. GET /baskets/<ORDER#>.api.
| Parameter | Type | Description |
|---|---|---|
order_number * | The order number (Order#), from ezrentout_list_orders. |
ezrentout_get_order_history Get an order's in/out history
The check-out / check-in history of one order. GET /baskets/<ORDER#>/history.api.
| Parameter | Type | Description |
|---|---|---|
order_number * | The order number (Order#). |
ezrentout_list_payment_options List payment options
The payment options (cash, check, ...) that ezrentout_record_order_payment accepts. GET /payment_options.api.
ezrentout_list_coupons List coupons
All pricing coupons of the company. GET /pricing_coupons.api.
ezrentout_list_customers List or filter customers
List customers (25 per page). Optional filter: email, category, taxed, non_taxed, inactive_customers, subscribed_emails, not_subscribed_emails, checked_out_orders, completed_orders, account_name. email, category, account_name and completed_orders (for example "> 50") need filter_val. GET /customers.api.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter name. |
filter_val | string | The value for the filters that need one (an email address, a category, an account name, or a comparison such as > 50). |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_customer Get a customer
One customer by id: name, email, phone, addresses, status, custom fields. GET /customers/<CUSTOMER_ID>.api.
| Parameter | Type | Description |
|---|---|---|
customer_id * | The customer id, from ezrentout_list_customers. |
ezrentout_search_member_by_email Find a customer or contact by email
Look up the customer, business contact or business that has an email address. GET /api/members/search_by_email.api.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address. |
ezrentout_list_businesses List or filter businesses
List business customers (20 per page). Optional filter: all, active_businesses, inactive_businesses, checked_out_orders, active_customers, completed_orders (completed_orders needs filter_val, for example "> 50"). GET /businesses.api.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter name (default all). |
filter_val | string | The comparison for completed_orders, for example > 50. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_business Get a business
One business customer by id. GET /businesses/<BUSINESS#>.api.
| Parameter | Type | Description |
|---|---|---|
business_id * | The business id, from ezrentout_list_businesses. |
ezrentout_list_business_contacts List business contacts
List the contact persons of business customers (25 per page). GET /contacts.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_business_contact Get a business contact
One business contact by id. GET /contacts/<CONTACT_ID>.api.
| Parameter | Type | Description |
|---|---|---|
contact_id * | The contact id, from ezrentout_list_business_contacts. |
ezrentout_list_customer_addresses List a customer's addresses
The shipping/billing addresses of one customer. GET /customers/<CUSTOMER_ID>/shipping_addresses.api.
| Parameter | Type | Description |
|---|---|---|
customer_id * | The customer id. | |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_business_addresses List a business's addresses
The shipping/billing addresses of one business. GET /businesses/<BUSINESS#>/shipping_addresses.api.
| Parameter | Type | Description |
|---|---|---|
business_id * | The business id. | |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_assets List assets
List fixed assets (the individually tracked rental items, 25 per page) with group, location and status. GET /assets.api.
| Parameter | Type | Description |
|---|---|---|
include_custom_fields | boolean | Also return the items' custom fields (default false). |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
show_image_urls | boolean | Also return document and image links of the items (default false). |
ezrentout_filter_assets Filter assets by status
Assets by a status filter. status: available, assets_being_serviced, availability_range, checked_out (= currently rented out), group, location, overdue, possessions_of, possessions_of_email, reserved, product_model_number, items_in_order, reservation_starting_today, retired, update_time. Most filters need filter_param_val (a group or location id, a user id, an email, a model number, an order number; for availability_range two dates joined by ~). Not needed for available, checked_out, overdue, reserved, retired. GET /assets/filter.api.
| Parameter | Type | Description |
|---|---|---|
status * | string | The filter. |
filter_param_val | string | The value the filter needs, if any. |
include_custom_fields | boolean | Also return the items' custom fields (default false). |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_search_assets Search assets
Search by asset name (3+ characters), or # followed by the item number, or @ followed by the identification number. GET /search.api (facet FixedAsset).
| Parameter | Type | Description |
|---|---|---|
search * | string | Name, #<item number> or @<identification number>. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_asset Get an asset
One fixed asset by its asset number: details, group, location, status, rental prices, optionally service details and custom fields. GET /assets/<ASSET#>.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The asset number (Asset#), from ezrentout_list_assets. | |
include_custom_fields | boolean | Also return the items' custom fields (default false). |
show_services_details | boolean | Also return service (maintenance) data. |
ezrentout_get_asset_history Get an asset's history
The check-in/check-out and change history of one asset (5 entries per page). GET /assets/<ASSET#>/history_paginate.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The asset number. | |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_asset_booked_dates Get an item's booked dates
The dates on which an asset, inventory item or asset stock is booked or reserved. GET /assets/<ASSET#>/booked_dates.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The item number (Asset#). |
ezrentout_list_asset_comments List an asset's comments
The comments on one item (25 per page), optionally by one user. GET /assets/<ASSET#>/comments.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The item number (Asset#). | |
created_by_id | Only comments by this user id. | |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_assets_in_service List assets in service
Assets currently in maintenance (25 per page), optionally only one service type or state. GET /assets/filter.api?for_service=true&status=assets_being_serviced.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
service_state | string | Only this service state. |
service_type | string | Only this service type name. |
ezrentout_list_inventory List inventory items
List inventory (consumable items tracked by quantity, 25 per page). GET /inventory.api.
| Parameter | Type | Description |
|---|---|---|
include_custom_fields | boolean | Also return the items' custom fields (default false). |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_inventory_item Get an inventory item
One inventory item by item number, with its stock. GET /inventory/<ASSET#>.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The inventory item number (Asset#). | |
include_custom_fields | boolean | Also return the items' custom fields (default false). |
ezrentout_search_inventory Search inventory
Search inventory items by name, #<item number> or @<identification number>. GET /search.api (facet VolatileAsset).
| Parameter | Type | Description |
|---|---|---|
search * | string | Name, #<item number> or @<identification number>. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_inventory_history Get an inventory item's stock history
The stock movements (added, sold, transferred) of one inventory item. GET /inventory/<ASSET#>/history.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The inventory item number. | |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_quantity_by_location Get an item's quantity at a location
The stock of an inventory or asset-stock item at one location. GET /locations/get_quantity_by_location.api.
| Parameter | Type | Description |
|---|---|---|
asset_id * | The item number (Asset#). | |
location_id * | The location id, from ezrentout_list_locations. |
ezrentout_list_asset_stock List asset stock items
List asset stock (bulk items tracked by quantity per location, 25 per page). GET /stock_assets.api.
| Parameter | Type | Description |
|---|---|---|
include_custom_fields | boolean | Also return the items' custom fields (default false). |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_asset_stock Get an asset stock item
One asset stock item by number. GET /stock_assets/<AssetStock#>.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The asset stock number. | |
include_custom_fields | boolean | Also return the items' custom fields (default false). |
ezrentout_list_users List users
The company's users (staff/admins, 25 per page). Filter by email, employee_identification_number or status (filter_val: active, inactive, login, non_login, all). GET /members.api.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter name. |
filter_val | string | The value for the filter. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_user Get a user
One user by id. GET /members/<USER_ID>.api.
| Parameter | Type | Description |
|---|---|---|
user_id * | The user id, from ezrentout_list_users. |
ezrentout_get_user_checked_out_items Get the items checked out to a user
The assets currently checked out to one user (a read; the vendor API uses PUT for this lookup). PUT /members/<USER_ID>/checked_out_items.api?page=N with item_type in the form body.
| Parameter | Type | Description |
|---|---|---|
user_id * | The user id. | |
item_type | string | Only this item type, if the account uses one. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_locations List locations
The company's locations (25 per page); status all, active or inactive. GET /locations/get_line_item_locations.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
status | string | Default all. |
ezrentout_get_location Get a location
One location by id. GET /locations/<LOCATION#>.api.
| Parameter | Type | Description |
|---|---|---|
location_id * | The location id. |
ezrentout_get_location_quantities Get the stock at a location
The quantity of every asset, asset-stock and inventory item at one location. GET /locations/<LOCATION#>/quantities_by_asset_ids.api.
| Parameter | Type | Description |
|---|---|---|
location_id * | The location id. |
ezrentout_list_groups List groups
The asset groups (categories, 25 per page) with their items. GET /assets/classification_view.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_subgroups List subgroups
All subgroups, or those of one group. GET /groups/get_sub_groups.api.
| Parameter | Type | Description |
|---|---|---|
group_id | Only the subgroups of this group. |
ezrentout_list_bundles List bundles
Bundles (items rented together, 25 per page). GET /bundles.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_get_bundle Get a bundle
One bundle by id, with its items. GET /bundles/<BUNDLE#>.api.
| Parameter | Type | Description |
|---|---|---|
bundle_id * | The bundle id. |
ezrentout_list_vendors List vendors
The company's vendors/suppliers (25 per page). GET /assets/vendors.api.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
ezrentout_list_custom_fields List custom fields
The custom fields defined for items (names and ids). GET /assets/custom_attributes.api.
ezrentout_list_purchase_orders List purchase orders
All purchase orders. GET /purchase_orders.api.
ezrentout_get_purchase_order Get a purchase order
One purchase order with its items. GET /purchase_orders/<PO#>.api.
| Parameter | Type | Description |
|---|---|---|
purchase_order_number * | The purchase order number (PO#). |
ezrentout_list_work_orders List work orders
Maintenance work orders (25 per page), optionally by status filter (open, in_progess [sic, as the vendor spells it], review_pending, complete) or by work order type. GET /tasks.api.
| Parameter | Type | Description |
|---|---|---|
filter | string | A status filter: open, in_progess, review_pending or complete. |
page | integer | Page number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1. |
task_type | string | A work order type name, from ezrentout_list_work_order_types. |
ezrentout_get_work_order Get a work order
One work order by number. GET /tasks/<Work_Order#>.api.
| Parameter | Type | Description |
|---|---|---|
work_order_number * | The work order number. |
ezrentout_list_work_order_types List work order types
The work order types of the company. GET /task_types.api.
ezrentout_list_custom_reports List saved reports
The saved custom reports (id, name, description). GET /reports/list_custom_reports.api.
ezrentout_create_customer Create a customer
Create a customer (a person who rents). First and last name are required. Does not create an order. POST /customers.api.
| Parameter | Type | Description |
|---|---|---|
first_name * | string | First name. |
last_name * | string | Last name. |
address | string | Address line 1. |
city | string | City. |
country | string | Two-letter country code, e.g. US. |
description | string | Notes about the customer. |
email | string | Email address. |
phone_number | string | Phone number. |
state | string | State or province. |
zip_code | string | Zip or postal code. |
ezrentout_create_order Create an order
Create a new rental order (a draft until it is booked or rented out) for a customer, optionally with assets and dates. If the customer belongs to several businesses, pass business_id. Does not rent anything out and does not charge. POST /baskets.api.
| Parameter | Type | Description |
|---|---|---|
customer_id * | The customer or business-contact id, from ezrentout_list_customers. | |
asset_numbers | array | Assets to add (asset numbers; a bundle as <id>-b). |
business_id | The business, when the contact is part of several. | |
description | string | Order description. |
due_date | string | Due (return) date (mm/dd/yyyy). |
expected_checkout_date | string | Expected check-out date (mm/dd/yyyy). |
expected_checkout_time | string | Expected check-out time (hh:mm, 24 hours). |
ezrentout_add_assets_to_order Add assets to an order
Add assets (or bundles as <id>-b) to an existing order. PATCH /baskets/<ORDER#>/update_basket_from_show.api.
| Parameter | Type | Description |
|---|---|---|
asset_numbers * | array | Asset numbers; a bundle as <bundle id>-b, e.g. 12, 25-b. |
order_number * | The order number (Order#). |
ezrentout_book_order Book an order
Reserve an order's assets for a period (books the order). EZRentOut may notify the customer according to the account's settings. PATCH /baskets/<ORDER#>/reservation.api.
| Parameter | Type | Description |
|---|---|---|
from * | string | Reservation start (mm/dd/yyyy). |
order_number * | The order number. | |
to * | string | Reservation end (mm/dd/yyyy). |
from_time | string | Start time (hh:mm, 24 hours). |
to_time | string | End time (hh:mm, 24 hours). |
ezrentout_add_order_custom_entry Add a custom charge to an order
Add a custom line (a named amount, for example a delivery fee) to an order; it raises the order total. Not possible on sold, void, completed or cancelled orders. POST /baskets/<ORDER#>/custom_entries.api.
| Parameter | Type | Description |
|---|---|---|
amount * | number | The amount, in the account's currency. |
name * | string | Name of the charge. |
order_number * | The order number. | |
comments | string | Comments. |
tax_free | boolean | true = no tax on this charge. |
ezrentout_record_order_payment Record a payment on an order
Record a payment received for an order (a prepayment). It records the amount in EZRentOut; it does not charge a card (credit card payments are not supported by the API). Use a payment_method_name from ezrentout_list_payment_options. PATCH /baskets/<ORDER#>/charge_pre_payment.api.
| Parameter | Type | Description |
|---|---|---|
amount * | number | The amount received. |
order_number * | The order number. | |
payment_method_name * | string | A payment option name, for example Cash. |
ezrentout_rent_out_order Rent out an order (check out)
Check an order out: its assets go to the customer and the rental clock and billing start. EZRentOut may email the customer according to the account's settings. Give rentout_date and return_date, or use_current_datetime. PATCH /baskets/<ORDER#>/checkout.api.
| Parameter | Type | Description |
|---|---|---|
order_number * | The order number. | |
rentout_date | string | Rent-out date (mm/dd/yyyy). |
rentout_time | string | Rent-out time (hh:mm, 24 hours). |
return_date | string | Expected return date (mm/dd/yyyy). |
return_time | string | Expected return time (hh:mm, 24 hours). |
use_current_datetime | boolean | true = rent out now. |
ezrentout_return_order Return an order (check in)
Check an order in: the customer returned the assets, rental billing ends and the assets become available again. Give return_date (and return_time), or use_current_datetime to return now. Returns the whole order (no partial returns, late fees or payment here; use ezrentout_record_order_payment). EZRentOut may email the customer according to the account's settings. PATCH /baskets/<ORDER#>/checkin.api.
| Parameter | Type | Description |
|---|---|---|
order_number * | The order number. | |
return_date | string | Return date (mm/dd/yyyy). |
return_time | string | Return time (hh:mm, 24 hours). |
use_current_datetime | boolean | true = return now. |
ezrentout_add_asset_comment Add a comment to an item
Add a comment to an asset, asset stock or inventory item. POST /assets/<ASSET#>/comments.api.
| Parameter | Type | Description |
|---|---|---|
asset_number * | The item number (Asset#). | |
content * | string | The comment text. |
created_by_id | The user the comment is attributed to. |
ezrentout_create_work_order Create a maintenance work order
Create a work order with a title, type and due date, optionally for assets. By default the linked assets are marked unavailable (mark_items_unavailable). POST /tasks.api.
| Parameter | Type | Description |
|---|---|---|
due_date * | string | Due date (mm/dd/yyyy). |
task_type * | string | The work order type name, from ezrentout_list_work_order_types. |
title * | string | The summary. |
asset_numbers | array | Assets the work order is for. |
description | string | Description. |
mark_items_unavailable | boolean | Default true in EZRentOut: the assets cannot be rented while the work order is open. |
priority | string | Priority. |
ezrentout_start_work_order Start a work order
Mark a work order in progress. PATCH /tasks/<Work_Order#>/mark_in_progress.api.
| Parameter | Type | Description |
|---|---|---|
work_order_number * | The work order number. |
ezrentout_complete_work_order Complete a work order
Mark a work order complete; its assets may become available again. PATCH /tasks/<Work_Order#>/mark_complete.api.
| Parameter | Type | Description |
|---|---|---|
work_order_number * | The work order number. |