Skip to main content
Glama

ai_contradictions

Read-only

Contradiction finder (grounded) — Find statements that contradict each other - between two texts (a= and b=, e.g. a contract vs. an invoice, docs vs. a policy, two answers from different agents) or inside one document (a= only). Each finding has exact quotes from both sides, type (numeric, date, factual, logical, policy, definition), severity and an explanation. Findings are kept only if both quotes are found in your text (offline check) and, for numeric conflicts, the numbers really differ; dropped ones are listed under unverified. Verdict CONSISTENT / MINOR_ISSUES / CONTRADICTIONS_FOUND. Up to 16,000 chars total. Price: $0.01 USDC (Base, via x402).

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>"
    },
    "name": "ai_contradictions"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYese.g. The Pro plan costs $20 per month and includes 5 users. Refunds are available within 30 days.
bYese.g. Pro pricing: $25/month for up to 5 users. All sales are final and no refunds are given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld/non-destructive annotations by disclosing the grounding mechanism (findings are kept only if both quotes appear in the supplied text, numeric conflicts require genuinely differing numbers), how dropped findings are surfaced (under 'unverified'), the verdict enum, the 16,000-character cap, and the $0.01 USDC x402 cost. These are exactly the operational constraints an agent needs before calling.

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?

The core purpose and the two invocation modes are front-loaded in the first sentence, and the remaining clauses each carry real information (finding fields, grounding rule, verdict, limits, price). It is a dense single paragraph, and the 'type (numeric, date, factual, logical, policy, definition)' enumeration is the one segment that could be trimmed.

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?

With no output schema, the description does the work of describing the return payload: per-finding quotes, type, severity, explanation, plus the verdict and the 'unverified' bucket. Length, cost, and grounding behavior are all covered. The only unresolved gap is the a-only vs. required-b discrepancy, which a caller would hit immediately.

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% and the schema already supplies example values for both parameters, so the description's baseline is a 3. The description does add the semantic framing of a= vs. b= (side A vs. side B of the comparison), but it also says 'a= only' is valid for a single document while the schema marks both a and b as required — a mismatch that leaves the agent unsure whether to omit b.

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 — 'find statements that contradict each other' — and immediately scopes it to two modes (two texts via a= and b=, or one document via a= only), with concrete examples of each. That is enough for an agent to distinguish it from neighbors like ai_citation_check or ai_claims without opening any 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 clear usage contexts (contract vs. invoice, docs vs. policy, two answers from different agents) and thereby implies when to reach for it. It does not explicitly name an alternative tool or state exclusions, so it falls short of a full when/when-not rubric.

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