Skip to main content
Glama

update_survey

Destructive

Update a survey's title, questions, settings, styles, screens, or logic. Providing questions replaces all existing questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoNew title
stylesNoPartial styling update. Only provided fields are changed.
settingsNo
questionsNoReplacement questions array (replaces all questions)
survey_idYesThe survey ID
variablesNoReplace all variables.
hidden_fieldsNoReplace all hidden fields.
ending_screensNoReplace all ending screens.
welcome_screenNoReplace welcome screen (set null to remove).

TDQS

A4.1/5.0
Behavior4/5

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

The description explicitly warns that 'Providing questions replaces all existing questions,' adding concrete destructive behavior beyond the destructiveHint=true annotation. It does not mention that other array fields (variables, hidden_fields, ending_screens) also replace all, but the annotation already signals destructiveness and the schema provides those details.

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 only two sentences, front-loaded with the action and resource, and includes a critical caveat without wasted words. Every clause earns its place.

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

Completeness3/5

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

For a complex tool with 9 parameters and deeply nested objects, the description is quite brief and slightly imprecise: 'logic' is not a top-level parameter, and it omits 'variables' and 'hidden_fields' from the list of updatable sections. The rich schema and destructive annotation compensate partially, but the concise description alone is not fully complete for such a complex tool.

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 high (89%), so the baseline is 3. The description's list of updatable fields is a useful summary, and the question-replacement caveat is valuable but already present in the schema's questions parameter description. It does not add meaning beyond what the schema provides.

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 uses a specific verb ('Update') and clearly identifies the resource ('a survey') while enumerating the updatable aspects: title, questions, settings, styles, screens, or logic. This distinguishes it from sibling tools like create_survey, delete_survey, and duplicate_survey.

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

Usage Guidelines4/5

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

The phrase 'Update a survey's' clearly implies the tool is for modifying an existing survey, which distinguishes it from create/delete siblings. It does not explicitly state when not to use it or mention alternatives, but the usage context is unambiguous enough for an agent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: surveys, responses, webhooks, analytics, and media library. Verbs like create, get, update, delete, list, and submit are applied clearly. No two tools have overlapping purposes.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern (e.g., create_survey, list_responses, update_webhook). Naming is uniform and predictable, with no mixed conventions or vague verbs.

Tool Count5/5

15 tools is well-scoped for a survey platform, covering surveys, responses, webhooks, analytics, and media. Each tool serves a unique purpose, and the count is within the ideal 3-15 range, not feeling bloated or thin.

Completeness4/5

The tool surface covers full CRUD for surveys and webhooks, response submission and retrieval, analytics, and media listing. Minor gaps exist (no media upload, no response delete), but core workflows are complete and agents can achieve common tasks without dead ends.

Resources