Skip to main content
Glama

STRATA & TrashPan B2A Public Data, JP KYB, GLEIF LEI, OFAC Sanctions, TCG & Golf EV MCP

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" 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.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. 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"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does add real value: it discloses that results are deterministic, lists the returned fact categories, and states the pricing ($0.006 USDC) and auth paths (x402 and X-MCP-API-Key). It says nothing about batch partial-failure behavior (what happens if one of 1,000 entries is invalid), rate limits, or error semantics, which matter most for a 1,000-item batch call.

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?

Two sentences, front-loaded with the batch verb and limit, then the returned facts, with commercial/auth metadata tucked into a trailing parenthetical. Every clause carries information, though the stacked jargon ('B2A Readiness Tier', 'PARRY observation facts') is unexplained and the pricing parenthetical is more vendor metadata than agent guidance.

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 26-parameter tool with five distinct modes and no output schema, the description addresses only the batch-lookup mode. An agent reading it would not know the tool also performs LEI/GLEIF lookup, address-density screening, or OFAC wallet/entity sanctions screening, nor how the boolean gates interact. The scope described is far narrower than the interface exposes.

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 26 parameters are already documented in structured fields and the baseline is 3. The description only reinforces the corporateNumbers/domains batch path and adds nothing about the lookup/screen/filter/gleif_lei/ofac_sanctions mode semantics or the filtering thresholds that dominate the schema.

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?

States a specific verb and resource ('Batch-verify up to 1,000 Japanese counterparties by 13-digit corporateNumbers or domains in a single request') plus the returned fact set. It is clear on the batch-lookup path but the tool actually supports five modes, so the stated purpose covers only a fraction of what the definition enables. No sibling such as verify_jp_counterparty_kyb or screen_ofac_counterparty_entities is named for differentiation.

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 when-to-use guidance and no named alternative. 'In a single request' implicitly argues for this over repeated single lookups, and the mode enum in the schema hints at screening/filtering/GLEIF/OFAC uses, but the description never says which mode to pick for which task or when a sibling tool is the better choice. That leaves an agent to infer everything from the schema.

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.