QuotaPath MCP by usefulapi

v1.9.1
io.usefulapi/quotapath Checked 3 days ago Published 1 day ago

Read deals, payouts, plans, teams and users, and create, update or delete deals in QuotaPath.

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

quotapath_list_deals List deals

List deals in the QuotaPath workspace. Filter by id, integration_id (your system's id), path_id or user_email (deal owner). Uses GET /v1/deal/.

ParameterTypeDescription
idstringFilter by QuotaPath deal id.
integration_idstringFilter by your system's id for the deal.
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.
path_idstringFilter by path uuid.
user_emailstringFilter by deal owner email.

quotapath_get_deal Get a deal

Get one deal by uuid, with its deal values, metadata and state. Uses GET /v1/deal/{uuid}/.

ParameterTypeDescription
deal_id *stringThe deal uuid (from quotapath_list_deals).

quotapath_create_deal Create a deal

Create one deal in QuotaPath, with its owner, amounts per path and state. This changes commission data: confirm the owner, path ids and amounts first. Uses POST /v1/deal/.

ParameterTypeDescription
deal_values *arrayAmounts per path. Each needs path_id and value.
name *stringDeal name (up to 255 characters).
user_email *stringEmail of the deal owner (a QuotaPath user).
admin_lockedbooleanLock the deal so only admins can change it.
datestringDeal date (yyyy-mm-dd).
integration_idstringYour system's id for this deal. Keeps the deal linked to your CRM record.
metadataobjectOptional custom fields used by the plan's paths.
statestringDeal state.

quotapath_bulk_create_deals Bulk create deals

Create many deals in one call. Each item uses the same fields as quotapath_create_deal. This changes commission data. Uses POST /v1/deal/bulk/.

ParameterTypeDescription
deals *arrayDeals to create.

quotapath_update_deal Update a deal

Change some fields of one deal. Send only the fields to change; the others stay as they are. Uses PATCH /v1/deal/{uuid}/.

ParameterTypeDescription
deal_id *stringThe deal uuid (from quotapath_list_deals).
admin_lockedbooleanLock the deal so only admins can change it.
datestringDeal date (yyyy-mm-dd).
deal_valuesarrayAmounts per path. Each needs path_id and value.
integration_idstringYour system's id for this deal. Keeps the deal linked to your CRM record.
metadataobjectOptional custom fields used by the plan's paths.
namestringDeal name (up to 255 characters).
statestringDeal state.
user_emailstringEmail of the deal owner (a QuotaPath user).

quotapath_delete_deal Delete a deal

Remove one deal from QuotaPath. This cannot be undone through this server. Check the deal with quotapath_get_deal first, and get the user's OK. Uses DELETE /v1/deal/{uuid}/.

ParameterTypeDescription
confirm *booleanMust be true. Set it only after the user confirms this deletion.
deal_id *stringThe deal uuid (from quotapath_list_deals).

quotapath_list_payouts List payouts

List all payouts, resolved and unresolved. Use updated_since to fetch only changes since a Unix time in seconds. Uses GET /v1/payout/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.
updated_sinceintegerUnix timestamp in seconds. Returns records updated after it.

quotapath_list_resolved_payouts List resolved payouts

List resolved payouts, the ones that can go to your external software systems. Use updated_since to fetch only changes. Uses GET /v1/payout/resolved/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.
updated_sinceintegerUnix timestamp in seconds. Returns records updated after it.

quotapath_list_unresolved_payouts List unresolved payouts

List payouts that are not resolved yet. Uses GET /v1/payout/unresolved/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.

quotapath_list_plans List compensation plans

List compensation plans with their assignments and paths. Path uuids from here go into deal values. Uses GET /v1/plan/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.

quotapath_list_teams List teams

List teams in the QuotaPath workspace with their current members and managers. Uses GET /v1/team/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.

quotapath_list_users List users

List users in the QuotaPath workspace (name and email). Use the email as user_email on a deal. Uses GET /v1/user/.

ParameterTypeDescription
limitintegerMaximum records to return (vendor default when omitted).
offsetintegerRecords to skip, for paging.