Skip to main content
Glama

Close a poll

close_poll
DestructiveIdempotent

Stop voting on a poll this chat made (it needs the manage key) and get the final results. Only when the person asks: it can only be reopened from the manage link.

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": {
      "poll": "<poll>",
      "manageKey": "<manageKey>"
    },
    "name": "close_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
pollYesThe poll's link (https://usepickly.com/p/…) or its id.
manageKeyYesThe manage key create_poll returned for this poll.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the irreversibility profile is structurally given. The description does add real value by stating the manage-key requirement and that reopening is only possible from the manage link, but it says nothing about failure modes (bad key, already closed) or what 'final results' contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action and its result front-loaded, followed by the usage caveat. The phrase 'Only when the person asks' is slightly clipped but costs little space and carries the key guidance.

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 two-parameter mutation with no output schema, the definition covers purpose, auth requirement and irreversibility, which is close to sufficient. It does not describe what is returned in the 'final results' or what happens if the poll is already closed, leaving a small but real gap for an irreversible operation.

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 (poll link-or-id, manageKey) are fully documented in the schema. The description only echoes the manage-key requirement without adding format or validation 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

'Stop voting on a poll this chat made ... and get the final results' gives a concrete verb and resource, and the parenthetical scoping ('this chat made') narrows it. It does not explicitly distinguish itself from the sibling get_results, which also returns results, so an agent must infer the difference from 'stop voting'.

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?

'Only when the person asks' is an explicit usage constraint rather than a vague hint. The description lacks a direct pointer to alternatives (e.g. use get_results to read results without closing), so it stops short of full sibling routing.

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