Skip to main content
Glama
riftsto

rifts.to MCP server

Official
by riftsto

Close a survey

close_survey
DestructiveIdempotent

Stop a survey from receiving new responses. The public link stays active and displays the survey as closed, while results remain available for viewing.

Instructions

Stop a survey from accepting new responses. The public link keeps working and shows the survey as closed, and the results stay readable with get_survey_results. reopen_survey undoes it, unless the survey has passed its expiry date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe survey id, e.g. 'fuzzy-sleepy-tornado'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior5/5

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

The description adds significant behavioral context beyond the annotations: the public link remains functional and shows the survey as closed, results remain readable via get_survey_results, and reopen_survey can undo the action unless the expiry date has passed. This clarifies the meaning of destructiveHint by showing exactly what is and isn't affected.

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?

Three tightly written sentences carry all the essential information: the main action, the side effects on the public link and results, and the undo path with an important caveat. There is no redundancy or filler.

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?

For a single-parameter mutation tool with no output schema, the description covers everything an agent needs: what changes, what remains unchanged, how to read results afterward, and how to undo the action. The expiry caveat is especially valuable because it defines the limits of reversibility.

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%, and the single id parameter is already fully documented with type, minLength, and an example. The tool description itself adds no extra parameter semantics, so the baseline score of 3 is appropriate.

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 states a specific action ('Stop a survey from accepting new responses') and clearly identifies the resource. It also distinguishes itself from siblings by mentioning reopen_survey as the undo operation and get_survey_results as the continuing read path.

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?

It clearly establishes when to use the tool: when the survey should no longer accept responses. It also gives useful context about the public link continuing to work and explicitly names reopen_survey as the reversal path, including the expiry exception. It does not explicitly discuss when not to use it relative to archive_survey, but the intended use is unambiguous.

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