Skip to main content
Glama

Newsapi Sources

newsapi_sources
Read-onlyIdempotent

Return available NewsAPI publisher sources, filterable by category, language, and country. Returns source id, name, description, URL, and category, use source ids to filter top_headlines or everything.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "business",
      "language": "en"
    },
    "name": "newsapi_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNo
categoryNo
languageNo

Output Schema

NameRequiredDescriptionDefault
statusNoAPI response status
sourcesNoArray of news source objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is fully covered. The description's main behavioral addition is the downstream coupling to other endpoints; the enumerated return fields largely restate the existing output schema, and it says nothing about result volume, paging, or invalid-filter behavior.

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 sentences with the capability front-loaded and the practical payoff second. The second sentence is slightly overloaded with a comma splice between the return-field list and the downstream-usage clause, which could be split for readability.

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 an output schema present, return values need no elaboration, and rich annotations cover the safety profile, so the description only needed to convey purpose, filters, and downstream use — all of which it does. Nothing essential for a correct first call is missing.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries real weight here, and it does identify the three filters (category, language, country) and that they are optional narrowing criteria. However it adds no value formats — no category vocabulary, no language/country code conventions — leaving semantics to the schema's bare string types and its two examples.

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 ('Return available NewsAPI publisher sources') plus the filter dimensions, and distinguishes itself from siblings by explaining that returned source ids feed 'top_headlines' or 'everything'. An agent knows exactly what this tool yields and why it exists.

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?

The closing clause makes the use case explicit: call this to obtain source ids before filtering news queries. What's missing is any negative guidance (e.g., when to skip source lookup and query the news endpoints directly), so it stops short of full when/when-not coverage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.