Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

News and press releases

am_news
Read-onlyIdempotent

List or read official Statistical Centre of Iran news and press releases; filter items by Persian query, or fetch full text and categories by id.

Instructions

List the latest news and press releases of the Statistical Centre of Iran, or read one item.

Without id: newest items (id, title, summary, GMT time, url), filtered by query. With id: the item's date, categories and text (cut at 4000 characters). For announcements; numbers are in the data tools.

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

Input Schema

NameRequiredDescriptionDefault
idNoNews id from the list, to read its text
countNoHow many latest items for the list
queryNoPersian words that must all appear in title or summary (list mode)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / count / description
      Previous value: -"How many latest items to fetch for the list (newest first)"New value: +"How many latest items for the list"
    • changedInput schema / properties / id / description
      Previous value: -"News item id from the list, to read its text"New value: +"News id from the list, to read its text"
    • changedInput schema / properties / query / description
      Previous value: -"Persian words that must all appear in the title or summary (list mode)"New value: +"Persian words that must all appear in title or summary (list mode)"
  2. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds real behavior beyond that: the fields returned in each mode and the notable constraint that detail text is "cut at 4000 characters," which prevents an agent from assuming it has the full article. No pagination or ordering guarantees are given, keeping it short of a 5.

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 tight paragraphs, front-loaded with purpose and then the two modes, with zero filler. The telegraphic final clause ("For announcements; numbers are in the data tools.") is efficient but slightly clipped in its punctuation, a minor readability cost.

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 return-value burden and does so, enumerating list fields (id, title, summary, GMT time, url) and detail fields (date, categories, text) plus the truncation limit. Combined with a fully documented three-parameter schema and safe annotations, nothing an agent needs to call this correctly is missing.

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 description coverage is 100%, so the baseline is 3, but the description adds mode dependency the schema only hints at: `query` is scoped to list mode, and `id` switches the whole call into single-item read mode. It also clarifies that query matches Persian words in title or summary, reinforcing the schema rather than merely repeating it.

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 ("List the latest news and press releases of the Statistical Centre of Iran, or read one item") and makes the dual list/detail nature explicit up front. It also draws the boundary against the numeric siblings with "For announcements; numbers are in the data tools," so an agent can separate it from am_gdp, am_inflation, am_ppi and friends without opening a schema.

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 an explicit mode-selection rule: omit `id` to browse newest items, supply `id` to read one item's full text. It also excludes numeric lookups by pointing them at the data tools. The only gap is that it never contrasts itself with the closer sibling am_search, which an agent might otherwise reach for when it wants filtered text.

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