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 query of Toyosu and Ota wholesale produce/seafood prices and MIC e-Stat price series. Pass feedType and keyword (default feedType="all", limit=50, offset=0); returns items ordered by date. Note: For 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
limitNoMax rows returned.
offsetNoPagination offset.
keywordNoSearch keyword.
feedTypeNoSource feed filter.all

Output Schema

NameRequiredDescriptionDefault
itemsNoWholesale & e-Stat items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • changedInput schema / properties / feedType / description
      Previous value: -"Feed filter: \"wholesale_market\" (Toyosu/Ota produce & seafood prices), \"estat_macro\" (MIC e-Stat price & housing series), or \"all\"."New value: +"Source feed filter."
    • changedInput schema / properties / keyword / description
      Previous value: -"Commodity name, wholesale market item, or e-Stat statistical series keyword filter."New value: +"Search keyword."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum wholesale market or e-Stat records to return (1 to 200, default 50)."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."
    • 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: -"Toyosu and Ota wholesale produce/seafood market price snapshots and MIC e-Stat statistical series ordered by trade date descending."New value: +"Wholesale & e-Stat 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

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, openWorld=false, so the safety profile is covered. The description adds value beyond that by disclosing that results are 'ordered by date' and restating the default feedType/limit/offset behavior, which affects result ordering and paging. It does not discuss result caps at the maximum limit or rate limits, so not a full 5.

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 compact sentences, front-loaded with the purpose before paging details and the sibling redirect. The parenthetical of default values slightly duplicates the schema, a small amount of redundant text, but nothing is padded or unstructured.

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?

An output schema exists, so return values need not be described, and annotations carry the safety profile. The description still supplies source scope, ordering, and an alternative-tool redirect, which is sufficient for a 4-parameter read tool. The only residual gap is what the two feed sources contain and how keyword interacts with each.

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 all four parameters are already documented with defaults, ranges, and an enum. The description only echoes the defaults for feedType, limit, and offset and names keyword without adding search semantics (e.g., what fields keyword matches). Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and a precisely scoped resource: 'Read-only query of Toyosu and Ota wholesale produce/seafood prices and MIC e-Stat price series.' The scope is narrow enough to separate it from every listed sibling, and it identifies both underlying data sources.

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 an explicit exclusion with a named alternative: 'For hazards, use query_seismic_hazards instead.' That is genuine when-not guidance. However, it does not explain how to choose between feedType values (all vs wholesale_market vs estat_macro), leaving the main selection decision to the enum's self-descriptive values.

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.