Skip to main content
Glama

STRATA & TrashPan B2A Clean Data MCP Server

probe_stream_inventory

Read-onlyIdempotent

Free ($0, no auth), read-only, idempotent pre-check of record existence and 24h freshness across 16 streams. Pass streamId with corporateNumber, domain, lei, or boardSlug (default streamId="domain-intel", limit=25); returns stock status ordered by target match. Note: For stream schemas, use list_data_streams 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": "probe_stream_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
atsNoATS platform when probing ats-jobs ("greenhouse", "lever", or "ashby").greenhouse
geoNo2-letter ISO country code when probing google-trends (e.g. "US", "JP").US
leiNo20-character ISO 17442 LEI (Mod 97-10 validated, e.g. "5493006W3QUS5LMH6R84") when probing mode="gleif_lei".
leisNoBatch of 1 to 25 20-character ISO 17442 LEI codes.
modeNoMode when probing jp-entity-reputation ("lookup", "batch", "screen", "filter", "gleif_lei", "ofac_sanctions", "gov_qualification", or "edinet_gc_amendments") or ansr-golf-ev-engine ("ev", "sg", "dispersion", "strategy", "course_search", or "hole_strategy").
cveIdNoCVE identifier (e.g. "CVE-2024-0001") when probing cyber advisories.
docIdNo8-character EDINET filing document ID (e.g. "S100ABCD") when probing mode="edinet_gc_amendments".
limitNoOptional row scan limit (1 to 25, default 25; free probes cap internal scan budget at 25 rows).
queryNoFacility/station/golf-course query string when probing spatial or ANSR golf streams.
domainNoDomain name to check when probing domain posture or corporate registry (e.g. "nttdata.com", "preferred.jp").
domainsNoBatch of 1 to 25 corporate domains when probing domain posture or corporate registry.
keywordNoSearch keyword when probing search trends or Japanese public data streams.
secCodeNo4- or 5-digit Japanese securities code when probing securities filings or mode="edinet_gc_amendments".
streamIdNoTarget B2A stream identifier from the 16-stream enum to pre-check record availability and 24h freshness.domain-intel
subLayerNoOptional specialized hard-fact sub-layer ledger name (e.g. "eu_cosing_jp_bridge", "mhlw_jsqi_2021_index", "foshu_tokuho_claims", "functional_food_claims", "mhlw_cosmetic_standards", "approved_food_additives", "kobutsu_url_ledger", "keishin_financials", "harvest_labor_violations", "facility_brand_operator_links", "mlit_negative_dispositions", "product_compliance_checkpoint").
boardSlugNoCompany ATS board slug when probing ats-jobs (e.g. "stripe", "layerx").
targetKeyNoOptional canonical target key (e.g. "domain:nttdata.com", "ats:greenhouse:layerx", "trends:US:mcp").
edinetCodeNo6-character FSA EDINET submitter code (e.g. "E02144") when probing mode="edinet_gc_amendments" or securities filings.
entityNameNoOrganization or corporate legal name when probing mode="ofac_sanctions".
hasBicOnlyNoWhen true in mode="gleif_lei", filters for entities with SWIFT BIC codes.
holeNumberNoOptional golf hole number (1-18) when probing ansr-golf-ev-engine.
lapsedOnlyNoWhen true in mode="gleif_lei", filters for LAPSED LEI registrations.
prefectureNoJapanese prefecture name or 2-digit JIS code across all 47 prefectures (e.g. "北海道", "東京都", "大阪府", "13").
assetSymbolNoOptional digital currency ticker filter in mode="ofac_sanctions" across 600 organization-linked SDN wallets (e.g. "TRX", "ETH", "XBT", "USDT"). Free probes return dataset availability only.
entityNamesNoBatch of 1 to 25 organization or corporate legal names when probing mode="ofac_sanctions".
companyScaleNoCompany scale ("large", "sme", "micro", or "other") when probing mode="gov_qualification".
walletAddressNoBlockchain wallet address (e.g. "0x...", "TNiq9AXBp9EjUqhDhrwrfvAA8U3GUQZH81") when probing mode="ofac_sanctions".
amendmentsOnlyNoWhen true in mode="edinet_gc_amendments", probes amended securities/quarterly/semi-annual reports.
prefectureCodeNo2-digit JIS prefecture code across all 47 Japanese prefectures ("01" to "47", e.g. "13" for Tokyo, "27" for Osaka).
corporateNumberNo13-digit Japanese Corporate Number (NTA Mod-9 validated, e.g. "1180301018771") when probing corporate registry, recalls, or tenders.
requireGleifLeiNoIn mode="screen" / "filter", requires the corporation to hold a registered GLEIF LEI.
walletAddressesNoBatch of 1 to 25 blockchain wallet addresses for OFAC dataset availability probing.
corporateNumbersNoBatch of 1 to 25 13-digit Japanese Corporate Numbers for free stock probing.
excludeLapsedLeiNoIn mode="screen" / "filter", excludes corporations whose GLEIF LEI status is LAPSED.
goingConcernOnlyNoWhen true in mode="edinet_gc_amendments", probes filings with statutory Going Concern notes or material events.
includeWeakAliasesNoOptional flag for paid OFAC screening (weak AKAs excluded by default unless true; when true, weak AKAs are tagged with matchedVia="weak_aka_alias" and akaStrength="weak"). Free probes return dataset availability only.
qualificationGradeNoExact Unified Government Qualification grade ("A", "B", "C", or "D") when probing mode="gov_qualification".
excludeGoingConcernNoIn mode="screen" / "filter", excludes corporations with active EDINET Going Concern notes or material events.
minQualificationGradeNoMinimum Unified Government Qualification grade ("A" highest through "D").
strictExcludeUnobservedNoIn mode="screen" / "filter", controls unknown/unobserved handling for exclusion filters (excludeGoingConcern, excludeRecentEdinetAmendments, excludeLapsedLei). Defaults to false (retains unobserved corporations with unobservedOrExcludedScopes[] tags; when true, unobserved corporations are also excluded).
excludeRecentEdinetAmendmentsNoIn mode="screen" / "filter", excludes corporations that filed recent amended securities reports on EDINET.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when the free 1st-floor inventory probe completed without error.
probedAtYesISO-8601 UTC timestamp when this free probe was executed.
streamIdYesResolved B2A data stream identifier that was probed.
targetKeyYesNormalized deterministic ledger target key inspected for availability.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the probed dataset.
currentHashYes64-character hex SHA-256 content digest when recordExists is true, or null when not in stock.
matchedCountNoMatched record count in the bounded probe window (null when redacted for paid OFAC screening).
paidEndpointNoReady-to-call x402 HTTP endpoint URL pre-populated with the probed query parameters.
recordExistsYesTrue when matching structured records or dataset snapshots are currently in stock.
x402PriceUsdYesBase Mainnet USDC price for instant x402 pay-per-request execution (e.g. "$0.006").
freshWithin24hYesTrue when the target observation or dataset snapshot was verified within the past 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / subLayer / description
      Previous value: -"Optional specialized hard-fact sub-layer ledger name (e.g. \"functional_food_claims\", \"mhlw_cosmetic_standards\", \"approved_food_additives\", \"kobutsu_url_ledger\", \"keishin_financials\", \"harvest_labor_violations\", \"facility_brand_operator_links\", \"mlit_negative_dispositions\", \"product_compliance_checkpoint\")."New value: +"Optional specialized hard-fact sub-layer ledger name (e.g. \"eu_cosing_jp_bridge\", \"mhlw_jsqi_2021_index\", \"foshu_tokuho_claims\", \"functional_food_claims\", \"mhlw_cosmetic_standards\", \"approved_food_additives\", \"kobutsu_url_ledger\", \"keishin_financials\", \"harvest_labor_violations\", \"facility_brand_operator_links\", \"mlit_negative_dispositions\", \"product_compliance_checkpoint\")."
  2. Changed1 schema field changed
    • addedInput schema / properties / subLayer
      Added value: +{
      +  "description": "Optional specialized hard-fact sub-layer ledger name (e.g. \"functional_food_claims\", \"mhlw_cosmetic_standards\", \"approved_food_additives\", \"kobutsu_url_ledger\", \"keishin_financials\", \"harvest_labor_violations\", \"facility_brand_operator_links\", \"mlit_negative_dispositions\", \"product_compliance_checkpoint\").",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  3. Changed66 schema fields changed
    • changedInput schema / properties / ats / description
      Previous value: -"ATS platform when probing ats-jobs."New value: +"ATS platform when probing ats-jobs (\"greenhouse\", \"lever\", or \"ashby\")."
    • addedInput schema / properties / boardSlug / maxLength
      Added value: +120
    • changedInput schema / properties / corporateNumber / description
      Previous value: -"13-digit Japanese Corporate Number (NTA Mod-9 validated, e.g. \"1180301018771\") when probing jp-entity-reputation or KYB/tenders/patent streams."New value: +"13-digit Japanese Corporate Number (NTA Mod-9 validated, e.g. \"1180301018771\") when probing corporate registry, recalls, or tenders."
    • addedInput schema / properties / corporateNumber / maxLength
      Added value: +13
    • addedInput schema / properties / corporateNumber / pattern
      Added value: +"^[0-9]{13}$"
    • changedInput schema / properties / corporateNumbers / description
      Previous value: -"Batch of 13-digit Japanese Corporate Numbers (1 to 1,000)."New value: +"Batch of 1 to 25 13-digit Japanese Corporate Numbers for free stock probing."
    • addedInput schema / properties / corporateNumbers / items / maxLength
      Added value: +13
    • addedInput schema / properties / corporateNumbers / maxItems
      Added value: +25
    • addedInput schema / properties / corporateNumbers / minItems
      Added value: +1
    • changedInput schema / properties / cveId / description
      Previous value: -"CVE identifier (e.g. \"CVE-2024-0001\") when probing cisa-kev-threat-ai-status."New value: +"CVE identifier (e.g. \"CVE-2024-0001\") when probing cyber advisories."
    • addedInput schema / properties / cveId / maxLength
      Added value: +32
    • addedInput schema / properties / cveId / pattern
      Added value: +"^CVE-[0-9]{4}-[0-9]{4,8}$"
    • addedInput schema / properties / docId / maxLength
      Added value: +8
    • addedInput schema / properties / docId / pattern
      Added value: +"^S[0-9A-Za-z]{7}$"
    • changedInput schema / properties / domain / description
      Previous value: -"Domain name to check when probing domain-lookup or jp-entity-reputation (e.g. \"nttdata.com\", \"preferred.jp\")."New value: +"Domain name to check when probing domain posture or corporate registry (e.g. \"nttdata.com\", \"preferred.jp\")."
    • addedInput schema / properties / domain / maxLength
      Added value: +253
    • changedInput schema / properties / domains / description
      Previous value: -"Batch of corporate domains when probing domain-lookup (up to 5) or jp-entity-reputation."New value: +"Batch of 1 to 25 corporate domains when probing domain posture or corporate registry."
    • addedInput schema / properties / domains / items / maxLength
      Added value: +253
    • addedInput schema / properties / domains / maxItems
      Added value: +25
    • addedInput schema / properties / domains / minItems
      Added value: +1
    • changedInput schema / properties / edinetCode / description
      Previous value: -"6-character FSA EDINET submitter code (e.g. \"E02144\") when probing mode=\"edinet_gc_amendments\" or jp-edinet-financial-macro-feed."New value: +"6-character FSA EDINET submitter code (e.g. \"E02144\") when probing mode=\"edinet_gc_amendments\" or securities filings."
    • addedInput schema / properties / edinetCode / maxLength
      Added value: +6
    • addedInput schema / properties / edinetCode / pattern
      Added value: +"^E[0-9]{5}$"
    • changedInput schema / properties / entityName / description
      Previous value: -"Organization or corporate legal name when probing jp-entity-reputation with mode=\"ofac_sanctions\"."New value: +"Organization or corporate legal name when probing mode=\"ofac_sanctions\"."
    • addedInput schema / properties / entityName / maxLength
      Added value: +200
    • changedInput schema / properties / entityNames / description
      Previous value: -"Batch of organization or corporate legal names when probing jp-entity-reputation with mode=\"ofac_sanctions\"."New value: +"Batch of 1 to 25 organization or corporate legal names when probing mode=\"ofac_sanctions\"."
    • addedInput schema / properties / entityNames / items / maxLength
      Added value: +200
    • addedInput schema / properties / entityNames / maxItems
      Added value: +25
    • addedInput schema / properties / entityNames / minItems
      Added value: +1
    • changedInput schema / properties / geo / description
      Previous value: -"2-letter country code when probing google-trends (e.g. \"US\", \"JP\")."New value: +"2-letter ISO country code when probing google-trends (e.g. \"US\", \"JP\")."
    • addedInput schema / properties / geo / maxLength
      Added value: +2
    • addedInput schema / properties / geo / pattern
      Added value: +"^[A-Za-z]{2}$"
    • addedInput schema / properties / holeNumber / maximum
      Added value: +18
    • addedInput schema / properties / holeNumber / minimum
      Added value: +1
    • changedInput schema / properties / keyword / description
      Previous value: -"Search keyword when probing google-trends or Japanese public data streams."New value: +"Search keyword when probing search trends or Japanese public data streams."
    • addedInput schema / properties / keyword / maxLength
      Added value: +120
    • changedInput schema / properties / lei / description
      Previous value: -"20-character ISO 17442 LEI (Mod 97-10 validated, e.g. \"5493006W3QUS5LMH6R84\") when probing jp-entity-reputation with mode=\"gleif_lei\"."New value: +"20-character ISO 17442 LEI (Mod 97-10 validated, e.g. \"5493006W3QUS5LMH6R84\") when probing mode=\"gleif_lei\"."
    • addedInput schema / properties / lei / maxLength
      Added value: +20
    • addedInput schema / properties / lei / pattern
      Added value: +"^[A-Za-z0-9]{20}$"
    • changedInput schema / properties / leis / description
      Previous value: -"Batch of 20-character ISO 17442 LEI codes."New value: +"Batch of 1 to 25 20-character ISO 17442 LEI codes."
    • addedInput schema / properties / leis / items / maxLength
      Added value: +20
    • addedInput schema / properties / leis / maxItems
      Added value: +25
    • addedInput schema / properties / leis / minItems
      Added value: +1
    • addedInput schema / properties / limit / default
      Added value: +25
    • changedInput schema / properties / limit / description
      Previous value: -"Optional row scan limit (free probes cap internal scan budget at 25 rows)."New value: +"Optional row scan limit (1 to 25, default 25; free probes cap internal scan budget at 25 rows)."
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / prefecture / maxLength
      Added value: +32
    • addedInput schema / properties / prefectureCode / maxLength
      Added value: +2
    • addedInput schema / properties / prefectureCode / pattern
      Added value: +"^(0[1-9]|[1-3][0-9]|4[0-7])$"
    • changedInput schema / properties / query / description
      Previous value: -"Facility/station/golf-course query string when probing POI or ANSR golf streams."New value: +"Facility/station/golf-course query string when probing spatial or ANSR golf streams."
    • addedInput schema / properties / query / maxLength
      Added value: +120
    • changedInput schema / properties / secCode / description
      Previous value: -"4- or 5-digit Japanese securities code when probing jp-edinet-financial-macro-feed or mode=\"edinet_gc_amendments\"."New value: +"4- or 5-digit Japanese securities code when probing securities filings or mode=\"edinet_gc_amendments\"."
    • addedInput schema / properties / secCode / maxLength
      Added value: +5
    • addedInput schema / properties / secCode / pattern
      Added value: +"^[0-9A-Za-z]{4,5}$"
    • changedInput schema / properties / streamId / default
      Previous value: -"domain-lookup"New value: +"domain-intel"
    • changedInput schema / properties / streamId / description
      Previous value: -"Target B2A stream ID to probe (e.g. domain-lookup, ats-jobs, google-trends, jp-company-kyb-registry-delta, ansr-golf-ev-engine, jp-places-poi-geospatial-intel, olipai-jp-tcg-collectibles-market, jp-academic-rnd-patent-citation-feed, jp-entity-reputation)."New value: +"Target B2A stream identifier from the 16-stream enum to pre-check record availability and 24h freshness."
    • changedInput schema / properties / streamId / enum
      Previous value: -[
      -  "domain-lookup",
      -  "ats-jobs",
      -  "google-trends",
      -  "jp-court-real-estate-auctions",
      -  "jp-company-kyb-registry-delta",
      -  "jp-giteki-tenders-intel",
      -  "cisa-kev-threat-ai-status",
      -  "jp-healthcare-hospitals-directory",
      -  "jp-edinet-financial-macro-feed",
      -  "jp-patent-saas-b2a-delta",
      -  "jp-real-economy-geospatial-feed",
      -  "ansr-golf-ev-engine",
      -  "jp-places-poi-geospatial-intel",
      -  "olipai-jp-tcg-collectibles-market",
      -  "jp-academic-rnd-patent-citation-feed",
      -  "jp-entity-reputation"
      -]New value: +[
      +  "ansr-golf-ev-engine",
      +  "ats-jobs",
      +  "cyber-kev-status",
      +  "domain-intel",
      +  "google-trends",
      +  "jp-academic-biotech",
      +  "jp-area-hazard-poi",
      +  "jp-entity-reputation",
      +  "jp-foreclosure-bit",
      +  "jp-macro-edinet",
      +  "jp-medical-navii",
      +  "jp-patent-b2a",
      +  "jp-procurement-giteki",
      +  "jp-registry-diff",
      +  "jp-tcg-index",
      +  "jp-wholesale-macro"
      +]
    • addedInput schema / properties / targetKey / maxLength
      Added value: +256
    • changedInput schema / properties / walletAddress / description
      Previous value: -"Blockchain wallet address (e.g. \"0x...\", \"TNiq9AXBp9EjUqhDhrwrfvAA8U3GUQZH81\") when probing jp-entity-reputation with mode=\"ofac_sanctions\"."New value: +"Blockchain wallet address (e.g. \"0x...\", \"TNiq9AXBp9EjUqhDhrwrfvAA8U3GUQZH81\") when probing mode=\"ofac_sanctions\"."
    • addedInput schema / properties / walletAddress / maxLength
      Added value: +128
    • changedInput schema / properties / walletAddresses / description
      Previous value: -"Batch of blockchain wallet addresses for OFAC organizational sanctions screening."New value: +"Batch of 1 to 25 blockchain wallet addresses for OFAC dataset availability probing."
    • addedInput schema / properties / walletAddresses / items / maxLength
      Added value: +128
    • addedInput schema / properties / walletAddresses / maxItems
      Added value: +25
    • addedInput schema / properties / walletAddresses / minItems
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "currentHash": {
      +      "description": "64-character hex SHA-256 content digest when recordExists is true, or null when not in stock.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "freshWithin24h": {
      +      "description": "True when the target observation or dataset snapshot was verified within the past 24 hours.",
      +      "type": "boolean"
      +    },
      +    "matchedCount": {
      +      "description": "Matched record count in the bounded probe window (null when redacted for paid OFAC screening).",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "ok": {
      +      "description": "True when the free 1st-floor inventory probe completed without error.",
      +      "type": "boolean"
      +    },
      +    "paidEndpoint": {
      +      "description": "Ready-to-call x402 HTTP endpoint URL pre-populated with the probed query parameters.",
      +      "type": "string"
      +    },
      +    "probedAt": {
      +      "description": "ISO-8601 UTC timestamp when this free probe was executed.",
      +      "type": "string"
      +    },
      +    "recordExists": {
      +      "description": "True when matching structured records or dataset snapshots are currently in stock.",
      +      "type": "boolean"
      +    },
      +    "sealStatus": {
      +      "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the probed dataset.",
      +      "type": "string"
      +    },
      +    "streamId": {
      +      "description": "Resolved B2A data stream identifier that was probed.",
      +      "type": "string"
      +    },
      +    "targetKey": {
      +      "description": "Normalized deterministic ledger target key inspected for availability.",
      +      "type": "string"
      +    },
      +    "x402PriceUsd": {
      +      "description": "Base Mainnet USDC price for instant x402 pay-per-request execution (e.g. \"$0.006\").",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "streamId",
      +    "targetKey",
      +    "recordExists",
      +    "currentHash",
      +    "freshWithin24h",
      +    "sealStatus",
      +    "x402PriceUsd",
      +    "probedAt"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

A3.7/5.0
Behavior4/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 the description adds real value on top: it states the $0 cost and no-auth requirement, the 24h freshness window, the 25-row scan cap, and that results are ordered by target match. What's missing is what a caller sees when a stream has no matching stock (empty status vs error), which matters for the pre-check use case.

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 sentences, front-loaded with cost and safety, then the calling convention, then the sibling routing note. The middle sentence is very terse for a 41-parameter tool but nothing is padded or redundant.

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?

With an output schema present and 100% schema description coverage, the description covers everything an agent needs to decide and call: purpose, cost, auth, defaults, and the alternate tool for schemas. The residual gap is a per-stream summary of which parameter set accompanies each streamId, which is dispersed across the schema rather than consolidated here.

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% and each of the 41 parameters carries a stream-scoped description, so the schema does the heavy lifting. The description only illustrates four parameters (corporateNumber, domain, lei, boardSlug) and the defaults, leaving most of the stream-specific parameter combinations to the schema; 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 uses a specific verb and resource: a "read-only, idempotent pre-check of record existence and 24h freshness across 16 streams" that "returns stock status ordered by target match." This makes clear it checks availability rather than returning the underlying records, which distinguishes it from the query_* siblings, though it never states that distinction explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives cost/context ("Free ($0, no auth)") and one explicit routing rule: "For stream schemas, use list_data_streams instead." What it does not say is when to call this versus a sibling such as query_domain_posture or query_corporate_registry, nor that a probe should precede a full query; an agent must infer the pre-check workflow from the word "pre-check."

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