ServiceTrade MCP by usefulapi is an MCP server published by io.usefulapi, hosted at servicetrade.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 22 tools, including servicetrade_list_jobs, servicetrade_list_locations, servicetrade_list_companies, servicetrade_list_appointments, servicetrade_list_service_requests.
Read jobs, appointments, deficiencies, invoices and assets, and add comments in ServiceTrade.
4,394 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List jobs (service calls, inspections, installs) with status, type, customer, location, owner, due date and estimated price. Filter by status, type, location, customer, technician, due or completion dates. ServiceTrade API: GET /job.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by job name. |
| page | integer | Page number (1-indexed, default 1). |
| sort | string | Sort field. |
| type | string | Job type or comma-separated list, e.g. inspection, repair, emergency_service_call, installation. |
| limit | integer | Results per page (default and maximum 2000). |
| number | string | Filter by job number. |
| status | string | Job status or comma-separated list: new, scheduled, canceled, bidding, completed, pending_invoice, sending_invoice, invoiced, closed. |
| techId | integer | Only jobs assigned to this technician user id. |
| dueByEnd | integer | Latest due date as a Unix timestamp in seconds. |
| sortOrder | string | Sort direction. |
| customerId | integer | Only jobs for this customer company id. |
| dueByBegin | integer | Earliest due date as a Unix timestamp in seconds. |
| locationId | integer | Only jobs at this location id. |
| createdAfter | integer | Created after as a Unix timestamp in seconds. |
| updatedAfter | integer | Updated after as a Unix timestamp in seconds. |
| completedOnEnd | integer | Latest completion date as a Unix timestamp in seconds. |
| completedOnBegin | integer | Earliest completion date as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_jobs",
"title": "List jobs",
"description": "List jobs (service calls, inspections, installs) with status, type, customer, location, owner, due date and estimated price. Filter by status, type, location, customer, technician, due or completion dates. ServiceTrade API: GET /job.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Filter by job name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort field."
},
"type": {
"type": "string",
"description": "Job type or comma-separated list, e.g. inspection, repair, emergency_service_call, installation."
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"number": {
"type": "string",
"description": "Filter by job number."
},
"status": {
"type": "string",
"description": "Job status or comma-separated list: new, scheduled, canceled, bidding, completed, pending_invoice, sending_invoice, invoiced, closed."
},
"techId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only jobs assigned to this technician user id.",
"exclusiveMinimum": 0
},
"dueByEnd": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Latest due date as a Unix timestamp in seconds."
},
"sortOrder": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Sort direction."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only jobs for this customer company id.",
"exclusiveMinimum": 0
},
"dueByBegin": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Earliest due date as a Unix timestamp in seconds."
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only jobs at this location id.",
"exclusiveMinimum": 0
},
"createdAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Created after as a Unix timestamp in seconds."
},
"updatedAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Updated after as a Unix timestamp in seconds."
},
"completedOnEnd": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Latest completion date as a Unix timestamp in seconds."
},
"completedOnBegin": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Earliest completion date as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List jobs",
"readOnlyHint": true
}
}List customer service locations (sites) with address, company, status and tags. ServiceTrade API: GET /location.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by location name. |
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Location status, e.g. active. |
| companyId | integer | Only locations of this company id. |
| updatedAfter | integer | Updated after as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_locations",
"title": "List locations",
"description": "List customer service locations (sites) with address, company, status and tags. ServiceTrade API: GET /location.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Filter by location name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"type": "string",
"description": "Location status, e.g. active."
},
"companyId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only locations of this company id.",
"exclusiveMinimum": 0
},
"updatedAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Updated after as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List locations",
"readOnlyHint": true
}
}List companies (customers, vendors, contractors) with city, state and status. ServiceTrade API: GET /company.
| Parameter | Type | Description |
|---|---|---|
| city | string | Filter by city. |
| name | string | Filter by company name. |
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| state | string | Filter by state. |
| status | string | Company status, e.g. active. |
| isCustomer | boolean | true = only customers. |
| updatedAfter | integer | Updated after as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_companies",
"title": "List companies",
"description": "List companies (customers, vendors, contractors) with city, state and status. ServiceTrade API: GET /company.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string",
"description": "Filter by city."
},
"name": {
"type": "string",
"description": "Filter by company name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"state": {
"type": "string",
"description": "Filter by state."
},
"status": {
"type": "string",
"description": "Company status, e.g. active."
},
"isCustomer": {
"type": "boolean",
"description": "true = only customers."
},
"updatedAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Updated after as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List companies",
"readOnlyHint": true
}
}List scheduled appointments (technician visits) with time window, job, location and assigned technicians. ServiceTrade API: GET /appointment.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| jobId | integer | Only appointments of this job id. |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Appointment status. |
| techIds | string | Technician user id or comma-separated ids. |
| locationId | integer | Only appointments at this location id. |
| windowBeginsAfter | integer | Window starts after as a Unix timestamp in seconds. |
| windowBeginsBefore | integer | Window starts before as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_appointments",
"title": "List appointments",
"description": "List scheduled appointments (technician visits) with time window, job, location and assigned technicians. ServiceTrade API: GET /appointment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"jobId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only appointments of this job id.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"type": "string",
"description": "Appointment status."
},
"techIds": {
"type": "string",
"description": "Technician user id or comma-separated ids."
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only appointments at this location id.",
"exclusiveMinimum": 0
},
"windowBeginsAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Window starts after as a Unix timestamp in seconds."
},
"windowBeginsBefore": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Window starts before as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List appointments",
"readOnlyHint": true
}
}List service requests (the work items to perform on a job, with description, service line and window). ServiceTrade API: GET /servicerequest.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| jobId | integer | Only requests of this job id. |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Service request status. |
| locationId | integer | Only requests at this location id. |
{
"name": "servicetrade_list_service_requests",
"title": "List service requests",
"description": "List service requests (the work items to perform on a job, with description, service line and window). ServiceTrade API: GET /servicerequest.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"jobId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only requests of this job id.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"type": "string",
"description": "Service request status."
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only requests at this location id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List service requests",
"readOnlyHint": true
}
}List deficiencies (problems found during inspections, such as fire or life-safety defects) with severity, status and asset. ServiceTrade API: GET /deficiency.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Status or comma-separated list: new, invalid, verified, fixed. |
| assetId | integer | Only deficiencies of this asset id. |
| severity | string | Severity filter, e.g. deficient, impairment, suggested. |
| companyId | integer | Only deficiencies of this company id. |
| locationId | integer | Only deficiencies at this location id. |
| createdAfter | integer | Created after as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_deficiencies",
"title": "List deficiencies",
"description": "List deficiencies (problems found during inspections, such as fire or life-safety defects) with severity, status and asset. ServiceTrade API: GET /deficiency.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"type": "string",
"description": "Status or comma-separated list: new, invalid, verified, fixed."
},
"assetId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only deficiencies of this asset id.",
"exclusiveMinimum": 0
},
"severity": {
"type": "string",
"description": "Severity filter, e.g. deficient, impairment, suggested."
},
"companyId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only deficiencies of this company id.",
"exclusiveMinimum": 0
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only deficiencies at this location id.",
"exclusiveMinimum": 0
},
"createdAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Created after as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List deficiencies",
"readOnlyHint": true
}
}List assets (equipment such as extinguishers, panels, pumps) at customer locations with type, status and name. ServiceTrade API: GET /asset.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by asset name. |
| page | integer | Page number (1-indexed, default 1). |
| type | string | Asset type. |
| jobId | integer | Only assets of this job id. |
| limit | integer | Results per page (default and maximum 2000). |
| search | string | Free-text search. |
| status | string | Asset status. |
| locationId | integer | Only assets at this location id. |
{
"name": "servicetrade_list_assets",
"title": "List assets",
"description": "List assets (equipment such as extinguishers, panels, pumps) at customer locations with type, status and name. ServiceTrade API: GET /asset.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Filter by asset name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"description": "Asset type."
},
"jobId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only assets of this job id.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"search": {
"type": "string",
"description": "Free-text search."
},
"status": {
"type": "string",
"description": "Asset status."
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only assets at this location id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List assets",
"readOnlyHint": true
}
}List quotes with status, customer, location, total and expiry. ServiceTrade API: GET /quote.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| sort | string | Sort field. |
| jobId | integer | Only quotes linked to this job id. |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Status or comma-separated list: accepted, canceled, draft, new, rejected, submitted, pending_sales_tax. |
| sortOrder | string | Sort direction. |
| customerId | integer | Only quotes for this customer company id. |
| locationId | integer | Only quotes at this location id. |
| createdAfter | integer | Created after as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_quotes",
"title": "List quotes",
"description": "List quotes with status, customer, location, total and expiry. ServiceTrade API: GET /quote.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"sort": {
"enum": [
"name",
"created",
"updated",
"status"
],
"type": "string",
"description": "Sort field."
},
"jobId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only quotes linked to this job id.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"type": "string",
"description": "Status or comma-separated list: accepted, canceled, draft, new, rejected, submitted, pending_sales_tax."
},
"sortOrder": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Sort direction."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only quotes for this customer company id.",
"exclusiveMinimum": 0
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only quotes at this location id.",
"exclusiveMinimum": 0
},
"createdAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Created after as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List quotes",
"readOnlyHint": true
}
}List invoices with status, customer, job, totals, due date and paid state. ServiceTrade API: GET /invoice.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| paid | boolean | true = only paid, false = only unpaid. |
| sort | string | Sort field. |
| jobId | integer | Only invoices of this job id. |
| limit | integer | Results per page (default and maximum 2000). |
| status | string | Invoice status. |
| sortOrder | string | Sort direction. |
| customerId | integer | Only invoices for this customer company id. |
| locationId | integer | Only invoices at this location id. |
| createdAfter | integer | Created after as a Unix timestamp in seconds. |
| transactionDateAfter | integer | Transaction date after as a Unix timestamp in seconds. |
List service contracts and agreements with customer, location, review date and active state. ServiceTrade API: GET /contract.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by contract name. |
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| active | boolean | true = only active contracts. |
| customerId | integer | Only contracts for this customer company id. |
| locationId | integer | Only contracts at this location id. |
{
"name": "servicetrade_list_contracts",
"title": "List contracts",
"description": "List service contracts and agreements with customer, location, review date and active state. ServiceTrade API: GET /contract.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Filter by contract name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"active": {
"type": "boolean",
"description": "true = only active contracts."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only contracts for this customer company id.",
"exclusiveMinimum": 0
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only contracts at this location id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List contracts",
"readOnlyHint": true
}
}List users (technicians, sales staff, office staff and customer contacts) with company and status. ServiceTrade API: GET /user.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by user name. |
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| isTech | boolean | true = only technicians. |
| search | string | Free-text search. |
| status | string | User status, e.g. active. |
| companyId | integer | Only users of this company id. |
{
"name": "servicetrade_list_users",
"title": "List users",
"description": "List users (technicians, sales staff, office staff and customer contacts) with company and status. ServiceTrade API: GET /user.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Filter by user name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"isTech": {
"type": "boolean",
"description": "true = only technicians."
},
"search": {
"type": "string",
"description": "Free-text search."
},
"status": {
"type": "string",
"description": "User status, e.g. active."
},
"companyId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only users of this company id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List users",
"readOnlyHint": true
}
}List comments on one record. Pass the entity type number and the record id (Asset 2, Job 3, Invoice 6, Quote 9, Deficiency 10, Location 11). ServiceTrade API: GET /comment.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed, default 1). |
| limit | integer | Results per page (default and maximum 2000). |
| entityId | integer | The id of the record. |
| entityType | integer | Entity type number: Asset 2, Job 3, Invoice 6, Quote 9, Deficiency 10, Location 11. |
| visibility | string | Visibility filter: public, schedule, tech or billing. |
| createdAfter | integer | Created after as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_comments",
"title": "List comments",
"description": "List comments on one record. Pass the entity type number and the record id (Asset 2, Job 3, Invoice 6, Quote 9, Deficiency 10, Location 11). ServiceTrade API: GET /comment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"entityId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The id of the record.",
"exclusiveMinimum": 0
},
"entityType": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Entity type number: Asset 2, Job 3, Invoice 6, Quote 9, Deficiency 10, Location 11.",
"exclusiveMinimum": 0
},
"visibility": {
"type": "string",
"description": "Visibility filter: public, schedule, tech or billing."
},
"createdAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Created after as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List comments",
"readOnlyHint": true
}
}Get one job by id with customer, location, owner, appointments summary, dates and price. ServiceTrade API: GET /job/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The job id. |
{
"name": "servicetrade_get_job",
"title": "Get a job",
"description": "Get one job by id with customer, location, owner, appointments summary, dates and price. ServiceTrade API: GET /job/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The job id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a job",
"readOnlyHint": true
}
}Get one customer location by id with address, contacts and status. ServiceTrade API: GET /location/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The location id. |
{
"name": "servicetrade_get_location",
"title": "Get a location",
"description": "Get one customer location by id with address, contacts and status. ServiceTrade API: GET /location/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The location id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a location",
"readOnlyHint": true
}
}Get one company by id. ServiceTrade API: GET /company/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The company id. |
{
"name": "servicetrade_get_company",
"title": "Get a company",
"description": "Get one company by id. ServiceTrade API: GET /company/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The company id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a company",
"readOnlyHint": true
}
}Get one appointment by id with window, technicians and job. ServiceTrade API: GET /appointment/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The appointment id. |
{
"name": "servicetrade_get_appointment",
"title": "Get an appointment",
"description": "Get one appointment by id with window, technicians and job. ServiceTrade API: GET /appointment/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The appointment id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get an appointment",
"readOnlyHint": true
}
}Get one deficiency by id with severity, status, asset and reporting job. ServiceTrade API: GET /deficiency/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The deficiency id. |
{
"name": "servicetrade_get_deficiency",
"title": "Get a deficiency",
"description": "Get one deficiency by id with severity, status, asset and reporting job. ServiceTrade API: GET /deficiency/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The deficiency id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a deficiency",
"readOnlyHint": true
}
}Get one asset by id with type, location and status. ServiceTrade API: GET /asset/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The asset id. |
{
"name": "servicetrade_get_asset",
"title": "Get an asset",
"description": "Get one asset by id with type, location and status. ServiceTrade API: GET /asset/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The asset id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get an asset",
"readOnlyHint": true
}
}Get one quote by id with status, line items and totals. ServiceTrade API: GET /quote/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The quote id. |
{
"name": "servicetrade_get_quote",
"title": "Get a quote",
"description": "Get one quote by id with status, line items and totals. ServiceTrade API: GET /quote/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The quote id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a quote",
"readOnlyHint": true
}
}Get one invoice by id with status, items and totals. ServiceTrade API: GET /invoice/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The invoice id. |
{
"name": "servicetrade_get_invoice",
"title": "Get an invoice",
"description": "Get one invoice by id with status, items and totals. ServiceTrade API: GET /invoice/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The invoice id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get an invoice",
"readOnlyHint": true
}
}Show which ServiceTrade account, company, user and timezone the connected credential belongs to. ServiceTrade API: GET /oauth2/userinfo.
No parameters.
{
"name": "servicetrade_whoami",
"title": "Show the connected credential",
"description": "Show which ServiceTrade account, company, user and timezone the connected credential belongs to. ServiceTrade API: GET /oauth2/userinfo.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Show the connected credential",
"readOnlyHint": true
}
}WRITE: add a new comment to a job, asset, invoice, quote, deficiency or location. Each call creates one more comment (not idempotent: do not retry blindly). ServiceTrade API: POST /comment.
| Parameter | Type | Description |
|---|---|---|
| content * | string | The comment text. |
| entityId * | integer | The record id. |
| entityType * | string | The kind of record to comment on. |
| visibility | array | Who can see it (default: ServiceTrade default). Assets accept only public and tech. |
{
"name": "servicetrade_add_comment",
"title": "Add a comment to a record",
"description": "WRITE: add a new comment to a job, asset, invoice, quote, deficiency or location. Each call creates one more comment (not idempotent: do not retry blindly). ServiceTrade API: POST /comment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entityType",
"entityId",
"content"
],
"properties": {
"content": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "The comment text."
},
"entityId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The record id.",
"exclusiveMinimum": 0
},
"entityType": {
"enum": [
"asset",
"job",
"invoice",
"quote",
"deficiency",
"location"
],
"type": "string",
"description": "The kind of record to comment on."
},
"visibility": {
"type": "array",
"items": {
"enum": [
"public",
"schedule",
"tech",
"billing"
],
"type": "string"
},
"description": "Who can see it (default: ServiceTrade default). Assets accept only public and tech."
}
}
},
"annotations": {
"title": "Add a comment to a record",
"destructiveHint": true
}
}Tools for ServiceTrade, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which jobs are overdue this week, and at which locations?"; "List the open deficiencies at our biggest customer's sites, worst severity first."; "Which invoices from the last 30 days are still unpaid?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes ServiceTrade data. Free plan: 50 tool calls per month. Run servicetrade_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run servicetrade_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run servicetrade_upgrade without a plan: it returns both plans, each with a payment link for the user to open. servicetrade_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| transactionDateBefore | integer | Transaction date before as a Unix timestamp in seconds. |
{
"name": "servicetrade_list_invoices",
"title": "List invoices",
"description": "List invoices with status, customer, job, totals, due date and paid state. ServiceTrade API: GET /invoice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number (1-indexed, default 1).",
"exclusiveMinimum": 0
},
"paid": {
"type": "boolean",
"description": "true = only paid, false = only unpaid."
},
"sort": {
"enum": [
"name",
"transactionDate",
"substatus"
],
"type": "string",
"description": "Sort field."
},
"jobId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only invoices of this job id.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 2000,
"description": "Results per page (default and maximum 2000).",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"ok",
"internal_review",
"pending_accounting",
"pending_sales_tax",
"processed",
"paid",
"sent",
"failed",
"void"
],
"type": "string",
"description": "Invoice status."
},
"sortOrder": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Sort direction."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only invoices for this customer company id.",
"exclusiveMinimum": 0
},
"locationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only invoices at this location id.",
"exclusiveMinimum": 0
},
"createdAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Created after as a Unix timestamp in seconds."
},
"transactionDateAfter": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Transaction date after as a Unix timestamp in seconds."
},
"transactionDateBefore": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Transaction date before as a Unix timestamp in seconds."
}
}
},
"annotations": {
"title": "List invoices",
"readOnlyHint": true
}
}