Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

Inflation by CPI group

am_inflation_groups
Read-onlyIdempotent

Compare official inflation across CPI groups such as food, housing, transport, and health for a chosen month and region to identify which household expense categories rose or fell.

Instructions

Compare official inflation across CPI groups (food, housing, transport, health...) for one month.

Per main group: index, monthly_pct, point_to_point_pct, twelve_month_avg_pct. For one group's history use am_inflation with group.

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_inflation_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoJalali YYYY-MM (e.g. '1405-06'); omit for latest
regionNoHouseholds: all of Iran, urban or ruralnational

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / period / description
      Previous value: -"Month as YYYY-MM (e.g. '1405-06'); omit for the latest month"New value: +"Jalali YYYY-MM (e.g. '1405-06'); omit for latest"
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so the description doesn't need to restate safety. It adds useful context by enumerating the returned fields per main group (index, monthly_pct, point_to_point_pct, twelve_month_avg_pct), which the absent output schema would otherwise leave unknown.

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 short sentences plus a compact field list, with the purpose front-loaded before the alternative-route hint. Nothing is wasted, though the field list is dense shorthand that could be slightly clearer.

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 two-parameter read tool, the description covers purpose, the return fields, and the main alternative route, which is enough to call it correctly. It omits any mention of region semantics or default-period behavior, but the schema already carries those.

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 period and region are already documented, including the Jalali format and the default. The description's 'for one month' hints at the period parameter but adds no format or default detail, so it sits at the baseline for high-coverage schemas.

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?

The description states a specific verb and resource (compare official inflation across CPI groups) and scopes it to one month, naming concrete groups. It also distinguishes itself from the sibling am_inflation, which handles a single group's history.

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?

It clearly routes the agent to am_inflation when the need is one group's history rather than a cross-group comparison. It gives no explicit exclusions or prerequisites, but the primary alternative is named with the condition that selects it.

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