Skip to main content
Glama

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

query_regulatory_recalls

Read-onlyIdempotent

Read-only query of CAA recalls, plant codes, PRTR facilities, and notices in 47 prefectures. Pass category or keyword (default category="all", limit=50, offset=0); returns items ordered by date. Note: For KYB, use query_corporate_registry 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_regulatory_recalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows returned.
offsetNoPagination offset.
keywordNoSearch keyword.
categoryNoCategory filter.all
corporateNumberNo13-digit JP JCN.

Output Schema

NameRequiredDescriptionDefault
itemsNoCAA/PRTR/KYB delta items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Daily delta category filter across NTA registry changes, invoice expirations/registrations, MHLW labor referrals, FSA warnings, Kanpo notices, or CAA product recalls."New value: +"Category filter."
    • changedInput schema / properties / corporateNumber / description
      Previous value: -"13-digit Japanese Corporate Number filter (e.g. \"6010001269339\")."New value: +"13-digit JP JCN."
    • changedInput schema / properties / keyword / description
      Previous value: -"Company name, product name, or statutory event keyword filter."New value: +"Search keyword."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum delta records to return (1 to 250)."New value: +"Max rows returned."
    • 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": "Nationwide Japanese prefecture filter across all 47 prefectures (e.g. \"東京都\", \"愛知県\", \"福岡県\").",
      -  "maxLength": 32,
      -  "type": "string"
      -}
    • 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: -"CAA consumer product recalls, MHLW labor guidance, FSA warnings, and statutory delta notices ordered by publication date descending."New value: +"CAA/PRTR/KYB delta items."
    • 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. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructive=false, openWorld=false. Description adds ordering ('returns items ordered by date') which is genuine behavioral context. It does not mention max limit 250, offset cap, or rate limits — though schema carries those bounds.

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 compact sentences, defaults front-loaded, exclusion at end. Slightly cramped by parenthetical defaults that duplicate the schema.

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?

Output schema exists so return values needn't be described. However, the description's resource list (plant codes, PRTR facilities, notices) doesn't align with the category enum values, leaving an agent unclear which categories map to which resource — a meaningful gap for a multi-domain query tool.

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%, so baseline 3. Description restates defaults and the ordering of results, but adds no semantic meaning to keyword/corporateNumber beyond 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?

Clear verb+resource: read-only query of CAA recalls, plant codes, PRTR facilities, notices across 47 prefectures. Specific, though the enumerated resources don't match the category enum well (invoice_expirations, new_incorporations, fsa_warnings), creating a slight mismatch about scope.

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 explicit defaults (category='all', limit=50, offset=0) and a routing exclusion: 'For KYB, use query_corporate_registry instead.' No broader when-not guidance, but the sibling redirect is concrete.

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.