Skip to main content
Glama

get_summary

Return daily aggregated news sentiment for ticker over the last days.

Each entry has `avg_sentiment` (unweighted mean of that day's scores),
`article_count`, and a directional `label` (positive / negative /
neutral, thresholded at ±0.1).  News only (`sources` accepts "news"
only).  Costs 1 API credit per day actually returned —
same as GET /v1/summary/{ticker}.  A window with no coverage costs nothing.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
tickerYes
sourcesNonews

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sources / const
      Added value: +"news"
    • removedInput schema / properties / sources / enum
      Removed value: -[
      -  "news",
      -  "social"
      -]
  2. Changed1 schema field changed
    • addedInput schema / properties / sources
      Added value: +{
      +  "default": "news",
      +  "enum": [
      +    "news",
      +    "social"
      +  ],
      +  "title": "Sources",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: it discloses the response fields, the ±0.1 labeling threshold, the source restriction, and an unusual and important cost model (1 API credit per day actually returned, free for windows with no coverage). It omits auth requirements and error behavior for invalid tickers, keeping it from a 5.

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?

Front-loaded with the core purpose, then the return shape, then constraints and cost. Four short sentences, each adding distinct information with no repetition of the schema.

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 the return-value explanation is bonus rather than required, and the cost and source constraints round out what an agent needs. Only the default window (30 days) and failure behavior for an unknown ticker are unaddressed.

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 description coverage is 0%, so the description must compensate, and it explains all three parameters: `ticker` (subject of the aggregation), `days` (window, with cost implications per returned day), and `sources` (constrained to "news"). The default of 30 days is left to the schema, a minor gap.

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 states a specific verb and resource ('Return daily aggregated news sentiment for `ticker`') plus the aggregation window, which clearly separates it from raw or per-article sentiment retrieval. It stops short of naming the sibling to use instead (e.g. `get_sentiment`), so the differentiation is inferred from scope 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by 'daily aggregated' and the 'News only (`sources` accepts "news" only)' constraint, which tells the agent this is not a multi-source tool. However, there is no explicit when-to-use vs. when-not guidance or a named alternative for callers who want article-level scores.

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.