MoeGo MCP by usefulapi

v1.11.1
io.usefulapi/moego Checked 2 days ago Published 1 day ago

Read customers, pets, appointments, orders and reports; add customer notes in MoeGo.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

moego_list_companies List companies

List the companies the API key can access. Call first: it returns the obfuscated company ids that every other tool needs. API: POST /v1/companies:list.

ParameterTypeDescription
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_get_company Get a company

Get one company (name, country, time zone). API: GET /v1/companies/{id}.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).

moego_list_businesses List businesses (locations)

List the business locations of a company, with address and contact data. API: POST /v1/businesses:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_get_business Get a business (location)

Get one business location by obfuscated id. API: GET /v1/businesses/{id}.

ParameterTypeDescription
business_id *stringObfuscated business id.

moego_list_customers List customers

List pet-parent customers of a company. Filter by phone number or by last update time. API: POST /v1/customers:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
phone_numberstringOnly the customer with this main phone number.
updated_afterstringRFC 3339 time: only customers updated at or after it.
updated_beforestringRFC 3339 time: only customers updated before it.

moego_get_customer Get a customer

Get one customer with contact data, addresses, notes, tags and preferences. API: GET /v1/customers/{id}.

ParameterTypeDescription
customer_id *stringObfuscated customer id.

moego_list_customer_notes List customer notes

List the staff notes on a customer. API: POST /v1/customers/{id}/notes:list.

ParameterTypeDescription
customer_id *string
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_customer_tags List customer tags

List the tags on a customer. API: POST /v1/customers/{id}/tags:list.

ParameterTypeDescription
customer_id *string

moego_list_pets List pets

List pets of a company. Filter by owner ids or last update time. API: POST /v1/pets:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
customer_idsarrayOnly pets of these customers.
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
updated_afterstringRFC 3339 time.
updated_beforestringRFC 3339 time.

moego_list_customer_pets List pets of a customer

List the pets of one customer. API: POST /v1/customers/{customerId}/pets:list.

ParameterTypeDescription
customer_id *string

moego_get_pet Get a pet

Get one pet (breed, weight, vaccinations, vet, behavior, codes, notes). API: GET /v1/customers/{customerId}/pets/{id}.

ParameterTypeDescription
customer_id *stringObfuscated id of the owner.
pet_id *stringObfuscated pet id.

moego_list_appointments List appointments

List appointments of a company. Filter by start time range, status, customers, pets. Times are RFC 3339. API: POST /v1/appointments:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
customer_idsarray
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
pet_idsarray
start_afterstringRFC 3339: appointment starts at or after this time.
start_beforestringRFC 3339: appointment starts before this time.
statusesarray
updated_afterstringRFC 3339: last updated at or after this time.

moego_get_appointment Get an appointment

Get one appointment with its pets, services, staff, times and amounts. API: GET /v1/appointments/{id}.

ParameterTypeDescription
appointment_id *string
business_idstringObfuscated business id of the appointment.

moego_list_appointment_notes List appointment notes

List the notes of one appointment. API: POST /v1/appointments/notes:list.

ParameterTypeDescription
appointment_id *string

moego_list_blocks List time blocks

List blocked (not bookable) time slots such as staff days off. API: POST /v1/blocks:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
end_beforestringRFC 3339.
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
start_afterstringRFC 3339.

moego_get_booking_availability Get online booking availability

Get the dates and times that clients can book online for a location. Read only: it books nothing. API: POST /v1/online_booking/availability.

ParameterTypeDescription
business_id *string
company_id *stringObfuscated company id (from moego_list_companies).
end_date *stringyyyy-mm-dd
start_date *stringyyyy-mm-dd
service_idsarray
staff_idsarray

moego_list_orders List orders

List orders (invoices) with status and amounts. Filter by status or last update time. API: POST /v1/orders:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
statusesarray
updated_afterstringRFC 3339.
updated_beforestringRFC 3339.

moego_get_order Get an order

Get one order with its totals, tips, tax and discounts. API: GET /v1/orders/{id}.

ParameterTypeDescription
order_id *string

moego_list_payments List payments

List payments of a company, optionally for given orders. API: POST /v1/payments:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
order_idsarray
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_get_payment Get a payment

Get one payment with method, status, fees and refunds. API: GET /v1/payment/{id}.

ParameterTypeDescription
payment_id *string

moego_list_discounts List discount codes

List the discount codes of a company. API: POST /v1/discounts:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_retail_products List retail products

List retail products for sale. API: POST /v1/retail/products:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_memberships List membership plans

List membership plans. Filter by name. API: POST /v1/memberships:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
name_likestring
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_membership_subscriptions List membership subscriptions

List customer membership subscriptions. API: POST /v1/memberships/subscriptions:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
customer_idsarray
membership_idsarray
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_packages List customer packages

List prepaid service packages and their usage, optionally for given customers. API: POST /v1/packages:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
customer_idsarray
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_leads List leads

List sales leads (potential customers). API: POST /v1/leads:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
phone_numberstring

moego_get_lead Get a lead

Get one lead. API: GET /v1/leads/{id}.

ParameterTypeDescription
lead_id *string

moego_list_agreements List agreements

List agreement templates (contracts and waivers) of a company. API: POST /v1/agreements:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.

moego_list_reports List reports

List the business reports that exist for a company (ids for moego_fetch_report_data). API: POST /v1/reports:list.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).

moego_fetch_report_data Fetch report data

Fetch the table data of one report for a time period. API: POST /v1/reports/data:fetch.

ParameterTypeDescription
company_id *stringObfuscated company id (from moego_list_companies).
report_id *stringReport id from moego_list_reports.
business_idsarrayOnly these obfuscated business ids (from moego_list_businesses).
group_by_field_keysarray
page_sizeintegerResults per page.
page_tokenstringnextPageToken from the previous page.
period_endstringRFC 3339.
period_startstringRFC 3339.

moego_append_customer_note Add a customer note

WRITE: add one staff note to a customer profile. It adds a new note on every call and does not replace or delete notes. Do not retry after a timeout: check moego_list_customer_notes first. API: POST /v1/customers/{id}/notes.

ParameterTypeDescription
customer_id *string
note *stringNote text.