Skip to main content
Glama

Compare activity

compare_activity
Read-only

Use when comparing how discussion volume changed between two periods for the same assets, authors or topic. Returns full-window union totals plus per-selected asset/author baseline/current counts, identities and absolute/percentage change, including known selected zeros. Unavailable identities remain explicit; zero baseline is undefined. Read posts separately to assess views. Does not infer sentiment or equal collection coverage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currentYes
baselineYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / baseline / properties / limit / description
      Added value: +"Page size: an integer from 1 to 50, default 20. Read additional pages with the returned cursor and unchanged query/page size."
    • addedInput schema / properties / current / properties / limit / description
      Added value: +"Page size: an integer from 1 to 50, default 20. Read additional pages with the returned cursor and unchanged query/page size."
  2. Changed2 schema fields changed
    • addedInput schema / properties / baseline / properties / text / properties / full_text_query / description
      Added value: +"Space-separated AND, spaced OR, quoted phrases and minus exclusions. No stemming: agent and agents differ. Unquoted parentheses unsupported; repeat common terms, e.g. AI agent OR AI agents."
    • addedInput schema / properties / current / properties / text / properties / full_text_query / description
      Added value: +"Space-separated AND, spaced OR, quoted phrases and minus exclusions. No stemming: agent and agents differ. Unquoted parentheses unsupported; repeat common terms, e.g. AI agent OR AI agents."
  3. Changed4 schema fields changed
    • addedInput schema / properties / baseline / properties / asset_ids / description
      Added value: +"Canonical asset IDs from resolve_assets, not tickers or provider IDs."
    • addedInput schema / properties / baseline / properties / author_ids / description
      Added value: +"Canonical author IDs from search_authors, not X handles or user IDs."
    • addedInput schema / properties / current / properties / asset_ids / description
      Added value: +"Canonical asset IDs from resolve_assets, not tickers or provider IDs."
    • addedInput schema / properties / current / properties / author_ids / description
      Added value: +"Canonical author IDs from search_authors, not X handles or user IDs."
  4. Changed2 schema fields changed
    • changedInput schema / properties / baseline / properties / exclude_post_types / description
      Previous value: -"Exclude only known types; excluding repost keeps unknown types."New value: +"Exclude selected types; excluding original also excludes historical unknown labels, while excluding repost keeps ordinary unknown labels."
    • changedInput schema / properties / current / properties / exclude_post_types / description
      Previous value: -"Exclude only known types; excluding repost keeps unknown types."New value: +"Exclude selected types; excluding original also excludes historical unknown labels, while excluding repost keeps ordinary unknown labels."
  5. Changed2 schema fields changed
    • addedInput schema / properties / baseline / properties / cursor / description
      Added value: +"Pass the returned next_cursor unchanged to the same tool and connection with the original query arguments. For post searches preserve exact UTC dates, filters, order, limit, projection and mode. Omit cursor to start a new or changed query."
    • addedInput schema / properties / current / properties / cursor / description
      Added value: +"Pass the returned next_cursor unchanged to the same tool and connection with the original query arguments. For post searches preserve exact UTC dates, filters, order, limit, projection and mode. Omit cursor to start a new or changed query."
  6. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=true, destructive=false), yet the description adds real behavioral content: union totals across the full window, per-identity baseline/current counts, identities and absolute/percentage change, explicit handling of selected zeros, unavailable identities, and undefined zero baselines. It also warns that sentiment is not inferred and collection coverage is not equalized — genuine caveats not derivable from annotations or schema.

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?

The trigger condition is front-loaded, followed by return contents, then caveats — a sensible order with no padding. The wording is dense and occasionally telegraphic ("zero baseline is undefined"; "full-window union totals"), which costs a little readability but every sentence carries distinct information.

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 correctly takes on the return-value burden and describes totals, per-identity counts, identities and change measures. For a tool whose two arguments are large nested filter objects, it could say more about how the two windows must be kept comparable and how paging behaves, but nothing an agent needs to avoid calling it wrongly is missing.

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?

The nested schema carries detailed descriptions for cursor, date bounds, ID sources and filter semantics, but the reported coverage signal is 0% for the top-level structure. The description clarifies that both periods should target the same assets/authors/topic and explains result semantics around zeros, but it adds no guidance on the many nested filter parameters (chain_ids, evidence_class, post_types) that an agent must populate. Baseline 3 reflects partial compensation rather than full coverage.

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 opening sentence gives a specific verb (compare), a specific resource (discussion volume / activity), and the scope (two periods for the same assets, authors or topic). An agent can distinguish this from siblings like aggregate_posts or discover_activity without opening the schema, and the description also states what it does not do.

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 when comparing how discussion volume changed between two periods..." states the trigger condition clearly, and "Read posts separately to assess views" routes one adjacent need elsewhere. It stops short of naming concrete sibling tools (e.g. search_posts, aggregate_posts) or stating explicit when-not conditions, so it is strong context without full alternative mapping.

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