Skip to main content
Glama
iran-news-mcp

iran-news-mcp

by sepehr071

Latest news from a source

nw_latest
Read-onlyIdempotent

Fetch current headlines from a selected news source, optionally by category, returning titles, URLs, timestamps, summaries, and stale-feed status.

Instructions

Return the newest headlines of one news source, optionally of one category.

Items have title, url, published (UTC ISO), summary and categories. stale: true means the newest story is over 3 days old.

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": {
      "source": "<source>"
    },
    "name": "nw_latest"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items (1-15), newest first.
sourceYesSource id such as mehr, tabnak or varzesh3 (see nw_list_sources).
categoryNoSlug from nw_list_sources, e.g. 'economy', 'sports'. Empty = main feed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / category / description
      Previous value: -"Category slug from nw_list_sources, e.g. 'politics', 'economy', 'sports'. Empty = the source's main latest feed."New value: +"Slug from nw_list_sources, e.g. 'economy', 'sports'. Empty = main feed."
  2. Changed1 schema field changedv0.2.2
    • changedInput schema / properties / source / description
      Previous value: -"Source id: mehr, khabaronline, hamshahri, tabnak, zoomit or digiato (see nw_list_sources)."New value: +"Source id such as mehr, tabnak or varzesh3 (see nw_list_sources)."
  3. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered by structured data. The description adds real value beyond that by enumerating the item fields (title, url, published, summary, categories) and explaining the `stale: true` flag as 'newest story is over 3 days old', which is behavioral semantics no annotation conveys. It stops short of stating ordering/pagination or what an empty or invalid source yields.

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 sentences, front-loaded with purpose, then a compact field/key glossary including the non-obvious `stale` flag. No filler, no repetition of schema details.

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?

With no output schema, the description does the necessary work of describing the return shape and the stale flag, which is exactly what the agent cannot get elsewhere. The remaining gap is routing guidance against the four sibling tools, which matters given how easily nw_latest is confused with nw_latest_all.

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; the description pushes slightly above it by clarifying that category narrows to a single category and by giving meaning to the returned categories field. It doesn't restate limit bounds or the empty-category default, but the schema handles those fully.

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?

States a specific verb and resource ('Return the newest headlines of one news source') plus an optional narrowing ('optionally of one category'). It does not name the sibling nw_latest_all, which is the obvious near-duplicate, so the differentiation from that tool is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through 'of one news source, optionally of one category', which tells the agent this is source-scoped rather than global. However, it never explicitly says when to choose this over nw_latest_all, nw_search, or nw_article, and it does not name the prerequisite nw_list_sources call for valid ids (that hint lives only in the schema).

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