Skip to main content
Glama

Trending Stories

trending_stories_tool
Read-only

Fetch current trending crypto stories with sentiment analysis

When to use vs combined_trends_tool

Prefer this tool when only stories are needed: it is the cheap, fast path and has no per-tool rate-limit sub-cap. combined_trends_tool is a superset — same stories plus trending words, their context and AI-generated bull/bear summaries — but it calls an LLM, so it is slower and capped much lower per plan. Use it only when trending words or those summaries are actually needed, and never call both for the same question.

Parameters

  • time_period - Time period for trending stories (e.g., '1h', '6h', '1d', '7d'). Defaults to '1h' (last hour).

  • size - Number of trending stories to return (max 10). Defaults to 10.

Response

  • trending_stories - List of trending stories.

  • time_period - Time period for trending stories.

  • size - Number of trending stories to return.

  • period_start - Start time of the time period.

  • period_end - End time of the time period.

  • total_time_periods - Total number of time periods.

  • title - Title of the story.

  • summary - Summary of the story.

  • bearish_sentiment_ratio - Bearish sentiment ratio.

  • bullish_sentiment_ratio - Bullish sentiment ratio.

  • score - Score of the story.

  • query - Query used to find the story.

  • related_tokens - List of related tokens. They have the format BTC_bitcoin - first part is the ticker, second part is the slug in Sanbase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoNumber of trending stories to return (max 10). Defaults to 10.
time_periodNoTime period for trending stories (e.g., '1h', '6h', '1d', '7d'). This parameter defines how far back to look for trending stories. Defaults to '1h' (last hour).

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds valuable behavioral context beyond that: no per-tool rate-limit sub-cap, cheap/fast path, and the specific response shape including period_start/end and total_time_periods. It also clarifies the related_tokens format. Nothing contradicts annotations.

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?

The description is structured with clear headings, a front-loaded purpose, an explicit comparison section, parameter list, response list, and nested story field list. Every sentence earns its place — no redundant fluff. It is longer than average but remains tightly organized and information-dense.

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?

For a 2-parameter tool with no output schema, the description fully covers the response structure, story subfields, related_tokens format, and comparison with the superset tool. This leaves no significant gaps for the agent to guess about return values or usage constraints.

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. The description adds practical value by providing concrete examples ('1h', '6h', '1d', '7d'), restating defaults, and explicitly defining the meaning of time_period ('how far back to look'). It doesn't introduce new parameter semantics, but the examples and defaults reinforce usability.

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?

The description opens with 'Fetch current trending crypto stories with sentiment analysis' — a specific verb, resource, and clear scope. It immediately distinguishes the tool from `combined_trends_tool` by positioning it as the stories-only, cheap/fast alternative, which clarifies its unique role among siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The 'When to use vs combined_trends_tool' section explicitly states when to prefer this tool (only stories needed), what the alternative provides (superset with words and summaries), its drawbacks (LLM-slowed, lower rate-limit), and an explicit exclusion: 'never call both for the same question.' This is model guidance.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: screening assets vs fetching timeseries vs catalog discovery vs charting vs insights discovery/fetch vs trending stories vs combined trends. The overlapping trending tools are explicitly differentiated through a superset relationship with usage guidance.

Naming Consistency3/5

All names are snake_case and most end in '_tool', but the pattern is mixed: some start with verbs (fetch_*, show_*) while others are noun phrases (assets_by_metric_tool, combined_trends_tool, insight_discovery_tool). This is readable but not a consistent verb_noun convention.

Tool Count5/5

8 tools is well-scoped for a crypto analytics server, covering discovery, data retrieval, screening, charting, and content access without bloat or thinness. Each tool earns its place in the workflow.

Completeness4/5

The toolset covers the core workflows: catalog discovery, metric timeseries, asset screening, chart rendering, insights list/fetch, and trending data. Minor gaps include no multi-metric timeseries fetch and a limited set of chart overlay options, but agents can work around these.

Resources