Skip to main content
Glama

STRATA & TrashPan B2A Clean Data MCP Server

verify_counterparty_batch

Batch-verify up to 1,000 Japanese counterparties by 13-digit corporateNumbers or domains in a single request, returning deterministic substance, invoice, address density, B2A Readiness Tier, and PARRY observation facts. (Backed by jp-entity-reputation | x402: $0.006 USDC | Direct x402 & X-MCP-API-Key)

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

Input Schema

NameRequiredDescriptionDefault
leiNo20-character ISO 17442 Legal Entity Identifier (e.g. "5493006W3QUS5LMH6R84" for Toyota Motor Corporation).
leisNoBatch of 1 to 1,000 20-character ISO 17442 LEI codes.
modeNoQuery mode: "lookup" / "batch" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000), "screen" / "filter" for multi-condition corporate substance & co-located address density filtering, "gleif_lei" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,358 Japanese LEI corporations, or "ofac_sanctions" for Zero-PII U.S. Treasury OFAC organizational sanctions screening across 12,034 non-personal entities, all organizational AKAs, and 600 organization-linked crypto wallets.lookup
limitNo
domainNoFilter or lookup by normalized official corporate website host (e.g. "andque.com", "iij.ad.jp").
domainsNoBatch of 1 to 1,000 corporate domains for counterparty batch verification.
keywordNoOptional substring filter across corporate name, municipality, or domain.
entityNameNoOrganization or corporate legal name for Zero-PII OFAC SDN Entity sanctions screening.
hasBicOnlyNoIn "gleif_lei" mode, when true returns only Japanese corporations with registered SWIFT BIC codes.
lapsedOnlyNoIn "gleif_lei" mode, when true returns only Japanese corporations whose LEI annual renewal status is LAPSED.
prefectureNoPrefecture name or code (e.g. "東京都", "大阪府", "13").
entityNamesNoBatch of 1 to 1,000 organization names for Zero-PII OFAC SDN Entity sanctions screening.
walletAddressNoCrypto wallet address (EVM/Base/ETH 0x..., BTC, SOL, TRX, etc.) for OFAC SDN Digital Currency Address sanctions screening.
prefectureCodeNo2-digit JIS prefecture code ("01" to "47", e.g. "13" for Tokyo, "27" for Osaka).
corporateNumberNo13-digit Japanese Corporate Number with valid NTA Mod-9 check digit (e.g. "6010001269339", "3120001079845").
requireGleifLeiNoIn "screen" / "filter" mode, when true requires the corporation to hold an active or registered GLEIF LEI.
walletAddressesNoBatch of 1 to 1,000 crypto wallet addresses for pre-settlement OFAC sanctions screening.
corporateNumbersNoBatch of 1 to 1,000 13-digit Japanese Corporate Numbers.
excludeLapsedLeiNoIn "screen" / "filter" mode, when true excludes corporations whose GLEIF LEI status is LAPSED.
maxAddressDensityNoMaximum number of active corporations registered at the same normalized building address (e.g. 49 or 50 to exclude high-density co-located addresses).
maxNameChangeCountNoMaximum historical corporate name change count.
maxRelocationCountNoMaximum historical head-office relocation count.
excludeHighDensity50PlusNoWhen true, excludes corporations registered at addresses with 50 or more co-located active corporations.
excludeParrySpamObservedNoWhen true, excludes entities with observed PARRY unsolicited outbound domain/telephone matches, published administrative sanction records, or revoked/expired invoice registration.
requireInvoiceRegisteredNoWhen true, requires active NTA Qualified Invoice Issuer registration without revocation or expiration.
requireRealBusinessSignalNoWhen true, requires at least one verified public activity signal (government procurement award, subsidy approval, patent/trademark, permit certification, financial disclosure, or official corporate domain).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"Query mode: \"lookup\" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000), \"screen\" / \"filter\" for multi-condition corporate substance & co-located address density filtering, \"gleif_lei\" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,358 Japanese LEI corporations, or \"ofac_sanctions\" for Zero-PII U.S. Treasury OFAC sanctions screening across 1,082 crypto wallets and 12,034 non-personal entities."New value: +"Query mode: \"lookup\" / \"batch\" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000), \"screen\" / \"filter\" for multi-condition corporate substance & co-located address density filtering, \"gleif_lei\" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,358 Japanese LEI corporations, or \"ofac_sanctions\" for Zero-PII U.S. Treasury OFAC organizational sanctions screening across 12,034 non-personal entities, all organizational AKAs, and 600 organization-linked crypto wallets."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "lookup",
      -  "screen",
      -  "filter",
      -  "gleif_lei",
      -  "ofac_sanctions"
      -]New value: +[
      +  "lookup",
      +  "batch",
      +  "screen",
      +  "filter",
      +  "gleif_lei",
      +  "ofac_sanctions"
      +]
  2. Changed12 schema fields changed
    • addedInput schema / properties / entityName
      Added value: +{
      +  "description": "Organization or corporate legal name for Zero-PII OFAC SDN Entity sanctions screening.",
      +  "type": "string"
      +}
    • addedInput schema / properties / entityNames
      Added value: +{
      +  "description": "Batch of 1 to 1,000 organization names for Zero-PII OFAC SDN Entity sanctions screening.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
    • addedInput schema / properties / excludeLapsedLei
      Added value: +{
      +  "description": "In \"screen\" / \"filter\" mode, when true excludes corporations whose GLEIF LEI status is LAPSED.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / hasBicOnly
      Added value: +{
      +  "description": "In \"gleif_lei\" mode, when true returns only Japanese corporations with registered SWIFT BIC codes.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / lapsedOnly
      Added value: +{
      +  "description": "In \"gleif_lei\" mode, when true returns only Japanese corporations whose LEI annual renewal status is LAPSED.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / lei
      Added value: +{
      +  "description": "20-character ISO 17442 Legal Entity Identifier (e.g. \"5493006W3QUS5LMH6R84\" for Toyota Motor Corporation).",
      +  "type": "string"
      +}
    • addedInput schema / properties / leis
      Added value: +{
      +  "description": "Batch of 1 to 1,000 20-character ISO 17442 LEI codes.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
    • changedInput schema / properties / mode / description
      Previous value: -"Query mode: \"lookup\" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000 corporations), or \"screen\" / \"filter\" for multi-condition corporate substance & co-located address density filtering."New value: +"Query mode: \"lookup\" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000), \"screen\" / \"filter\" for multi-condition corporate substance & co-located address density filtering, \"gleif_lei\" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,358 Japanese LEI corporations, or \"ofac_sanctions\" for Zero-PII U.S. Treasury OFAC sanctions screening across 1,082 crypto wallets and 12,034 non-personal entities."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "lookup",
      -  "screen",
      -  "filter"
      -]New value: +[
      +  "lookup",
      +  "screen",
      +  "filter",
      +  "gleif_lei",
      +  "ofac_sanctions"
      +]
    • addedInput schema / properties / requireGleifLei
      Added value: +{
      +  "description": "In \"screen\" / \"filter\" mode, when true requires the corporation to hold an active or registered GLEIF LEI.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / walletAddress
      Added value: +{
      +  "description": "Crypto wallet address (EVM/Base/ETH 0x..., BTC, SOL, TRX, etc.) for OFAC SDN Digital Currency Address sanctions screening.",
      +  "type": "string"
      +}
    • addedInput schema / properties / walletAddresses
      Added value: +{
      +  "description": "Batch of 1 to 1,000 crypto wallet addresses for pre-settlement OFAC sanctions screening.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real operational context beyond the schema: deterministic outputs, a hard 1,000-item batch ceiling, the backing service (jp-entity-reputation), cost ($0.006 USDC via x402) and required auth (X-MCP-API-Key). It does not state whether the call is read-only/side-effect-free, nor anything about failure handling or partial-batch behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the capability and its scale limit, followed by the returned value set and a compact operational parenthetical. No filler or repeated phrasing; the parenthetical earns its place by bundling cost and auth.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 26 parameters, six mutually exclusive modes, no annotations and no output schema, the description covers only the batch path and omits the screening/filter/GLEIF/OFAC capabilities entirely. An agent relying on this text alone would never discover the sanctions-screening or co-located-address-density filtering use cases encoded in the schema.

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 96%, so the schema already documents nearly every one of the 26 parameters including mode enum semantics and per-mode booleans. The description restates the two headline inputs (13-digit corporateNumbers, domains) without adding format, validation, or precedence rules beyond what the schema says, so the baseline 3 applies.

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 opens with a specific verb, resource and scope: 'Batch-verify up to 1,000 Japanese counterparties by 13-digit corporateNumbers or domains in a single request,' and enumerates the returned facts (substance, invoice, address density, B2A Readiness Tier, PARRY). It never names or contrasts with close siblings such as verify_jp_counterparty_kyb or verify_jp_corporate_substance, so the batch-vs-single distinction is only inferred from the word 'batch'.

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 explicit when-to-use, when-not, or alternative-tool guidance; the only usage cue is the implicit 'use this for one-to-many verification instead of N single calls.' More seriously, the schema exposes six modes (lookup, batch, screen, filter, gleif_lei, ofac_sanctions) while the description only describes the batch-by-corporateNumber/domain path, leaving the agent no prose guidance on which mode to pick.

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