Skip to main content
Glama

OpenCheck

opencheck_batch_lookup

Read-only

Screen a list of companies by LEI — one compact row per company.

Portfolio / counterparty screening for agents (Phase 164). Each row is
exactly what opencheck_lookup would return for that LEI, reduced to
the table a list reader scans: name, jurisdiction, register status,
the one-sentence verdict, risk and structural-context counts, coverage
(how many of OpenCheck's sources apply and how many answered) and a
``degraded`` flag. Rows run two at a time against the shared upstream
budgets, so twenty companies not seen recently take about two minutes.

Args:
    leis: ISO 17442 Legal Entity Identifiers. At most 20 are screened;
        duplicates and malformed values are returned in ``rejected``,
        valid ones beyond the cap are counted in ``overflow``.
    deepen_top: How many top sources to deepen per company (0-10, default 5).

A ``failed`` row (unknown LEI, upstream rate-limited) means that company
was NOT screened — never read the batch as clean while ``failed`` or a
row's ``degraded`` flag is non-empty. Rows are never ranked by
severity: OpenCheck does not grade companies.

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": {
      "leis": "<leis>"
    },
    "name": "opencheck_batch_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
leisYes
deepen_topNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantially more: a hard cap of 20 LEIs, two-at-a-time execution against shared upstream budgets, expected latency, treatment of duplicates and malformed values via 'rejected' and 'overflow', and the meaning of a 'failed' row (rate-limited or unknown LEI means NOT screened). The explicit warning not to treat the batch as clean while 'failed' or 'degraded' is populated is exactly the kind of failure-mode disclosure annotations cannot carry.

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 lead sentence front-loads purpose and output shape, and the Args/caveat structure is scannable. Minor waste remains: '(Phase 164)' is internal project jargon that adds nothing for a calling agent, and the row-contents enumeration is somewhat verbose given an output schema exists.

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 batch tool with an output schema, mutation-free annotations, and two parameters, the description covers the essentials an agent needs to call it correctly: cap, concurrency, latency, partial-failure semantics, and the fact that rows are not ranked by severity. Nothing material about invoking or interpreting the call is left unstated.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry both parameters, and it largely does: 'leis' is defined as ISO 17442 identifiers with a 20-item cap, duplicate/malformed rejection and overflow counting; 'deepen_top' gains its 0-10 range and default of 5. The residual gap is that 'deepen' itself is never explained — an agent cannot tell what deepening a source actually does or what raising the value costs.

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 line gives a specific verb and resource ('Screen a list of companies by LEI') plus the output shape ('one compact row per company'). It explicitly relates itself to the sibling opencheck_lookup ('each row is exactly what opencheck_lookup would return for that LEI, reduced'), so an agent can distinguish batch screening from a single lookup without opening either 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?

'Portfolio / counterparty screening for agents' establishes the use context, and the comparison to opencheck_lookup implies the single-company alternative. The timing note ('twenty companies... about two minutes') helps an agent decide whether the batch is worth it, but there is no explicit when-not statement or a direct 'use opencheck_lookup for one LEI' instruction.

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.