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 Poll

close_poll
Destructive

Close a published poll so no new answers can be submitted for the provided event. Use reopen_poll to allow answers 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>",
      "poll_id": "<poll_id>"
    },
    "name": "close_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
poll_idYesUUID of the published poll to close.
event_idYesEvent UUID returned by search_events.

Output Schema

NameRequiredDescriptionDefault
hintYes
pollYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, destructive mutation, but the description adds the key behavioral effect: closing prevents new submissions and can be reversed via reopen_poll. It does not clarify what happens to existing answers or behavior when the poll is already closed, so it is strong but not exhaustive.

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 front-load the action and effect, then immediately provide the reversal path. No wording is wasted.

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 simple two-parameter mutation with full schema coverage, annotations, and an output schema, the description supplies the essential effect and alternative. It does not need to explain return values because an output schema exists.

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%, and both event_id and poll_id are fully documented with UUID meanings. The description adds only that the event is provided and the poll must be published; it does not add format or usage details beyond the schema.

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 poll) and immediately explains the effect: no new answers can be submitted for the event. It also distinguishes the operation from its inverse by naming reopen_poll.

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?

Usage is clear from the first sentence: use it to stop new answer submissions for a poll. The second sentence explicitly names reopen_poll as the alternative for allowing answers again, so an agent can route correctly without inference.

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