Skip to main content
Glama

Agent Data Tools: Web, documents and search

Brand sentiment, news sentiment: headlines with sentiment scores

pack_news_sentiment
Read-only

Brand sentiment from the news on a topic 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?

Annotations only declare readOnly/openWorld/idempotent-false/destructive-false; the description adds substantial context beyond that — per-call cost ($0.01 via x402 USDC or credits key), failed calls free, an explicit warning that repeats are not free (explaining the non-idempotent hint in cost terms), licensing limits on reuse, and hard caps of 10 articles within a day/week/month window. That is unusually rich disclosure for a read-only tool.

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?

It is front-loaded with the capability and output shape, and each subsequent sentence (limits, disclaimer, licensing, use cases, pricing) adds a distinct fact. The single dense paragraph blends pricing and licensing into the middle, which could be ordered better, but there is little waste.

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 carries the burden of describing return values and does so field by field, plus aggregates; it also covers cost, failure pricing, and recency caps. An agent has everything needed to decide and call correctly for a three-parameter tool.

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 the schema already documents all three parameters including the 1-10 count range and the day/week/month freshness values. The description only restates those ranges and adds an example value (q=bitcoin), so it meets but does not exceed the baseline.

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 names a specific resource (news headlines on a topic) and states exactly what is produced: title, URL, publisher, age, plus a DistilBERT positive/negative score and the balance across articles. That is clearly distinct from the raw `news` sibling, though the alternatives are never 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?

"Use for a market mood check, brand monitoring or a news brief" gives concrete use cases, and "Not a market signal" plus "results are for the caller's immediate use only (Brave API terms)" mark boundaries on interpretation and reuse. What is missing is an explicit routing statement telling the agent when to pick `news` or `pack_web_research` instead.

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.