Skip to main content
Glama
benpalmer1

Gorgias MCP Server

by benpalmer1

List Tickets

gorgias_list_tickets
Read-only

Retrieve a paginated list of tickets filtered by customer, external ID, view, rule, or ticket IDs. Supports cursor-based pagination to navigate through results.

Instructions

GET /api/tickets — Returns a paginated list of raw ticket data. For intelligent search with auto-detection of emails, names, views, and keywords, use gorgias_smart_search instead. Supports filtering by customer, external ID, view, rule, specific ticket IDs, and whether to include trashed tickets. Uses cursor-based pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of tickets to return per page (default: 30, max: 100)
cursorNoPagination cursor from a previous response to retrieve the next or previous page
rule_idNoID of a rule — returns tickets matching the filters of that rule
trashedNoWhether to include trashed tickets in the response. Per the Gorgias API spec, the default is true (trashed tickets ARE included by default). Pass false to exclude them.
view_idNoID of a view — returns tickets matching the filters of that view
order_byNoAttribute used to order tickets. Default: 'created_datetime:desc'
ticket_idsNoArray of specific ticket IDs to retrieve (max 100)
customer_idNoID of a customer — returns only that customer's tickets
external_idNoID of the ticket in a foreign system — returns tickets matching this external ID
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is known. The description adds behavioral context by noting the tool returns 'raw ticket data' and uses 'cursor-based pagination,' which helps the agent understand the output and pagination behavior beyond the basic read-only hint. It does not disclose rate limits or error cases, but given the annotation coverage, the added context is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences with no filler. It front-loads the endpoint and core purpose, then immediately gives the alternative for intelligent search, followed by a concise list of filters and pagination. Every sentence earns its place, making it both efficient and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even without an output schema, the description thoroughly conveys the tool's role, capabilities, and relationship to a sibling tool. It mentions the endpoint, pagination, filtering options, and trashed-ticket behavior, which is complete for a list-like operation. The agent can confidently decide when and how to invoke this tool based on the description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides 100% coverage of all 9 parameters with descriptions, so the description does not need to add new syntax details. It does summarize the key filtering categories (customer, external ID, view, rule, ticket IDs, trashed), which helps the agent quickly grasp capabilities, but this is a recap rather than new semantic meaning. Thus, the schema remains the primary source of parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns a paginated list of raw ticket data via a GET request, making the purpose specific and actionable. It also distinguishes itself from the sibling tool gorgias_smart_search by explicitly naming that alternative for intelligent search, which eliminates ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an explicit when-not-to-use directive: 'For intelligent search with auto-detection of emails, names, views, and keywords, use gorgias_smart_search instead.' This clearly guides the agent away from this tool for intelligent search and implies it is the right choice for raw, filterable ticket lists, covering both selection and exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/benpalmer1/Gorgias-MCP-Server'

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