Skip to main content
Glama

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

query_wholesale_markets

Read-onlyIdempotent

Read-only, idempotent query of Toyosu and Ota wholesale produce and seafood prices and MIC e-Stat price series (API key or x402; daily). Pass feedType and commodity keyword (default feedType="all", limit=50, offset=0); returns market records ordered by trade date descending. Note: For 3D hazards, use query_seismic_hazards 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_wholesale_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum wholesale market or e-Stat records to return (1 to 200, default 50).
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically.
keywordNoCommodity name, wholesale market item, or e-Stat statistical series keyword filter.
feedTypeNoFeed filter: "wholesale_market" (Toyosu/Ota produce & seafood prices), "estat_macro" (MIC e-Stat price & housing series), or "all".all

Output Schema

NameRequiredDescriptionDefault
itemsYesToyosu and Ota wholesale produce/seafood market price snapshots and MIC e-Stat statistical series ordered by trade date descending.
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

A3.9/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 the safety profile is covered. The description adds genuine context beyond that: an API key or x402 payment requirement, daily update cadence, and descending trade-date ordering. It stops short of noting paging limits of the underlying feed or rate/quota behavior under x402.

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?

A single dense, front-loaded block that puts capability first, then parameters, then the sibling exclusion. The semicolon-heavy phrasing and the parenthetical '(API key or x402; daily)' are slightly compressed but nothing is wasted.

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, return structure need not be described, and the description still covers auth method, freshness, ordering, defaults and disambiguation. Only edge behaviors such as empty results or feed-specific latency are absent.

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 every parameter including limits, enum values and defaults is already documented in structured form. The description restates the defaults and describes keyword as a commodity/market item/e-Stat series filter, adding little meaning beyond the schema. Baseline 3 applies.

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 plus the exact resources: Toyosu and Ota wholesale produce and seafood prices and MIC e-Stat price series. The feedType enum mirrors that scope, so an agent can tell immediately what domain this covers and distinguish it from siblings.

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 concrete invocation guidance ('Pass feedType and commodity keyword (default feedType="all", limit=50, offset=0)') and one explicit exclusion routing 3D hazard requests to query_seismic_hazards. It lacks guidance on when to choose feedType="all" versus a specific feed, but the when-to-use context is otherwise clear.

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.