Skip to main content
Glama
nubiia-dev

MCP NewsAPI.ai

by nubiia-dev

get_event

Read-only

Retrieve a news event by its URI to view summary details or list articles covering it; set include_articles=true for paginated coverage.

Instructions

Get one event by URI (the uri from search_events, e.g. "eng-1234567"). Returns its summary info by default; set include_articles=true to instead list the articles covering it (paginated, default 5 per page, body truncated to body_len). Cost: 5 tokens (info view) or 1 (articles view), measured live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
body_lenNoMax body characters per article, 0-5000 (default 300).
event_uriYesEvent URI, e.g. "eng-1234567".
articles_pageNoArticles page, from 1 (default 1).
articles_countNoArticles per page when include_articles=true, 1-50 (default 5).
include_articlesNoReturn the event’s articles instead of its info (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, so the description carries real weight and delivers it: default view, mode switch, pagination default (5 per page), body truncation via body_len, and a concrete token cost per view that is "measured live." Cost and truncation behavior are not derivable from any structured field.

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?

Three tight sentences, front-loaded with the identifying URI pattern, then mode behavior, then cost. No sentence can be removed without losing an actionable fact.

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 no output schema, the description must characterize returns and does: summary info by default, a paginated article list otherwise, with truncation and cost specified. An agent has everything needed to call it correctly and predict the response shape.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by explaining that include_articles switches the entire response shape rather than merely adding a field, and by surfacing the pagination default and body_len truncation in prose. It stops short of explaining articles_page/articles_count interactions in depth.

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 ("Get one event by URI") and immediately distinguishes two operating modes: default summary info vs. an articles listing via include_articles=true. The reference to the `uri` from search_events makes it trivially separable from the sibling search_events and get_article tools.

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?

Clearly routes the agent: obtain the URI from search_events, and choose include_articles when the goal is the covering articles rather than event info. It does not explicitly contrast itself with get_article for the articles view, so the alternative-selection guidance is slightly incomplete, but the context for use is unambiguous.

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