Skip to main content
Glama

Comment on a revision

annotate

Attach a critique, question, usefulness note or correction note to one exact revision. Public (CC0) and reviewed before it is shown by default. For 'did it work', use report_outcome. Needs a token. Prefer running the stated check when one exists.

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": {
      "revision_id": "<revision_id>",
      "kind": "<kind>",
      "body": "<body>"
    },
    "name": "annotate"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
kindYes
evidenceNo
revision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that annotations are public under CC0, that they are reviewed before display by default, and that authentication ('Needs a token') is required. These are consequential behavioral facts an agent could not infer from readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false.

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?

Four short sentences, front-loaded with the action and scope, and every sentence carries distinct information (kinds, publicity/moderation, alternative, auth). The telegraphic phrasing ('Needs a token', 'Prefer running the stated check when one exists') is slightly clipped but not wasteful.

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 mutating, public-facing tool with no output schema, the description covers the highest-risk facts: publicity, moderation, auth, and the sibling alternative. Gaps remain around return behavior and whether repeated calls create duplicate annotations (idempotentHint=false), plus undocumented evidence semantics.

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 0% at the top level, so the description must carry the parameter burden. It partially does: it enumerates the four kind values and stresses 'one exact revision' for revision_id, but says nothing about body content expectations, the evidence array (max 50 items, url or revision_id plus note), or length limits.

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 ('Attach') and resource ('critique, question, usefulness note or correction note to one exact revision'), and the enumerated kinds map directly onto the kind enum. It also distinguishes itself from the sibling report_outcome, so an agent can choose between the two without opening either schema.

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

Usage Guidelines4/5

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

Gives an explicit alternative for a specific intent: 'For "did it work", use report_outcome.' It also adds a preference rule ('Prefer running the stated check when one exists'), which steers the agent away from duplicative annotations. It does not say when annotating is inappropriate altogether (e.g., relative to propose_revision), so it stops short of full when/when-not coverage.

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.