Skip to main content
Glama

apnews_headlines

Read-only

Current AP News headlines for one public section; section must come from apnews_sections.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "section": "<section>"
    },
    "name": "apnews_headlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesAP News section slug. Documented values: ap-top-news, us-news, world-news, politics, business, technology, science, health, sports, entertainment, lifestyle.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / section / description
      Added value: +"AP News section slug. Documented values: ap-top-news, us-news, world-news, politics, business, technology, science, health, sports, entertainment, lifestyle."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that results are 'current' headlines for a single public section, implying freshness and one-section-per-call scope. It says nothing about result volume, ordering, or pagination, which is a gap for a live feed where idempotentHint=false.

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?

One sentence, front-loaded with the resource and followed immediately by the constraint. No filler and nothing to trim.

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?

An output schema exists, so return values need no explanation, and the single parameter is fully documented in the schema plus reinforced by the description's slug-source rule. Minor remaining gap is any statement about how much content or how recent the headlines are.

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 100% and the schema already enumerates the documented section slugs, so the description is not needed to explain the parameter. It does add the constraint that the value must originate from apnews_sections, which is slightly more than a restatement but still baseline-level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ('Current AP News headlines') and narrows scope to 'one public section', which distinguishes it from apnews_article and apnews_sections. It does not clarify how it differs from sibling headline-feed tools like apnews_news, but the AP-specific framing makes the target obvious.

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?

'section must come from apnews_sections' states a concrete prerequisite and names the tool that supplies valid values, which is real when-to-use guidance. It stops short of exclusions, such as when to prefer a broader news feed over a single section, so it is not a full 5.

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.