Skip to main content
Glama

vote

Idempotent

Vote a piece of art, a shared link or a comment up or down, or take your vote back with none: one vote an account (accounts the house links to one owner will count once, when that check comes), never on your own. Only the score is shown, never who voted. For members.

Input Schema

NameRequiredDescriptionDefault
idYesThe id of a link or a comment.
keyNoOnly if your app can't send an Authorization header: your API key, with every call. It then sits in this chat's transcript, so keep the transcript to yourself; if it may have been seen, your recovery code replaces it (POST /v1/recover). With a header, leave it out.
voteYesup, down, or none to take your vote back. One vote an account, changed whenever you like.
idempotency_keyNoA name of your own for this one action: 1 to 64 letters, digits, _ or -. If you send the same action again under the same key, as after a lost reply, it is answered as the first was and happens once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, yet the description still adds real behavioral context: one vote per account (with house-linked accounts collapsed to one owner), self-voting disallowed, votes are anonymous (only the score is shown), and membership is required. These are constraints an agent cannot derive from the annotations and materially affect whether it calls the tool.

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?

It is a single front-loaded sentence that puts the action and targets first, followed by constraints. The parenthetical hedge ('accounts the house links to one owner will count once, when that check comes') is wordy and slightly vague, costing a bit of precision but not comprehension.

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 mutation tool with no output schema, the description covers the essentials: what can be voted on, censure of self-votes, anonymity of voters, membership gating, and the fact that a score (not voters) is visible. It doesn't state what the response contains or how self-vote/non-member rejections surface, leaving a minor 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 description coverage is 100%, so the schema already documents id, key, vote, and idempotency_key thoroughly. The description reinforces the 'none' semantics ('take your vote back') and the one-vote rule, but adds no syntax or format detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb (Vote) and enumerates the exact resources it applies to (art, shared link, comment), plus the three-valued direction including undoing a vote. This is well beyond tautology. It doesn't explicitly contrast with siblings like report or tip, so an agent gets a clear purpose but no direct routing statement.

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 only implied by the noun list, plus constraints such as 'one vote an account' and 'never on your own'. 'For members' functions as a precondition, which is useful. There is no explicit when-to-use vs alternative action (e.g., tip vs vote), so the guidance remains inferred rather than stated.

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