EZRentOut MCP by usefulapi

v1.12.1
io.usefulapi/ezrentout Checked 1 day ago Published 7 hours ago

MCP 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.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
filterstringFilter name.
filter_valstringThe value for the filters that need one (an email address, a category, an account name, or a comparison such as > 50).
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
email *stringThe 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.

ParameterTypeDescription
filterstringFilter name (default all).
filter_valstringThe comparison for completed_orders, for example > 50.
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
customer_id *The customer id.
pageintegerPage 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.

ParameterTypeDescription
business_id *The business id.
pageintegerPage 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.

ParameterTypeDescription
include_custom_fieldsbooleanAlso return the items' custom fields (default false).
pageintegerPage number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1.
show_image_urlsbooleanAlso 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.

ParameterTypeDescription
status *stringThe filter.
filter_param_valstringThe value the filter needs, if any.
include_custom_fieldsbooleanAlso return the items' custom fields (default false).
pageintegerPage 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).

ParameterTypeDescription
search *stringName, #<item number> or @<identification number>.
pageintegerPage 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.

ParameterTypeDescription
asset_number *The asset number (Asset#), from ezrentout_list_assets.
include_custom_fieldsbooleanAlso return the items' custom fields (default false).
show_services_detailsbooleanAlso 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.

ParameterTypeDescription
asset_number *The asset number.
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
asset_number *The item number (Asset#).
created_by_idOnly comments by this user id.
pageintegerPage 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.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1.
service_statestringOnly this service state.
service_typestringOnly this service type name.

ezrentout_list_inventory List inventory items

List inventory (consumable items tracked by quantity, 25 per page). GET /inventory.api.

ParameterTypeDescription
include_custom_fieldsbooleanAlso return the items' custom fields (default false).
pageintegerPage 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.

ParameterTypeDescription
asset_number *The inventory item number (Asset#).
include_custom_fieldsbooleanAlso 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).

ParameterTypeDescription
search *stringName, #<item number> or @<identification number>.
pageintegerPage 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.

ParameterTypeDescription
asset_number *The inventory item number.
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
include_custom_fieldsbooleanAlso return the items' custom fields (default false).
pageintegerPage 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.

ParameterTypeDescription
asset_number *The asset stock number.
include_custom_fieldsbooleanAlso 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.

ParameterTypeDescription
filterstringFilter name.
filter_valstringThe value for the filter.
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
user_id *The user id.
item_typestringOnly this item type, if the account uses one.
pageintegerPage 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.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1.
statusstringDefault all.

ezrentout_get_location Get a location

One location by id. GET /locations/<LOCATION#>.api.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
group_idOnly the subgroups of this group.

ezrentout_list_bundles List bundles

Bundles (items rented together, 25 per page). GET /bundles.api.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
bundle_id *The bundle id.

ezrentout_list_vendors List vendors

The company's vendors/suppliers (25 per page). GET /assets/vendors.api.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
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.

ParameterTypeDescription
filterstringA status filter: open, in_progess, review_pending or complete.
pageintegerPage number, 1-based (default 1). Replies include the total number of pages; ask for the next page by adding 1.
task_typestringA 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.

ParameterTypeDescription
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.

ParameterTypeDescription
first_name *stringFirst name.
last_name *stringLast name.
addressstringAddress line 1.
citystringCity.
countrystringTwo-letter country code, e.g. US.
descriptionstringNotes about the customer.
emailstringEmail address.
phone_numberstringPhone number.
statestringState or province.
zip_codestringZip 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.

ParameterTypeDescription
customer_id *The customer or business-contact id, from ezrentout_list_customers.
asset_numbersarrayAssets to add (asset numbers; a bundle as <id>-b).
business_idThe business, when the contact is part of several.
descriptionstringOrder description.
due_datestringDue (return) date (mm/dd/yyyy).
expected_checkout_datestringExpected check-out date (mm/dd/yyyy).
expected_checkout_timestringExpected 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.

ParameterTypeDescription
asset_numbers *arrayAsset 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.

ParameterTypeDescription
from *stringReservation start (mm/dd/yyyy).
order_number *The order number.
to *stringReservation end (mm/dd/yyyy).
from_timestringStart time (hh:mm, 24 hours).
to_timestringEnd 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.

ParameterTypeDescription
amount *numberThe amount, in the account's currency.
name *stringName of the charge.
order_number *The order number.
commentsstringComments.
tax_freebooleantrue = 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.

ParameterTypeDescription
amount *numberThe amount received.
order_number *The order number.
payment_method_name *stringA 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.

ParameterTypeDescription
order_number *The order number.
rentout_datestringRent-out date (mm/dd/yyyy).
rentout_timestringRent-out time (hh:mm, 24 hours).
return_datestringExpected return date (mm/dd/yyyy).
return_timestringExpected return time (hh:mm, 24 hours).
use_current_datetimebooleantrue = 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.

ParameterTypeDescription
order_number *The order number.
return_datestringReturn date (mm/dd/yyyy).
return_timestringReturn time (hh:mm, 24 hours).
use_current_datetimebooleantrue = 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.

ParameterTypeDescription
asset_number *The item number (Asset#).
content *stringThe comment text.
created_by_idThe 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.

ParameterTypeDescription
due_date *stringDue date (mm/dd/yyyy).
task_type *stringThe work order type name, from ezrentout_list_work_order_types.
title *stringThe summary.
asset_numbersarrayAssets the work order is for.
descriptionstringDescription.
mark_items_unavailablebooleanDefault true in EZRentOut: the assets cannot be rented while the work order is open.
prioritystringPriority.

ezrentout_start_work_order Start a work order

Mark a work order in progress. PATCH /tasks/<Work_Order#>/mark_in_progress.api.

ParameterTypeDescription
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.

ParameterTypeDescription
work_order_number *The work order number.