Skip to main content
Glama

Compare a mirror or audit review stamps

check_parity
Read-only

Compares canonical and mirror records to flag missing, extra, or changed data, and audits before/after snapshots for review-date changes without evidence of rechecks.

Instructions

With mode 'mirror', compares caller-supplied canonical and mirror records for missing, extra or changed data. With mode 'review-stamps', compares before and after snapshots for date changes with no visible evidence of a recheck. A changed value, source or reviewer can count as evidence even if no one reviewed anything. List automatic edits in ignoreFields. The stamp audit does not flag value changes by themselves. The kit cannot tell which copy is right, whether its data is true or current, or whether a recheck took place. Look-alike key detection covers only a limited set of characters. Supply JSON data directly. For record 'a' with a canonical price of 10, a mirror price of 10 yields 'ok' and a mirror price of 25 yields 'flagged'. Moving reviewedOn from '2026-01-01' to '2026-01-02' while price stays 10 is flagged as stamp-only. If price changes to 11 with the date, the same audit reports 'ok'.

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": {
      "check": "<check>"
    },
    "name": "check_parity"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is known. The description does add real behavioral context beyond that: explicit limitations ('cannot tell which copy is right, whether its data is true or current, or whether a recheck took place') and the caveat that 'A changed value, source or reviewer can count as evidence even if no one reviewed anything'. Its remaining gap is the absence of any statement about result shape or size limits, so a 3 is appropriate.

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 two modes are front-loaded and the limitation caveats follow logically. The trailing worked examples (price 10 vs 25, reviewedOn movement) are long but each illustrates a distinct outcome rule, so they mostly earn their space.

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 single-parameter tool wrapping a two-branch oneOf schema and no output schema, the description covers mode selection, key behavioral limits, and outcome examples ('ok' vs 'flagged', 'stamp-only'). What is missing is any overview of the return payload beyond the status values.

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 reported as 0%, so the description must carry weight. It does explain a few options meaningfully: ignoreFields for automatic edits, reviewedField driving the stamp audit, and the source/reviewer change semantics. But most of the nested options (key, fields, foldCase, foldInvisible, numberTolerance, bulkThreshold, expiryField, now, allowEmpty) are never addressed in the prose.

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 names a specific verb (compare) and clearly separates the two operating modes: 'mirror' compares caller-supplied canonical and mirror records for missing, extra or changed data, while 'review-stamps' compares before/after snapshots for date changes without evidence of a recheck. It doesn't explicitly distinguish itself from nearby siblings like compute_divergence or check_freshness, which keeps it below a 5.

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?

Usage context is provided per mode, and practical steering is given ('List automatic edits in ignoreFields', 'Supply JSON data directly'), which tells the agent how to drive each branch. There is no explicit when-not-to-use guidance and no comparison to alternative tools, only mode-level context.

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