Skip to main content
Glama

OpenCheck

opencheck_discrepancy_note

Read-only

A discrepancy note to hand a register-record disagreement back to the register that holds it — one note per register, as Markdown.

Runs (or reuses) the same check as opencheck_lookup / opencheck_register_lookup
and reads its "Records compared" finding: where two published records of the
company disagree on register status or jurisdiction, each register holding a
disputed value (GLEIF included) gets a note stating the field, its own value,
the conflicting value and source with its licence, the dates each was stated
and retrieved, and where that register takes discrepancy reports. It describes
and never alleges which record is right, and it is not a beneficial-ownership
discrepancy report under the AMLR or the UK PSC rules — the note says so.

Args:
    lei: ISO 17442 Legal Entity Identifier (20 chars), or
    scheme + id: a register scheme and number (e.g. GB-COH, OC346224) for a
        company with no LEI.
    deepen_top: How many top sources to deepen (0-10, default 5).

Returns ``markdown`` (the notes, separated by a rule), ``notes`` (who each is
addressed to, the fields, the reporting route) and ``saved_report`` null —
save the report with opencheck_save_report first and use the REST route with
saved_report_id to get a verifiable link and SHA-256 in the footer. With no
qualifying disagreement the result says so (``status`` 404) and carries no
note.

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": "opencheck_discrepancy_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
leiNo
schemeNo
deepen_topNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that the note describes but never alleges which record is right, what fields each note carries (own value, conflicting value and source with licence, dates stated and retrieved, reporting route), that saved_report is null, and that a missing disagreement yields status 404 with no note. The remaining gap is the cost/latency implication of running or reusing a full check with deepen_top up to 10, which an open-world, potentially slow operation would benefit from stating.

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 purpose is front-loaded in the first sentence, and the Args/Returns blocks are scannable and information-dense rather than padded. It runs long overall, and the explanation of the underlying 'Records compared' finding is slightly belabored, but no sentence is pure filler.

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 multi-mode input (LEI or scheme+id), an open-world check, and a structured return, the description covers inputs, the shape of the returned markdown and notes payload, the null saved_report case, and the failure/empty case. Even though an output schema exists, the added explanation of what the notes contain is substantive rather than redundant.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates: lei is defined as ISO 17442, 20 chars; the scheme + id pairing is given with a concrete example (GB-COH, OC346224) for companies without an LEI; deepen_top is bounded 0-10 with a stated default of 5. Every one of the four parameters gets meaning the bare schema titles do not supply.

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 opening sentence states a specific verb and artifact (produce a discrepancy note per register that holds a disputed value) plus the output format (Markdown). It also positions itself against the sibling lookups by saying it runs or reuses the same check as opencheck_lookup / opencheck_register_lookup, so an agent can tell it apart from those tools 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 Guidelines5/5

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

It names the triggering condition (two published records of the company disagree on register status or jurisdiction), an explicit when-not (this is not a beneficial-ownership discrepancy report under the AMLR or UK PSC rules), and an alternative workflow step (save the report with opencheck_save_report first, then use the REST route with saved_report_id for a verifiable link). The 404-with-no-note path is also stated, so the agent knows how to interpret an empty result.

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.