Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

Macro indicators

am_indicators
Read-onlyIdempotent

Read monthly macro-indicator workbooks to browse trade, housing, money, budget, prices by decile, and other tables by topic or table name.

Instructions

Read the Centre's monthly macro-indicators workbook: trade, housing, money, budget, prices by decile and more.

About 100 small tables on 12 subjects. No arguments lists topics; topic lists its tables; topic plus table gives data (rows are [label, values...]; placeholders are null). Data end dates differ per table (housing price stops at 1400, trade at 1404). No id needed.

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

Input Schema

NameRequiredDescriptionDefault
findNoOnly rows whose first cell has this text (year, province...)
lastNoRows: latest in a time table, else first
tableNoTable number from the topic's list, or Persian title words ('اجاره')
topicNoSubject sheet: population (and labour, education), household (income, expenditure, Gini, deciles), accounts, prices (CPI by decile or province, PPI, food), money, budget, trade, stock, energy, industry, housing (permits, price, rent), agriculture. Omit to list topics.
max_colsNoColumns
col_offsetNoColumns to skip on the left

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / col_offset / description
      Previous value: -"Skip this many columns on the left (wide tables)"New value: +"Columns to skip on the left"
    • changedInput schema / properties / find / description
      Previous value: -"Only rows whose first cell contains this text (a year, province, month...)"New value: +"Only rows whose first cell has this text (year, province...)"
    • changedInput schema / properties / last / description
      Previous value: -"Rows to return: the latest ones in a time table, else the first"New value: +"Rows: latest in a time table, else first"
    • changedInput schema / properties / max_cols / description
      Previous value: -"Columns to return"New value: +"Columns"
    • changedInput schema / properties / table / description
      Previous value: -"Table number from the topic's list, or Persian words of its title (e.g. 'اجاره', 'دهک')"New value: +"Table number from the topic's list, or Persian title words ('اجاره')"
    • changedInput schema / properties / topic / description
      Previous value: -"Subject sheet: population (and labour, education), household (income, expenditure, Gini, deciles), accounts (national accounts), prices (CPI by decile or province, PPI, food prices), money, budget (government finance), trade (exports, imports, balance of payments), stock, energy, industry, housing (permits, price and rent), agriculture. Omit to list all topics."New value: +"Subject sheet: population (and labour, education), household (income, expenditure, Gini, deciles), accounts, prices (CPI by decile or province, PPI, food), money, budget, trade, stock, energy, industry, housing (permits, price, rent), agriculture. Omit to list topics."
  2. First observedv0.1.1

TDQS

A4/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, open-world behaviour, so the lower bar applies. The description still adds non-obvious context: data end dates differ per table (housing stops at 1400, trade at 1404) and missing cells are null placeholders, which warns the agent that freshness is table-specific.

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 dense sentences with the query-escalation pattern front-loaded and no filler. The opening 'and more' is loose padding, but the rest of the text is tightly packed with navigation and format facts.

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 6-parameter, all-optional read tool with no output schema, the description covers the calling pattern, the row layout and the per-table date variance. What it lacks is any guidance on when to prefer the dedicated sibling tools or how to page through a very large table.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: the escalation semantics of `topic` then `topic`+`table`, and the row shape '[label, values...]; placeholders are null'. The `find`, `last`, `max_cols` and `col_offset` windows are left entirely to the schema.

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?

Specific verb plus resource: 'Read the Centre's monthly macro-indicators workbook', with scope spelled out ('about 100 small tables on 12 subjects'). It does not name sibling tools (am_table, am_inflation, am_gdp) to explain when to use this versus a dedicated indicator tool, so it falls short of 5.

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 clear three-step navigation recipe: no arguments lists topics, `topic` lists its tables, `topic` plus `table` returns data. It also states 'No id needed', pre-empting a common mistake. It offers no exclusions or comparison to sibling tools for overlapping subjects like inflation or GDP.

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