Skip to main content
Glama

get_food_price_series

Monthly PIHPS Nasional (Bank Indonesia) price series, in Rp/kg, for one province and one staple food from May 2017; each point is the price on the first day of the month with data (observed_on). Optional from and to months.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLast month, optional
fromNoFirst month, optional
commodityYesCommodity code from list_food_commodities
province_codeYesKemendagri province code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the data source (PIHPS Nasional / Bank Indonesia), units (Rp/kg), the monthly granularity, the start boundary (May 2017), and the key quirk that each point is the price on the first day of the month with data (observed_on). It is weaker on what the response shape or missing-month behavior looks like, but the semantic quirks are well covered.

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 sentence front-loads the source, units, and scope, followed by a short note on optional range bounds. Nearly every clause earns its place; the trailing 'Optional from and to months' fragment is slightly clipped but useful.

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?

For a 4-parameter read tool with no annotations and no output schema, the description covers source, units, granularity, observation-date semantics, and the temporal start point. It stops short of stating whether from/to are inclusive and how out-of-range or empty periods behave, which are the remaining gaps for an agent planning queries.

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 the schema already documents all four parameters, including the pattern for from/to and the enum for commodity. The description adds only marginal context ('optional from and to months', the May 2017 lower bound, units), which does not go far beyond the structured fields. 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?

States a specific verb+resource: a monthly PIHPS Nasional price series in Rp/kg for one province and one commodity. The 'series ... from May 2017' framing implicitly separates it from the sibling get_food_prices_latest, but no sibling is named explicitly, which keeps it just short of a 5.

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?

Usage is only implied: the historical, monthly nature of the series suggests analysis over time, and 'Optional from and to months' hints that ranges are the normal call pattern. There is no explicit statement of when to prefer this over get_food_prices_latest or get_het_prices, nor any exclusions or prerequisites.

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