Skip to main content
Glama
iran-news-mcp

iran-news-mcp

by sepehr071

List news sources

nw_list_sources
Read-onlyIdempotent

Discover valid source and category slugs for Iranian news outlets before querying. Returns each source's group (news, tech, sports) and IDs to pass into search or latest-news tools.

Instructions

List the news sources with their group and category slugs; call this first to know valid source and category values.

group: news, tech or sports; pass a group's ids as sources to nw_search / nw_latest_all.

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": "nw_list_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so safety is covered; the description adds the useful detail that results are grouped and that group ids can be reused as a `sources` filter. It does not disclose result size, ordering, or pagination, which keeps it below a 5 for a discovery call whose output size drives the agent's next step.

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?

Very short and front-loaded: the verb+resource leads, the sequencing instruction follows, and the group semantics are a compact trailing note. Formatting with inline code for `source`, `category`, and `sources` aids scanning; nothing is redundant.

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 zero-parameter, read-only discovery tool with no output schema, the description covers what it returns (sources plus group and category slugs) and why it matters. It stops short of describing the concrete response shape or counting behavior, which would fully close the gap left by the absent output schema.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing schema-side to compensate for. The description goes slightly beyond by explaining how returned values map onto parameters of sibling tools and what the `group` values are (news, tech, sports).

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 news sources") and immediately scopes the output ("with their group and category slugs"). It also differentiates itself from the sibling search/latest tools by positioning itself as the discovery step that yields valid `source` and `category` values.

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

Usage Guidelines5/5

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

Gives an explicit directive on when to call it ("call this first") and names the concrete downstream tools it feeds (`nw_search` / `nw_latest_all`). An agent knows both the trigger and the follow-up action without opening any schema.

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