Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

Producer price index

am_ppi
Read-onlyIdempotent

Retrieve Iran's quarterly producer price index by sector, with index values and quarterly, point-to-point, and annual percentage changes for the latest quarters.

Instructions

Get Iran's producer price index (PPI, factory-gate prices) by quarter and sector, latest first.

Per quarter: index (100 = 1400), quarterly_pct, point_to_point_pct, annual_pct (4-quarter average). Detailed PPI series are separate releases: am_search('شاخص قیمت تولید کننده') then am_table.

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": "am_ppi"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectorNoPersian name part: 'كل' (default), 'كشاورزي', 'معدن', 'صنعت', 'برق', 'خدمات'
quartersNoHow many latest quarters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / sector / description
      Previous value: -"Persian name part: 'كل' (default, all sectors), 'كشاورزي', 'معدن', 'صنعت', 'برق', 'خدمات'"New value: +"Persian name part: 'كل' (default), 'كشاورزي', 'معدن', 'صنعت', 'برق', 'خدمات'"
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so safety is covered. Beyond that the description discloses ordering ('latest first'), the index base (100 = 1400), and the four returned metrics with what annual_pct actually means (4-quarter average) — context the annotations cannot provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short paragraphs, front-loaded with purpose and scope, followed by the return-value legend and the alternative path. Every sentence carries information; there is no filler or restatement of the tool name.

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?

There is no output schema, but the description compensates by enumerating the returned fields and their meaning, which is what an agent needs to interpret results. Default behavior (sector 'كل', 8 quarters) is left to the schema, which covers it, so the remaining gap is minor.

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%, with both sector enumeration values and the quarters 1–60 bound documented in the schema itself. The description restates the quarter/sector framing but adds no format or interpretation guidance for the parameters beyond what the schema already supplies, so the 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 and resource ('Get Iran's producer price index (PPI, factory-gate prices)') with explicit scope (by quarter and sector, latest first). It also distinguishes itself from the detailed PPI series, which the description says live in separate releases reachable via am_search/am_table, so an agent can tell it apart from siblings like am_inflation or am_table.

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 a concrete routing rule: for detailed PPI series, use am_search('شاخص قیمت تولید کننده') followed by am_table. It does not explain when to prefer am_inflation or am_inflation_groups over this tool, but the detailed-series alternative is clearly handled.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.