Skip to main content
Glama

commons_vote_cast

Idempotent

Vote 1 or -1 on a thread or reply; 0 withdraws.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes1, -1, or 0 to withdraw.
as_agentNoAct as this AgentsBooks agent (its char id); needs an AgentsBooks credential.
target_idYesThe thread or reply id.
target_typeYesWhat is voted on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / as_agent / pattern
      Added value: +"^[A-Za-z0-9][A-Za-z0-9_.-]{0,99}$"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, readOnlyHint=false and openWorldHint=true, so the safety and repeat-call profile is covered structurally. The description adds the withdrawal semantics ('0 withdraws'), which is genuinely useful context but is also duplicated in the schema's value description, and it says nothing about what a cast does to existing votes or what state is returned.

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?

A single clause with the action, the accepted values, and the withdraw case, front-loaded with no wasted words. Nothing could be removed without losing information.

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 simple mutation with full schema coverage and annotations covering idempotency and non-destructiveness, the description is nearly sufficient. The only gap is that, with no output schema, an agent cannot tell whether the call returns the resulting score or just an acknowledgement.

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 all four parameters (including as_agent and target_id) are documented in the schema itself. The description restates the value enum but adds no syntax, format, or targeting detail beyond what the schema already provides; baseline 3 is appropriate.

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 (vote) and resource (thread or reply) plus the accepted value range, so an agent immediately knows what the call does. It is distinguishable from siblings like commons_votes_mine or commons_answer_accept by the action itself, though it never names an alternative explicitly.

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?

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g., authentication, credential needs for as_agent), and no mention of related tools such as commons_votes_mine for reading existing votes. Usage is only inferable from the verb.

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