Skip to main content
Glama
benpalmer1

Gorgias MCP Server

by benpalmer1

List Custom Fields

gorgias_list_custom_fields
Read-only

Retrieve a paginated list of custom fields for tickets or customers. Filter by name, archived status, and sort order.

Instructions

GET /api/custom-fields — Returns a cursor-paginated list of custom fields. Requires object_type to specify which entity's fields to list. Supports filtering by name search and archived status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of custom fields to return per page (1-100, default 30)
cursorNoCursor token for pagination. Use next_cursor or prev_cursor from a previous response.
searchNoFilter custom fields by name (substring match).
archivedNoIf true, return only archived custom fields. If false or omitted, return active fields.
order_byNoSort order. Default: 'priority:desc'.
object_typeYesType of entity to list custom fields for: 'Ticket' or 'Customer'
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds useful behavioral context: cursor-paginated results, the need for object_type, and support for name/archived filtering. This goes beyond the static annotation without contradicting it.

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 extremely concise, front-loading the endpoint and action in the first sentence, then adding pagination/requirement and filtering details in two more sentences. There is no redundancy or filler.

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

Completeness4/5

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

Given the schema coverage (100%) and read-only annotation, the description adequately covers purpose, pagination, entity requirement, and filtering. It does not describe return shape or explicit alternative exclusions, but these are partially addressed by the schema and sibling context, making it complete enough for selection and invocation.

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 has 100% coverage with detailed descriptions for all six parameters, including enums, defaults, and constraints. The description merely echoes the object_type requirement and filter capabilities, adding no new semantic detail beyond the schema.

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 'Returns a cursor-paginated list of custom fields' with an explicit HTTP method and the required object_type scoping. It distinguishes the tool from sibling create/update/get custom field operations by specifying the listing behavior and entity scoping.

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

Usage Guidelines3/5

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

The description implies usage: list custom fields for a specific entity with optional filters. However, it does not explicitly mention when to prefer this over alternatives like gorgias_list_ticket_fields or gorgias_get_custom_field, nor does it state any exclusions.

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