Skip to main content
Glama

News sentiment: headlines with sentiment scores

pack_news_sentiment
Read-only

The news on a topic and its tone in one call: the latest headlines from the Brave News index (title, URL, publisher, age), each with a positive or negative score from a DistilBERT model, and the balance across them. Up to 10 articles from the past day, week or month. Not a market signal. Results are for the caller's immediate use only (Brave API terms). Use for a market mood check, brand monitoring or a news brief. Example: q=bitcoin. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
qYesNews topic, at most 400 characters
countNoNumber of articles (1-10, default 5)
freshnessNoOnly articles from the past day, week or month (default: week)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations: discloses the data source and model, hard caps (up to 10 articles, past day/week/month), the Brave API redistribution restriction, and pricing ($0.01/call via x402 USDC or card key; failed calls free; repeats charged). The 'reads or computes only and changes nothing' line reinforces rather than contradicts readOnlyHint/destructiveHint.

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?

Front-loads what is returned, then limits, caveat, use cases, pricing and safety. Dense but nearly every clause carries information; the sentence structure is packed and somewhat run-on, and 'Not a market signal' reads as an orphaned fragment.

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?

No output schema exists, so the description carries the return contract itself — it enumerates title, URL, publisher, age, per-article score and the aggregate balance. Combined with pricing, quota and freshness limits, an agent has everything needed to call it correctly and to reason about cost.

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%, so all three parameters are already documented with types, bounds and defaults. The description only adds a sample value (q=bitcoin) and restates the article cap and freshness windows, adding little beyond the schema.

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?

States a specific composite verb+resource: latest headlines from the Brave News index plus per-article sentiment from a DistilBERT model, plus aggregate balance. The 'in one call' framing distinguishes it from combining `news` and `ai_sentiment`, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

Gives concrete usage contexts ('market mood check, brand monitoring or a news brief') and an example query (q=bitcoin), plus a scope caveat ('Not a market signal'). It never names an alternative tool or a case where a sibling (`news`, `ai_sentiment`, `pack_web_research`) is the better pick.

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.