Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Nunify. If you published it, claim ownership there.

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_id": "<event_id>",
      "survey_id": "<survey_id>"
    },
    "name": "close_survey"
  }
}

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/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description contributes a useful behavioral detail — that submissions are blocked rather than data deleted — and hints at reversibility via reopen_survey, but it never says whether existing responses are retained or what happens if the survey is already closed (relevant given 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 short sentences with zero filler: the action and its effect come first, and the alternative-tool sentence follows. Every clause earns its place.

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 an output schema present and annotations covering the safety profile, the description needn't explain returns. What an agent can call it correctly is present, though a note on already-closed surveys or on whether collected responses survive would close the last gap.

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% with two required params, so the schema already documents event_id and survey_id, including where the event UUID comes from. The description only adds the implicit constraint that the survey must be published; it adds no format or sourcing detail beyond the schema, so baseline 3 applies.

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 verb and resource (close a published survey), names the scope (for the provided event), and states the observable effect (no new responses can be submitted). An agent can tell this apart from reopen_survey and from destructive siblings like delete_survey without opening the schema.

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 effect clause implies the condition for use (you want submissions stopped), and the description explicitly routes to reopen_survey for the inverse operation. It does not, however, distinguish this from delete_survey or close_poll/close_custom_form, so an agent gets clear context but no exclusions.

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