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 query of 5,858,407 JP firms in 47 prefectures, 44,293 domains, invoices, grades, LEIs, and OFAC. Pass mode with corporateNumber, domain, or lei (default mode="lookup", limit=50, offset=0); returns entities ordered by 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-char GLEIF LEI.
modeNoExecution mode.lookup
limitNoMax rows returned.
domainNoTarget domain name.
offsetNoPagination offset.
keywordNoSearch keyword.
edinetCodeNoFSA EDINET code.
assetSymbolNoCrypto ticker filter.
companyScaleNoCompany scale tier.
walletAddressNoCrypto wallet address.
corporateNumberNo13-digit JP JCN.
includeWeakAliasesNoInclude weak aliases.
qualificationGradeNoQualification grade.
strictExcludeUnobservedNoExclude unobserved.

Output Schema

NameRequiredDescriptionDefault
itemsNo5.85M JCNs & 62,630 Unified Qualification corps (13 truncated; not_observed).
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed53 schema fields changed
    • removedInput schema / properties / amendmentsOnly
      Removed value: -{
      -  "description": "In \"edinet_gc_amendments\" mode, when true returns only amended securities/quarterly/semi-annual reports (訂正報告書) with XBRL before/after element diff metadata.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / assetSymbol / description
      Previous value: -"In \"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\")."New value: +"Crypto ticker filter."
    • changedInput schema / properties / companyScale / description
      Previous value: -"In \"gov_qualification\" mode, statutory company scale (\"large\" 大企業, \"sme\" 中小企業, \"micro\" 小規模企業, or \"other\" その他)."New value: +"Company scale tier."
    • changedInput schema / properties / corporateNumber / description
      Previous value: -"13-digit Japanese Corporate Number with valid NTA Mod-9 check digit (e.g. \"6010001269339\", \"3120001079845\") across 5,858,407 registered corporate entities (2,475,488 qualified invoice issuers)."New value: +"13-digit JP JCN."
    • removedInput schema / properties / corporateNumbers
      Removed value: -{
      -  "description": "Batch of 1 to 1,000 13-digit Japanese Corporate Numbers.",
      -  "items": {
      -    "maxLength": 13,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • removedInput schema / properties / docId
      Removed value: -{
      -  "description": "In \"edinet_gc_amendments\" mode, 8-character EDINET filing document ID (e.g. \"S100ABCD\").",
      -  "maxLength": 8,
      -  "pattern": "^S[0-9A-Za-z]{7}$",
      -  "type": "string"
      -}
    • changedInput schema / properties / domain / description
      Previous value: -"Filter or reverse-lookup by normalized official corporate website host (e.g. \"andque.com\", \"smarthr.jp\") across 107,126 directory corporations / 44,227 unique corporate domains (4,551 live-measured B2A Readiness Tier & SPF/DMARC corporations)."New value: +"Target domain name."
    • removedInput schema / properties / domains
      Removed value: -{
      -  "description": "Batch of 1 to 1,000 corporate domains for counterparty batch verification.",
      -  "items": {
      -    "maxLength": 253,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / properties / edinetCode / description
      Previous value: -"In \"edinet_gc_amendments\" mode, 6-character FSA EDINET submitter code (e.g. \"E02144\")."New value: +"FSA EDINET code."
    • removedInput schema / properties / entityName
      Removed value: -{
      -  "description": "Organization or corporate legal name for Zero-PII OFAC SDN Entity sanctions screening.",
      -  "maxLength": 200,
      -  "type": "string"
      -}
    • removedInput schema / properties / entityNames
      Removed value: -{
      -  "description": "Batch of 1 to 1,000 organization names for Zero-PII OFAC SDN Entity sanctions screening.",
      -  "items": {
      -    "maxLength": 200,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • removedInput schema / properties / excludeGoingConcern
      Removed value: -{
      -  "description": "In \"screen\" / \"filter\" mode, when true excludes corporations with active EDINET Going Concern notes or Going Concern material events.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / excludeHighDensity50Plus
      Removed value: -{
      -  "description": "When true, excludes corporations registered at addresses with 50 or more co-located active corporations.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / excludeLapsedLei
      Removed value: -{
      -  "description": "In \"screen\" / \"filter\" mode, when true excludes corporations whose GLEIF LEI status is LAPSED.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / excludeParrySpamObserved
      Removed value: -{
      -  "description": "When true, excludes entities with observed PARRY unsolicited outbound domain/telephone matches, published administrative sanction records, or revoked/expired invoice registration.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / excludeRecentEdinetAmendments
      Removed value: -{
      -  "description": "In \"screen\" / \"filter\" mode, when true excludes corporations that filed recent amended securities reports on EDINET.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / goingConcernOnly
      Removed value: -{
      -  "description": "In \"edinet_gc_amendments\" mode, when true returns only corporate filings with statutory Going Concern notes (継続企業の前提に関する注記), Going Concern material events (重要事象等), or auditor Going Concern emphasis.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / hasBicOnly
      Removed value: -{
      -  "description": "In \"gleif_lei\" mode, when true returns only Japanese corporations with registered SWIFT BIC codes.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / includeWeakAliases / description
      Previous value: -"In \"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\"."New value: +"Include weak aliases."
    • changedInput schema / properties / keyword / description
      Previous value: -"Optional substring filter across corporate name, municipality, or domain."New value: +"Search keyword."
    • removedInput schema / properties / lapsedOnly
      Removed value: -{
      -  "description": "In \"gleif_lei\" mode, when true returns only Japanese corporations whose LEI annual renewal status is LAPSED.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / lei / description
      Previous value: -"20-character ISO 17442 Legal Entity Identifier (e.g. \"5493006W3QUS5LMH6R84\" for Toyota Motor Corporation)."New value: +"20-char GLEIF LEI."
    • removedInput schema / properties / leis
      Removed value: -{
      -  "description": "Batch of 1 to 1,000 20-character ISO 17442 LEI codes.",
      -  "items": {
      -    "maxLength": 20,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum corporate/sanctions records to return per call (1 to 1,000, default 50)."New value: +"Max rows returned."
    • removedInput schema / properties / maxAddressDensity
      Removed value: -{
      -  "description": "Maximum 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).",
      -  "maximum": 100000,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • removedInput schema / properties / maxNameChangeCount
      Removed value: -{
      -  "description": "Maximum historical corporate name change count (0 to 1,000).",
      -  "maximum": 1000,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / maxRelocationCount
      Removed value: -{
      -  "description": "Maximum historical head-office relocation count (0 to 1,000).",
      -  "maximum": 1000,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / minQualificationGrade
      Removed value: -{
      -  "description": "Minimum statutory procurement qualification grade (\"A\" highest through \"D\") in \"gov_qualification\" or \"screen\" mode.",
      -  "enum": [
      -    "A",
      -    "B",
      -    "C",
      -    "D"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / mode / description
      Previous 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 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)."New value: +"Execution mode."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically."New value: +"Pagination offset."
    • removedInput schema / properties / prefecture
      Removed value: -{
      -  "description": "Prefecture name or code (e.g. \"東京都\", \"大阪府\", \"13\").",
      -  "maxLength": 32,
      -  "type": "string"
      -}
    • removedInput schema / properties / prefectureCode
      Removed value: -{
      -  "description": "2-digit JIS prefecture code (\"01\" to \"47\", e.g. \"13\" for Tokyo, \"27\" for Osaka).",
      -  "maxLength": 2,
      -  "pattern": "^(0[1-9]|[1-3][0-9]|4[0-7])$",
      -  "type": "string"
      -}
    • changedInput schema / properties / qualificationGrade / description
      Previous value: -"In \"gov_qualification\" mode, exact statutory procurement qualification grade (\"A\", \"B\", \"C\", or \"D\")."New value: +"Qualification grade."
    • removedInput schema / properties / requireGleifLei
      Removed value: -{
      -  "description": "In \"screen\" / \"filter\" mode, when true requires the corporation to hold an active or registered GLEIF LEI.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / requireInvoiceRegistered
      Removed value: -{
      -  "description": "When true, requires active NTA Qualified Invoice Issuer registration without revocation or expiration.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / requireRealBusinessSignal
      Removed value: -{
      -  "description": "When 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).",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / secCode
      Removed value: -{
      -  "description": "In \"edinet_gc_amendments\" mode, 4- or 5-character Japanese securities code (e.g. \"7203\" or \"72030\").",
      -  "maxLength": 5,
      -  "pattern": "^[0-9A-Za-z]{4,5}$",
      -  "type": "string"
      -}
    • changedInput schema / properties / strictExcludeUnobserved / description
      Previous value: -"In \"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."New value: +"Exclude unobserved."
    • changedInput schema / properties / walletAddress / description
      Previous value: -"Crypto wallet address (EVM/Base/ETH 0x..., BTC, SOL, TRX, etc.) for OFAC SDN Digital Currency Address sanctions screening."New value: +"Crypto wallet address."
    • removedInput schema / properties / walletAddresses
      Removed value: -{
      -  "description": "Batch of 1 to 1,000 crypto wallet addresses for pre-settlement OFAC sanctions screening.",
      -  "items": {
      -    "maxLength": 128,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Zero-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."New value: +"5.85M JCNs & 62,630 Unified Qualification corps (13 truncated; not_observed)."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. Changed2 schema fields changed
    • changedInput schema / properties / corporateNumber / description
      Previous value: -"13-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)."New value: +"13-digit Japanese Corporate Number with valid NTA Mod-9 check digit (e.g. \"6010001269339\", \"3120001079845\") across 5,858,407 registered corporate entities (2,475,488 qualified invoice issuers)."
    • changedInput schema / properties / domain / description
      Previous value: -"Filter 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)."New value: +"Filter or reverse-lookup by normalized official corporate website host (e.g. \"andque.com\", \"smarthr.jp\") across 107,126 directory corporations / 44,227 unique corporate domains (4,551 live-measured B2A Readiness Tier & SPF/DMARC corporations)."
  3. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds useful behavior beyond that: results are entities ordered by rank. It says nothing about mode-specific behavior, pagination limits, or cost, so the added value is moderate.

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?

Three dense sentences, front-loaded with purpose and scope before invocation details and the sibling exclusion. The raw corpus counts (5,858,407 firms, 44,293 domains) are decorative rather than decision-relevant, which costs it a point.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, but this is a 14-parameter tool with eight distinct modes and the description never distinguishes them. It is adequate for a default lookup call but incomplete for batch, screen, filter, gleif_lei, ofac_sanctions, gov_qualification, or edinet_gc_amendments usage.

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 coverage is 100% with all 14 parameters documented, so the schema carries the semantics and a 3 is the baseline. The description adds only the default values already in the schema and the result ordering, without explaining how mode interacts with the other parameters.

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?

States a specific verb and resource (read-only query of JP corporate registry) plus concrete scope: 5.8M firms, 47 prefectures, domains, LEIs, OFAC. It also names the sibling it is not (query_regulatory_recalls) so the agent can discriminate without opening a 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?

Gives actionable invocation guidance: pass mode with corporateNumber, domain, or lei, and states defaults for mode, limit, and offset. It also includes an explicit exclusion pointing to query_regulatory_recalls for recalls. It does not say when to choose among the eight modes, which keeps it below a 5.

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.