Skip to main content
Glama

Close Survey

close_survey
Destructive

Close a published survey for the provided event so no new responses can be submitted. Use reopen_survey to allow responses again.

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent UUID returned by search_events.
survey_idYesUUID of the published survey to close.

Output Schema

NameRequiredDescriptionDefault
hintYes
surveyYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false. The description adds real value beyond them by stating the operational meaning (no new responses accepted) and pointing at the undo path, though it does not clarify whether existing responses are preserved or whether a second call errors despite idempotentHint=false.

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, zero filler, with the effect statement front-loaded ahead of the recovery pointer. Nothing could be removed without losing information.

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?

Output schema exists so return values need no explanation, and the two required params are fully covered by the schema. For a destructive state-change tool, the description could still say what state the survey lands in and whether existing responses survive, which keeps it from a 5.

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 coverage is 100%, so both parameters are fully documented in the schema. The description only lightly adds meaning ('published survey' implies a state constraint on survey_id), which is enough for the baseline 3 but nothing more.

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?

Names a specific verb+resource (close a published survey), scopes it to an event, and states the concrete effect: no new responses can be submitted. It also names the inverse sibling reopen_survey, distinguishing it from publish_survey/delete_survey in the sibling list.

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?

Explicitly routes the agent to reopen_survey for the reverse operation, which gives a clear when-to-use-this-instead signal. It lacks any precondition guidance (e.g. what happens if the survey is not published or already closed), so it falls short of a full 5.

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.

Resources