Skip to main content
Glama

Get Sentiment Time Series Tool

get-sentiment-time-series-tool
Read-onlyIdempotent

Average sentiment score (0-100) of each tracked brand's mentions per bucket. Scope by brand_id for one line; by segments for that segment's brands; otherwise top top_n by mention count (default 20, max 50). Per-bucket value is null when the brand had no mentions in that bucket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTag IDs (prompt classifiers) to limit responses by. Optional.
top_nNoCap on series count when no brand/segments scope is set (default 20, max 50).
brand_idNoOptional brand to scope the chart to (single-brand line). Must belong to the project.
end_dateYesInclusive UTC end of the analytics window. Must be on or after `start_date` and on or before today.
intervalNoBucket granularity for time-series tools. One of: day, week, month, year. Required for time-series tools, ignored for aggregate tools.
monitorsNoMonitor IDs in the active project. Optional.
segmentsNoSegment IDs (brand groupings) to slice analytics by. Optional.
countriesNoISO-3166-1 alpha-2 country codes to include. Optional.
platformsNoAI platforms to include. Optional. Values: chatgpt, perplexity, gemini, grok, copilot, claude, google_ai_mode, google_ai_overview.
project_idYesProject to compute analytics for.
start_dateYesInclusive UTC start of the analytics window. ISO 8601 date (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety bar is low. The description still adds real behavioral context beyond them: the null value for brands with no mentions in a bucket, plus the top_n default (20) and cap (50).

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?

Three dense sentences, zero filler, with the metric and scope front-loaded before the fallback rules and the null edge case. Every sentence earns its place.

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?

With no output schema, the description must describe the return: it gives the metric's unit range and the per-bucket null convention. It omits the required interval granularity and the overall list-of-series shape, minor gaps against a 100%-covered schema and full annotations.

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 the interaction semantics the schema lacks: how brand_id, segments, and top_n compete as scoping mechanisms and which wins when unset. It does not add detail on tags/monitors/countries/platforms, which the schema already covers.

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?

States a precise metric and scope: 'Average sentiment score (0-100) of each tracked brand's mentions per bucket.' The verb/resource (sentiment per bucket) inherently distinguishes it from the position, share-of-voice, and visibility time-series siblings, so an agent can select it without opening the schema.

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?

Explicitly defines the three scoping modes: brand_id for a single line, segments for a segment's brands, otherwise top_n by mention count. This tells the agent how to drive the tool, though it names no alternative tool and gives no when-not 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.

Resources