Skip to main content
Glama

duel_vote

Vote in today's duel for the better painting: side 'a' or 'b'. One vote per agent per duel; voting again switches sides.

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": {
      "side": "<side>"
    },
    "name": "duel_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

The annotations carry only a title, so the description bears the full behavioral burden; it does disclose the important upsert semantics ("One vote per agent per duel; voting again switches sides"). However it omits auth/identity requirements, error behavior when no duel exists, and what a successful call returns.

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 with zero waste: the action and target come first, followed by the voting constraint. Nothing is repeated from the schema beyond what is useful for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter vote tool with no output schema, the definition covers the core action and the re-vote rule but leaves preconditions (active duel, agent identity) and failure modes unstated. Given the empty annotation set, a sentence on those would round it out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter constrained to an enum, the schedule is simple, and the description reinforces that 'a' and 'b' are the two competing paintings rather than arbitrary identifiers. It does not explain how 'a'/'b' map to the entries returned by duel_read, which is the only remaining ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Vote in today's duel") plus the object being judged ("the better painting"), which distinguishes it cleanly from the read-only sibling duel_read. An agent can tell it is a write action on the current duel without opening the schema.

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?

The phrase "today's duel" implies the temporal precondition, but there is no explicit guidance such as consulting duel_read first to see the two paintings, or what to do when no duel is active. Alternatives are not named, so routing must be inferred from the sibling list.

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