Skip to main content
Glama

Sources

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNo
categoryNo
languageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoAPI response status
sourcesNoArray of news source objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "category": "business",
      +    "language": "en"
      +  },
      +  {
      +    "country": "gb"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "sources": {
      +      "description": "Array of news source objects",
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "description": "News category",
      +            "type": "string"
      +          },
      +          "country": {
      +            "description": "Country code",
      +            "type": "string"
      +          },
      +          "description": {
      +            "description": "Source description",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Source ID",
      +            "type": "string"
      +          },
      +          "language": {
      +            "description": "Language code",
      +            "type": "string"
      +          },
      +          "name": {
      +            "description": "Source name",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Source URL",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "API response status",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering safety. The description adds domain-specific behavior: sources are filterable by category, language, and country, and returns specific fields (id, name, description, URL, category) without contradicting annotations.

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 totaling 31 words, front-loaded with the action ('Return available NewsAPI publisher sources'). Every sentence earns its place, with no fluff or repetition of structured data.

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?

The tool has three optional parameters, no enums, and an output schema. The description covers purpose, filters, and downstream use, which is largely complete. It omits default behavior when no filters are applied, but given the simplicity and annotation richness, the description is adequate.

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 coverage is 0% (parameters are just type 'string' with no descriptions), so the description must compensate. It names all three parameters and clarifies they act as filters, but does not provide valid values or format hints beyond what the schema examples show. This is partial compensation, not full.

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?

The description clearly states the tool returns available NewsAPI publisher sources, distinguishing it from siblings like top_headlines and everything by focusing on source metadata. The verb 'Return' and resource 'available NewsAPI publisher sources' are specific and unambiguous.

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 description explicitly advises using returned source ids to filter top_headlines or everything, providing a clear workflow and differentiating this tool from those siblings. It lacks explicit exclusionary language ('do not use for headlines'), but the context strongly implies the intended usage.

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.