Skip to main content
Glama
Alidade MCP

Alidade MCP

Official
by alidade-ai

Get volume and engagement over time

get_time_series
Read-only

Track post volume and engagement over time per comparison group, bucketed by day, week, month, or year. Scope by saved search or entity IDs to spot trends, spikes, and share-of-voice shifts.

Instructions

Post volume and engagement over time per comparison group, bucketed by day, week, month, or year, optionally per platform. Use for trends, spikes, campaign launches, and how share of voice shifted. Scope with exactly one of savedSearchId (recommended — its comparison groups, platforms, date range, and keyword filters all apply) or entityIds (ad-hoc, treated as a single group); the other parameters filter or override the scope. Results are broken down per comparison group. Some clients display this result to the user as an interactive trend chart (likely examples: claude.ai, Claude Desktop, ChatGPT); if yours does, don't recreate it as a chart or artifact, just point out what stands out.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_time_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoOnly include posts published on or before this date (ISO 8601). A date-only value (`2026-01-31`) includes that whole day, UTC. Overrides the saved search's range end; its range start is kept unless `dateFrom` is also provided.
dateFromNoOnly include posts published on or after this date (ISO 8601). A date-only value (`2026-01-31`) means the start of that day, UTC. Overrides the saved search's range start; its range end is kept unless `dateTo` is also provided.
keywordsNoComma-separated keywords to filter post content by (e.g. `sustainability,net zero`). Replaces the saved search's keyword filters. Cannot be combined with `booleanQuery`.
timezoneNoIANA timezone used for date bucketing (default America/New_York).America/New_York
breakdownNoSet to `platform` to split the numbers per platform: per-platform totals, or one series per platform.none
entityIdsNoComma-separated entity IDs (max 100) for an ad-hoc scope, treated as a single comparison group. Provide either this or `savedSearchId`.
platformsNoComma-separated platforms to include. Valid values: facebook, instagram, linkedin, x, youtube, tiktok, bluesky. Overrides the saved search's platform filter. Omit to use the saved search's platforms (or all platforms for an ad-hoc scope).
granularityNoTime bucket size.month
booleanQueryNoBoolean keyword query matching the app's advanced search mode (e.g. `"net zero" AND (solar OR wind)`). Syntax: AND/OR/NOT (upper case), parentheses, quoted phrases with optional proximity (`"health care"~3` = up to 3 words between, any phrase length, max 20), NEAR/N (either order) and THEN/N (ordered) between terms or groups, wildcards (`elect*`, `wom?n`), fuzzy (`medicaid~1`, max 2). Always use explicit operators between terms. Mixing AND or NOT with OR at the same depth is an error — parenthesize to make precedence explicit (`(a AND b) OR c`, `(a OR b) NOT c`). NEAR/THEN bind tighter than AND/OR — parenthesize a proximity expression that sits next to AND/OR (`(a NEAR/5 b) OR c`, `(a OR b) NEAR/5 c`). NOT is not allowed inside NEAR/THEN; exclude outside the proximity expression. Matching is exact-token, case- and accent-insensitive (no stemming) — cover word variants with OR or a wildcard (`tariff OR tariffs`, `tariff*`). Korean attaches particles to words, so put a trailing wildcard on each Korean term (`검색*`). Hindi is written in Devanagari and romanized, so OR both forms (`(दोस्त OR dost)`); Devanagari and Tamil matching ignores vowel signs, so expect some unrelated matches. Comments are ignored by search: `//` to the end of the line, `<<< >>>` inline or across lines. Full syntax: https://docs.alidade-ai.com/search-syntax. Cannot be combined with the keyword parameters.
keywordMatchNoWhether posts must match `any` (default) or `all` of `keywords`.
savedSearchIdNoID of a saved search to scope the request to. Its comparison groups, platform filter, date range, and keyword filters all apply. Only entities your workspace can access are included; a saved search with none returns 422. Provide either this or `entityIds`.
excludeKeywordsNoComma-separated keywords that matching posts must not contain (exact word/phrase match). Replaces the saved search's keyword filters. Cannot be combined with `booleanQuery`.
keywordMatchTypeNo`exact` (default) matches the exact words or phrases only; `stemmed` also matches English word variants (run/running). Applies to `keywords`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.3

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description adds substantial context beyond that: results are broken down per comparison group, savedSearchId inherits and can be overridden by other parameters, and some clients render the result as an interactive chart so the agent should not recreate it as an artifact. That chart-rendering caveat is exactly the kind of client-visible behavior an agent could not infer from structured fields.

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-loaded with purpose then use cases then scoping, with no filler sentences. The client-display sentence is long and slightly conversational, but it carries actionable instruction rather than padding.

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?

For a 13-parameter read-only analytics tool with no output schema, the description covers scope selection, grouping, and breakdown behavior adequately. It stops short of describing the metric fields returned (e.g. what 'engagement' comprises) or result size/pagination, which an agent might still need when interpreting output.

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 100%, so the per-parameter baseline is 3; the description earns extra credit by stating the savedSearchId-vs-entityIds exclusivity, marking savedSearchId as recommended, and explaining the precedence relationship between scope parameters and the filtering/override parameters. It does not add format-level detail beyond the schema, which is fine since the schema is thorough.

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 a precise verb-and-resource statement: post volume and engagement over time, bucketed by day/week/month/year, per comparison group, optionally per platform. That is specific enough to separate it from siblings such as get_engagement (point-in-time metrics) or get_share_of_voice (share summary).

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?

It names concrete use cases (trends, spikes, campaign launches, share-of-voice shift) and then gives explicit scoping rules: exactly one of savedSearchId (recommended, carries comparison groups/platforms/range/filters) or entityIds (ad-hoc, single group), with other parameters filtering or overriding. The final sentence also tells the agent when to stop and just narrate results rather than building a chart.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.