Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_corporate_registry

Read-onlyIdempotent

Read-only, idempotent query of 5,858,407 JP firms in 47 prefectures, 44,293 domains, invoices, grades, LEIs, and OFAC (API key or x402; 24h). Pass mode with corporateNumber, domain, or lei (default mode="lookup", limit=50, offset=0); returns entities ordered by match rank. Note: For recalls, use query_regulatory_recalls instead.

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

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 across all 47 prefectures, "gleif_lei" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,357 Japanese LEI corporations, "ofac_sanctions" for Zero-PII U.S. Treasury OFAC organizational sanctions screening (26,364 organizational records; Individual scope out_of_scope), "gov_qualification" for Digital Agency Unified Government Qualification (全省庁統一資格, Government of Japan Standard Terms of Use v2.0) A–D grade & company scale lookup across 62,630 indexed corporations in all 47 prefectures (partial catalog: 0 unresolved >500-hit slices, 13 pagination pages truncated by non-JCN rows — unindexed JCNs return not_observed), or "edinet_gc_amendments" for rolling-75d FSA EDINET API v2 Going Concern notes & amended securities report XBRL numeric diffs (3,061 filings).lookup
docIdNoIn "edinet_gc_amendments" mode, 8-character EDINET filing document ID (e.g. "S100ABCD").
limitNoMaximum corporate/sanctions records to return per call (1 to 1,000, default 50).
domainNoFilter or reverse-lookup by normalized official corporate website host (e.g. "andque.com", "smarthr.jp") across 107,126 D1 directory corporations / 44,227 unique corporate domains (4,551 live-measured B2A Readiness Tier & SPF/DMARC corporations).
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically.
domainsNoBatch of 1 to 1,000 corporate domains for counterparty batch verification.
keywordNoOptional substring filter across corporate name, municipality, or domain.
secCodeNoIn "edinet_gc_amendments" mode, 4- or 5-character Japanese securities code (e.g. "7203" or "72030").
edinetCodeNoIn "edinet_gc_amendments" mode, 6-character FSA EDINET submitter code (e.g. "E02144").
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").
assetSymbolNoIn "ofac_sanctions" catalog browse mode (when walletAddress/entityName are omitted), optional digital currency ticker filter across 600 organization-linked SDN wallets (e.g. "TRX", "ETH", "XBT", "USDT", "ARB", "BCH", "XMR", "SOL").
entityNamesNoBatch of 1 to 1,000 organization names for Zero-PII OFAC SDN Entity sanctions screening.
companyScaleNoIn "gov_qualification" mode, statutory company scale ("large" 大企業, "sme" 中小企業, "micro" 小規模企業, or "other" その他).
walletAddressNoCrypto wallet address (EVM/Base/ETH 0x..., BTC, SOL, TRX, etc.) for OFAC SDN Digital Currency Address sanctions screening.
amendmentsOnlyNoIn "edinet_gc_amendments" mode, when true returns only amended securities/quarterly/semi-annual reports (訂正報告書) with XBRL before/after element diff metadata.
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") across 5,858,407 registered corporations in all 10,000 R2 shards (generation gen_37500fcdaacecf05).
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.
goingConcernOnlyNoIn "edinet_gc_amendments" mode, when true returns only corporate filings with statutory Going Concern notes (継続企業の前提に関する注記), Going Concern material events (重要事象等), or auditor Going Concern emphasis.
maxAddressDensityNoMaximum number of active corporations registered at the same normalized building address (1 to 100,000, e.g. 49 or 50 to exclude high-density co-located addresses).
includeWeakAliasesNoIn "ofac_sanctions" mode, controls whether U.S. Treasury OFAC <category>weak</category> organizational AKAs (2,160 aliases) are included. Defaults to false (matches primary names + 11,549 strong AKAs only). When true, weak AKAs are also matched and tagged with matchedVia="weak_aka_alias" and akaStrength="weak".
maxNameChangeCountNoMaximum historical corporate name change count (0 to 1,000).
maxRelocationCountNoMaximum historical head-office relocation count (0 to 1,000).
qualificationGradeNoIn "gov_qualification" mode, exact statutory procurement qualification grade ("A", "B", "C", or "D").
excludeGoingConcernNoIn "screen" / "filter" mode, when true excludes corporations with active EDINET Going Concern notes or Going Concern material events.
minQualificationGradeNoMinimum statutory procurement qualification grade ("A" highest through "D") in "gov_qualification" or "screen" mode.
strictExcludeUnobservedNoIn "screen" / "filter" mode, controls unknown/unobserved handling for exclusion filters (excludeGoingConcern, excludeRecentEdinetAmendments, excludeLapsedLei). When false (default), unobserved corporations (e.g. not_observed_in_window for 75d EDINET or no registered LEI) are retained with explicit unobservedOrExcludedScopes[] tags (never certified clean). When true, unobserved corporations are ALSO excluded.
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, IP/trademark registration, permit certification, financial disclosure, or official corporate domain).
excludeRecentEdinetAmendmentsNoIn "screen" / "filter" mode, when true excludes corporations that filed recent amended securities reports on EDINET.

Output Schema

NameRequiredDescriptionDefault
itemsYesZero-PII Japanese corporate registry (5,858,407 R2-sharded corporations, 44,293 domains, 62,630 Unified Qualification corps, 4,357 GLEIF LEIs, 3,061 EDINET GC/amendments, 14,053 Kanpo notices, 26,364 OFAC organizational records) ordered by match rank.
statsYesExecution telemetry including itemCount, durationMs, and upstream breakdown.
offsetYesZero-based pagination offset applied to the matched record slice.
successYesTrue when the read-only query completed without upstream or validation failure.
streamIdYesUnderlying B2A data stream identifier that fulfilled the query.
toolNameYesExecuted MCP tool name for deterministic audit correlation.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.
generated_atYesISO-8601 UTC timestamp when this response payload was generated.
sha256DigestYesDeterministic 64-character hex SHA-256 provenance digest of the returned items.
partialResultNoTrue only if a live upstream sub-source returned partial coverage.
returnedCountYesNumber of structured records returned in items for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the description need not restate safety. It adds useful operational context: API key or x402 access, a 24h dimension, and that results are ordered by match rank, which helps an agent interpret responses. It does not describe rate limits or pagination behavior, but the schema covers pagination fields.

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 description is compact and front-loads the core purpose and the sibling exclusion. The middle sentence is dense and slightly awkward ('Pass mode with...'), but it avoids unnecessary repetition and stays appropriately sized for a 40-parameter tool.

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?

Given the tool's complexity, an output schema, and comprehensive parameter descriptions, the description provides enough high-level orientation: data scope, access method, ordering, and one important alternative. It does not explain every mode or all return fields, but the structured fields carry that burden.

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 100%, so the schema already documents all 40 parameters in detail. The description highlights only a few representative parameters and default values, adding little semantic meaning beyond the structured schema. Baseline 3 is appropriate.

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 description states a specific read-only query over JP corporate registry data, enumerates the covered resources (firms, domains, invoices, grades, LEIs, OFAC), and explicitly distinguishes itself from the recalls sibling. An agent can identify the tool's domain and scope without opening the 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?

It gives a concrete routing instruction: for recalls, use query_regulatory_recalls instead. It also names the primary lookup keys (corporateNumber, domain, lei) and default mode, though it does not explain when to choose among the many advanced modes beyond what the schema already provides.

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.