Skip to main content
Glama
benpalmer1

Gorgias MCP Server

by benpalmer1

Update Satisfaction Survey

gorgias_update_satisfaction_survey
Idempotent

Update an existing satisfaction survey by ID, replacing its data while preserving customer and ticket links. Read the survey first to get necessary IDs.

Instructions

PUT /api/satisfaction-surveys/{id} — Update an existing satisfaction survey by ID. This is a full-replacement PUT: customer_id and ticket_id must be re-sent to preserve the survey's linkage. Read the survey first via gorgias_get_satisfaction_survey to obtain the IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe unique ID of the satisfaction survey to update
metaNoCustom key-value data for the survey. Set to null to clear
scoreNoSatisfaction score, integer 1-5 (1 = worst, 5 = best). The Gorgias API accepts any integer in the inclusive range.
body_textNoThe comment sent by the customer (max 1000 characters). Set to null to clear
ticket_idYesThe ID of the ticket the survey is associated with. Required: PUT is a full-replacement operation.
customer_idYesThe ID of the customer who filled the survey. Required: PUT is a full-replacement operation.
sent_datetimeNoISO 8601 datetime when the survey was sent. Set to null to clear
scored_datetimeNoISO 8601 datetime when the survey was filled by the customer. Set to null to clear
created_datetimeNoISO 8601 datetime the survey was created. Include to preserve the original creation timestamp through a full-replacement PUT.
should_send_datetimeNoISO 8601 datetime when the survey should be sent. Set to null to prevent Gorgias from automatically sending it
Behavior5/5

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

Annotations indicate a non-read-only, idempotent operation, but the description adds crucial behavioral detail: the PUT is a full-replacement, so customer_id and ticket_id must be re-sent to preserve linkage. This goes beyond the annotations by revealing the destructive nature of omitting fields.

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?

Two sentences: the first states the endpoint and purpose; the second gives the critical caveat and prerequisite tool reference. No fluff, well front-loaded, and structurally clear.

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?

With a 10-parameter schema fully described and annotations covering idempotency and openness, the description provides the essential full-replacement warning and the read-first step. However, it doesn't mention the response format or error cases, which would be helpful but isn't strictly required given the rich schema.

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?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description reinforces the importance of customer_id and ticket_id but doesn't add meaning beyond what the schema states (e.g., 'Required: PUT is a full-replacement operation').

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 the action ('Update an existing satisfaction survey by ID') and specifies the resource and ID parameter. It distinguishes from siblings by referencing the PUT method and full-replacement semantics, making it unambiguous against create/get/list survey tools.

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 explicitly instructs to 'Read the survey first via gorgias_get_satisfaction_survey to obtain the IDs,' naming the alternative tool to use beforehand. It also explains the full-replacement requirement, giving clear context for when this update should be performed.

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