Skip to main content
Glama

contradictions

Read-only

Surface document pairs on the same subject that may conflict, ranked by confidence, so you can read both and record a verdict.

Instructions

List the document pairs on the same subject that may conflict, the most confident first (limit, default 15, at most 50). Each pair is a lead to read and judge, never an assertion. Four detectors find them: drifting table rows (confidence 'high'), negations, status changes within one doc, and topical clusters (confidence 'review'). Pairs already judged none stay hidden unless include_dismissed is true, to revisit a dismissal. After reading both docs, record the verdict with judge_contradiction. For one doc that changed its position over time, use then_and_now.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "contradictions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost pairs to return, the most confident first.
include_dismissedNoInclude pairs already judged not to conflict.

Output Schema

NameRequiredDescriptionDefault
candidatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / candidates / items / properties
      Added value: +{
      +  "a": {
      +    "description": "One doc of the pair.",
      +    "type": "string"
      +  },
      +  "a_untrusted": {
      +    "description": "Only when a comes from outside this mind: 'remote:<node>' or 'inbox:<source>'.",
      +    "type": "string"
      +  },
      +  "b": {
      +    "description": "The other doc; equal to a for a conflict within one doc.",
      +    "type": "string"
      +  },
      +  "b_untrusted": {
      +    "description": "Only when b comes from outside this mind: 'remote:<node>' or 'inbox:<source>'.",
      +    "type": "string"
      +  },
      +  "confidence": {
      +    "enum": [
      +      "high",
      +      "review"
      +    ],
      +    "type": "string"
      +  },
      +  "evidence": {
      +    "description": "The lines that look conflicting: path, line, text, marker.",
      +    "items": {
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "kind": {
      +    "enum": [
      +      "table-drift",
      +      "polarity",
      +      "intra-status",
      +      "cluster"
      +    ],
      +    "type": "string"
      +  },
      +  "subject": {
      +    "description": "What the pair is about: a shared term, or a table's column and row.",
      +    "type": "string"
      +  },
      +  "verdict": {
      +    "description": "'real' or 'none' once judged, null before.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / candidates / items / required
      Added value: +[
      +  "a",
      +  "b",
      +  "kind",
      +  "confidence"
      +]
  2. Changed1 schema field changedv2.8.0
    • addedInput schema / properties / limit / description
      Added value: +"Most pairs to return, the most confident first."
  3. First observedv2.7.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, the description explains that pairs are candidate leads rather than assertions, identifies four detector types and their confidence labels, and states that dismissed pairs are hidden unless include_dismissed is true. This gives the agent important context for interpreting results and deciding follow-up actions.

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?

The description is front-loaded with the tool's purpose and then efficiently covers result semantics, detector confidence, filtering, and next steps. Although dense, every sentence contributes useful information.

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

Completeness5/5

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

For a read-only discovery tool with an output schema, this is complete: it explains what is returned, how to interpret confidence, what is filtered, and which sibling tools to use afterward. No critical behavior for invoking the tool correctly is missing.

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 100%, so the schema already documents limit and include_dismissed. The description adds some rationale for include_dismissed, namely revisiting a dismissal, but mostly repeats default, maximum, and ordering details already present 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?

The description states a specific verb and resource: list document pairs on the same subject that may conflict, ordered by confidence. It also distinguishes this discovery tool from judge_contradiction and then_and_now, so an agent can identify its role 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 Guidelines5/5

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

It explicitly says the output is a lead to read and judge, then directs the agent to record verdicts with judge_contradiction. It also names then_and_now for a different case: one document that changed its position over time.

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