Skip to main content
Glama

ServiceTitan MCP Server

returns_getlist

Retrieve filtered lists of returns from ServiceTitan by specifying criteria like date ranges, IDs, business units, or custom fields for streamlined return management.

Input Schema

NameRequiredDescriptionDefault
activeNoWhat kind of items should be returned (only active items will be returned by default) Values: [True, Any, False]
batchIdNoFormat - int64. Batch filter
businessUnitIdsNoFilter by a collection of business units
createdBeforeNoFormat - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)
createdOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)
customFields.FieldsNoCollection of custom field pairs (name, value) to filter by
customFields.OperatorNoCan be "Or" or "And" Values: [And, Or]
externalDataApplicationGuidNoFormat - guid. If this guid is provided, external data corresponding to this application guid will be returned.
externalDataKeyNoPerforms lookup by external data key, 'externalDataValues' must also be provided.
externalDataValuesNoPerforms lookup by external data values (maximum 50), 'externalDataKey' must also be provided.
idsNoPerform lookup by multiple IDs (maximum 50)
includeTotalNoWhether total count should be returned
inventoryLocationIdsNoFilter by a collection of inventory locations
jobIdNoFormat - int64. Job filter
modifiedBeforeNoFormat - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)
modifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)
numberNoNumber filter
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
purchaseOrderIdNoFormat - int64. Purchase order filter
referenceNumberNoReference number filter
returnDateBeforeNoFormat - date-time (as date-time in RFC3339). Filters by returns with return date before certain date/time
returnDateOnOrAfterNoFormat - date-time (as date-time in RFC3339). Filters by returns with return date on or after certain date/time
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, ModifiedOn, CreatedOn.
syncStatusesNoFilter by a collection of sync statuses
tenantYesFormat - int64. Tenant ID
vendorIdsNoFilter by a collection of vendors

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "active": { "description": "What kind of items should be returned (only active items will be returned by default)\nValues: [True, Any, False]", "type": [ "string", "null" ] }, "batchId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Batch filter" }, "businessUnitIds": { "description": "Filter by a collection of business units", "type": [ "string", "null" ] }, "createdBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)", "type": [ "string", "null" ] }, "createdOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)", "type": [ "string", "null" ] }, "customFields.Fields": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "description": "Collection of custom field pairs (name, value) to filter by" }, "customFields.Operator": { "description": "Can be \"Or\" or \"And\"\nValues: [And, Or]", "type": [ "string", "null" ] }, "externalDataApplicationGuid": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Format - guid. If this guid is provided, external data corresponding to\nthis application guid will be returned." }, "externalDataKey": { "description": "Performs lookup by external data key, 'externalDataValues' must also be provided.", "type": [ "string", "null" ] }, "externalDataValues": { "description": "Performs lookup by external data values (maximum 50), 'externalDataKey' must also be provided.", "type": [ "string", "null" ] }, "ids": { "description": "Perform lookup by multiple IDs (maximum 50)", "type": [ "string", "null" ] }, "includeTotal": { "description": "Whether total count should be returned", "type": [ "boolean", "null" ] }, "inventoryLocationIds": { "description": "Filter by a collection of inventory locations", "type": [ "string", "null" ] }, "jobId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Job filter" }, "modifiedBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)", "type": [ "string", "null" ] }, "modifiedOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)", "type": [ "string", "null" ] }, "number": { "description": "Number filter", "type": [ "string", "null" ] }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. The logical number of page to return, starting from 1" }, "pageSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. How many records to return (50 by default)" }, "purchaseOrderId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int64. Purchase order filter" }, "referenceNumber": { "description": "Reference number filter", "type": [ "string", "null" ] }, "returnDateBefore": { "description": "Format - date-time (as date-time in RFC3339). Filters by returns with return date before certain date/time", "type": [ "string", "null" ] }, "returnDateOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Filters by returns with return date on or after certain date/time", "type": [ "string", "null" ] }, "sort": { "description": "Applies sorting by the specified field:\n\"?sort=+FieldName\" for ascending order,\n\"?sort=-FieldName\" for descending order.\n\nAvailable fields are: Id, ModifiedOn, CreatedOn.", "type": [ "string", "null" ] }, "syncStatuses": { "description": "Filter by a collection of sync statuses", "type": [ "string", "null" ] }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" }, "vendorIds": { "description": "Filter by a collection of vendors", "type": [ "string", "null" ] } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JordanDalton/ServiceTitanMcpServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server