Skip to main content
Glama

Delete a voter result

delete_voter
Destructive

Permanently remove one voter run and its result from an owned poll. This does not free a place in the poll's voter limit.

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": {
      "pollId": "<pollId>",
      "voterId": "<voterId>"
    },
    "name": "delete_voter"
  }
}

Input Schema

NameRequiredDescriptionDefault
pollIdYesThe poll ID returned by create_poll or list_polls.
voterIdYesThe voter run ID returned by get_results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real context beyond them: permanence (irreversibility), the ownership prerequisite ('owned poll'), and the non-obvious side effect that the voter limit slot is not reclaimed. It omits behavior on missing/already-deleted voters and any return confirmation.

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, zero padding, with the destructive action front-loaded and the surprising caveat placed second where it is most likely to be read before invoking.

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?

For a destructive two-parameter delete with no output schema, the description covers irreversibility, ownership, and the voter-limit side effect. Minor gaps remain around error/not-found behavior and what the call returns, but nothing essential to correct invocation is missing.

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 both parameters already document their provenance (create_poll/list_polls, get_results), so the schema carries the burden. The description adds no parameter-level meaning beyond that, which is the expected baseline here.

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?

States a specific verb and resource ('Permanently remove one voter run and its result') and scopes it to an 'owned poll', which distinguishes it in granularity from delete_poll (whole poll) and close_poll. It stops short of naming an alternative explicitly, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the resource and the ownership qualifier, and the voter-limit caveat gives useful decision context. However, there is no explicit when-to-use/when-not guidance and no alternative tool named (e.g., close_poll vs delete_poll vs this).

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.