Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

GDP growth (quarterly)

am_gdp
Read-onlyIdempotent

Query Iran's official GDP growth by quarter or year and compare agriculture, industry, and services, including oil-excluded growth, for economic analysis.

Instructions

Get Iran's official GDP growth by quarter or year, with the main sectors, latest first.

Base year 1400. growth_pct is year-on-year at constant prices; gdp_ex_oil_pct leaves out oil and gas; sector growth for agriculture, industry, services. Levels in billion rials. Full tables: am_table with source.release.

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

Input Schema

NameRequiredDescriptionDefault
periodsNoLatest quarters (or years)
frequencyNoQuarterly or yearlyquarterly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / frequency / description
      Previous value: -"quarterly national accounts or yearly totals"New value: +"Quarterly or yearly"
    • changedInput schema / properties / periods / description
      Previous value: -"How many latest quarters (or years)"New value: +"Latest quarters (or years)"
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive), and the description layers on substantive behavior the agent could not otherwise infer: base year 1400, that growth_pct is year-on-year at constant prices, that gdp_ex_oil_pct excludes oil and gas, that sector growth covers agriculture/industry/services, and that levels are in billion rials. These are real semantic disclosures about the returned measures, not restatements of the annotations.

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 tight paragraphs with the primary purpose and scope front-loaded, followed by a short block of field-level semantics. No filler sentences; every clause conveys usable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining return values and does so thoroughly (metric definitions, units, base year, sector breakdown, ordering). For a two-parameter read-only lookup with full annotation coverage, nothing material is left ambiguous.

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 'periods' (latest N, 1-60, default 8) and 'frequency' (quarterly/annual) are already fully documented. The description's 'by quarter or year' and 'latest first' reinforce ordering but add little beyond the schema text, so the baseline of 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 official GDP growth') plus the granularity (quarter or year) and what comes back (main sectors, latest first). Against siblings like am_inflation, am_ppi and am_labour_force, the indicator is unmistakable, and the pointer to am_table further clarifies the boundary.

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 clear context for when this is the right tool (headline GDP growth by quarter/year) and explicitly routes the agent to am_table with `source.release` when full tables are needed. It does not state any when-not-to-use conditions beyond that single alternative, so it stops short of a 5.

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