Skip to main content
Glama
amar-mcp

amar-mcp

by sepehr071

Get one release

am_release
Read-onlyIdempotent

Fetches one statistical release from amar.org.ir by ID: title, topic path, period, and downloadable files. Use after searching; Excel files open via am_table, PDF/Word are links.

Instructions

Get one statistical release from amar.org.ir: title, topic path, period and its downloadable files.

Use after am_search. Read Excel files with am_table (same id); PDF and Word are links only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "am_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRelease id from am_search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Release id from am_search, e.g. 58298"New value: +"Release id from am_search"
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's job is to add behavior, which it does: it names the return payload and warns that PDF and Word attachments are 'links only' rather than extracted content. That limitation is the key non-obvious trait for an agent deciding whether this tool suffices or am_table is needed.

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 sentences: payload first, then routing and the file-format caveat. No redundant restatement of the name or annotations, and nothing that could be trimmed without losing 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?

There is no output schema, so the description must convey what comes back, and it does (title, topic path, period, downloadable files) while flagging that non-Excel attachments are not parsed. For a single-parameter read tool with full annotation coverage, nothing an agent needs in order to call it 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?

With a single parameter at 100% schema coverage, the schema already says 'Release id from am_search'. The description reinforces provenance ('after am_search') and adds that the same id is reused by am_table, which is useful cross-tool semantics beyond the schema.

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 one statistical release from amar.org.ir') and enumerates what the record contains (title, topic path, period, downloadable files). An agent can tell it apart from the list-oriented am_search and the file-oriented am_table without opening any 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?

'Use after am_search' gives an explicit prerequisite/sequencing cue, and 'Read Excel files with am_table (same id)' names the alternative tool plus the condition that selects it. It stops short of stating when-not to call it or what to do if the id is already known, so a 4 rather than a 5.

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