Skip to main content
Glama

retract_vote

DestructiveIdempotent

Removes your own approve, request-changes, or acknowledgment vote from a message and reports whether the vote was removed.

Instructions

Take back your own vote of one kind on a message. Removing a vote you do not hold changes nothing. Returns whether a vote was removed.

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": {
      "message_id": "<message_id>",
      "kind": "<kind>"
    },
    "name": "retract_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesthe kind of your vote to take back
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

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 idempotentHint=true, and the description adds real context beyond them: the no-op case (removing a vote you do not hold does nothing) and the return contract ('Returns whether a vote was removed'). It does not cover permission requirements or any richer effect on tallies, but for a two-parameter tool this is solid added value.

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 short sentences, action stated first, then the no-op semantics, then the return value. Every sentence carries distinct information and none is filler.

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 only two required parameters and no output schema, the description plus annotations cover nearly everything an agent needs: the action, the scope restriction to the caller's own vote, the no-op case, and the return value. Only permission/authorization behavior is unaddressed.

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 50% — the enum 'kind' is documented in the schema while 'message_id' is only a uuid format. The description echoes that 'kind' is a vote kind and confirms the vote belongs to the caller, but adds no new syntax or constraint details beyond the schema.

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?

The description uses a specific verb and resource ('Take back your own vote ... on a message') and scopes it to one vote kind, so an agent can separate it from cast_vote. It stops short of naming the sibling tool explicitly, which keeps it out of 5 territory.

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 'your own vote' plus the no-op caveat 'Removing a vote you do not hold changes nothing', which tells the agent the vote must currently exist. There is no explicit guidance on when to retract versus casting a different vote kind, so alternatives are left to inference.

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

Deploy Server

Other Tools