Skip to main content
Glama

analyze_claim_pair

Compares two claims by ID to detect contradictions, returning classification, severity, confidence score, and explanation.

Instructions

Analyzes two claims to determine whether they contradict each other, returning contradiction classification, severity, confidence score, and explanation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimAIdYesThe unique ID of the first claim
claimBIdYesThe unique ID of the second claim

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations and no output schema, the description does add value by enumerating the return fields (classification, severity, confidence, explanation). But it omits key behavioral traits such as whether the result is read-only, whether it is persisted, idempotency, or any permission/cost constraints.

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?

A single front-loaded sentence that conveys the action and the returned artifacts with no wasted words. Efficient, though it carries no additional structure such as guidance or examples.

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 simple two-parameter analysis tool, the description covers the purpose and return contents, which partly compensates for the absent output schema. It remains incomplete on usage routing and behavioral/safety context, leaving the agent to infer when this tool is preferred over its siblings.

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 100% and both claimAId/claimBId are fully documented in the schema, so the baseline is 3. The description adds nothing about parameter semantics beyond noting it operates on two claims.

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

Purpose4/5

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

The description states a specific verb (analyzes) and resource (two claims) with the goal of detecting contradiction, which is clearer than a bare name restatement. However, it does not distinguish this tool from close siblings like scan_claim_for_contradictions or explain_claim_relationship, so an agent can't route confidently without reading schemas.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the many sibling scanning/analysis tools. No prerequisites or conditions are given; the agent must infer that a pairwise comparison is meant from the name alone.

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