Skip to main content
Glama

judge_contradiction

Record a verdict on two documents: mark them as conflicting or as a false positive, bound to the cited lines so only edits there resurface the pair.

Instructions

Record your verdict on a candidate pair, after reading both docs: 'real' (they conflict) or 'none' (a false positive, which stops it resurfacing). Pass a_line/b_line, the conflicting lines, to bind the verdict to them: only a change there resurfaces the pair. a == b is allowed for a conflict within one doc, with distinct lines. 'One doc is outdated' is not a verdict here: that is stale's job. It takes edit rights on both docs.

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": {
      "a": "<a>",
      "b": "<b>",
      "verdict": "<verdict>",
      "ai": "<ai>"
    },
    "name": "judge_contradiction"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesThe first doc of the pair.
bYesThe second.
aiYesYour AI family in lowercase (claude, chatgpt, gemini), not the model name. Attributes the verdict.
noteNoA one-line rationale, stored with the verdict.
a_lineNoThe claim's line in a, 1-based (recommended).
b_lineNoThe same in b.
verdictYesreal: they conflict; none: they don't.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.0

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare openWorldHint=false and destructiveHint=false, but the description adds substantive behavior: a 'none' verdict suppresses the pair from resurfacing, binding a_line/b_line means only a change at those lines resurfaces it, and the tool requires edit rights on both docs. That permission requirement and the resurfacing lifecycle are exactly the kind of context annotations cannot convey.

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?

Front-loaded with the action, then the verdict meanings, then the parameter binding, then the exclusion — a logical order with no filler sentences. It is dense (colon-and-clause stacking) and slightly harder to scan than a plainer phrasing, but no sentence is wasted.

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 7-parameter mutation with no output schema, the description covers the decision logic, the suppression consequence, the permission requirement, and the key parameter semantics. Only the success/return behavior and the role of `note` are left implicit, and the note is fully covered by the schema.

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?

Schema coverage is 100%, so the baseline is 3, and the description genuinely adds meaning on top: it explains what a_line/b_line accomplish (binding the verdict so only a change there resurfaces the pair) and clarifies the enum semantics and the a == b case. It does not explain `ai` or `note`, but those are already well documented in the schema.

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 ('Record your verdict on a candidate pair'), names the two verdict values and what each means, and explicitly rules out a competing purpose ('One doc is outdated' ... that is stale's job). An agent can distinguish this from the sibling `stale` and `contradictions` tools without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit precondition ('after reading both docs'), the decision rule for choosing 'real' vs 'none', the edge case (a == b for a same-doc conflict with distinct lines), and a named exclusion with the alternative to use instead. Little is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.