Skip to main content
Glama
elcamino

newsapi-ai-mcp

by elcamino

Get full articles

newsapi_get_articles
Read-onlyIdempotent

Fetch full article details: body text, authors, concepts, categories from newsapi.ai URIs or original URLs. Use after search to get complete content for analysis.

Instructions

Fetch full details (complete body text, authors, concepts, categories) for articles by their newsapi.ai URI (from search results) or by original article URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisNoArticle URIs as returned by newsapi_search_articles.
urlsNoOriginal article URLs – mapped to URIs first (only works for articles in the index).
body_charsNo-1 = full body (default), 0 = none.
result_langNo
response_formatNocompact (default): trimmed, token-friendly JSON. raw: the unmodified API response.compact
include_conceptsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety semantics are covered. The description adds useful content-level context (that a full body text is returned, not a summary), but says nothing about auth requirements, rate limits, or what happens when a URL cannot be mapped to an indexed article.

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?

A single sentence that front-loads the verb and resource, then lists the lookup mechanisms and returned fields. No filler, no repetition of the title.

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 carries the return-value burden and does so by naming the returned fields. It is nearly complete, lacking only guidance on batching limits and partial-failure behavior for URLs not in the index.

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 67%, so the schema already documents uris, urls, body_chars and response_format. The description reinforces the two lookup keys but adds nothing about result_lang, include_concepts, or the practical caps (100 URIs / 20 URLs), so it neither compensates for nor extends the schema meaningfully.

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 (fetch) and resource (full articles) plus the two lookup keys (newsapi.ai URI from search results, or original article URL), and enumerates the payload (body text, authors, concepts, categories). This clearly separates it from newsapi_search_articles, which returns the URIs this tool consumes.

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 parenthetical '(from search results)' establishes the intended workflow: run newsapi_search_articles first, then hydrate results here. There is no explicit when-not guidance or mention of the sibling alternatives (e.g. when to prefer raw_request), so it stops short of full routing guidance.

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