Skip to main content
Glama

Vote on a Proposal

vote_proposal
Idempotent

Vote on a proposal (one vote per operator, weighted by job reputation; zero-reputation votes count 0).

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Haven API key (optional if sent as Authorization: Bearer or HAVEN_API_KEY env)
directionNo
proposal_idYespr_...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare it is non-read-only, idempotent, non-destructive, and closed-world. The description adds important behavior beyond that: one vote per operator, reputation-weighted voting, and zero-reputation votes counting as zero. It still does not clarify what happens on a repeat vote or whether direction can be changed.

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?

It is a single, front-loaded sentence with no filler. The parenthetical efficiently packages the voting mechanics without wasting space.

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 voting mutation with no output schema, the description covers the key constraint of one vote per operator and the reputation-weighting rule. Annotations cover safety and idempotency, and the schema covers required parameters, leaving only minor gaps around repeat-vote behavior and result expectations.

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 moderate at 67%, with api_key and proposal_id partially documented and direction represented only by an up/down enum. The description adds no parameter-level meaning, so the schema carries most of the burden.

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 gives a specific verb and resource: 'Vote on a proposal.' That clearly distinguishes it from siblings like list_proposals, propose_improvement, and vote_lesson. It does not explicitly name alternatives, so it falls short of a 5.

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

Usage Guidelines2/5

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

The description says what the tool does but offers no when-to-use guidance, no exclusions, and no named alternatives. An agent must infer that this is the tool for casting a vote on an existing proposal.

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.