Skip to main content
Glama

Compare platforms

compare_platforms
Read-onlyIdempotent

Use this when the user wants platforms side by side: "which platform got the most views for this clip", "TikTok vs Shorts vs Reels this month". Per platform: posts, average views at 1 hour, 24 hours and 7 days, the latest engagement counts (null when the platform sends none) and what it counts as a view. Platforms count views differently: compare each against its own history and do not add them up. Not for: single posts (get_post_stats) or the recap (weekly_report). Free and read only.

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": "compare_platforms"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook back this many days, 1 to 90. Ignored when clip_id is given.
clip_idNoId of one clip, from list_clips, to compare where it was posted. Empty covers all posts.

Output Schema

NameRequiredDescriptionDefault
noteYes
scopeYes
clip_idYes
platformsYes
period_daysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / clip_id / default
      Removed value: -""
  2. Changed5 schema fields changed
    • addedInput schema / properties / clip_id / description
      Added value: +"Id of one clip, from list_clips, to compare where it was posted. Empty covers all posts."
    • removedInput schema / properties / clip_id / title
      Removed value: -"Clip Id"
    • addedInput schema / properties / days / description
      Added value: +"Look back this many days, 1 to 90. Ignored when clip_id is given."
    • removedInput schema / properties / days / title
      Removed value: -"Days"
    • removedInput schema / title
      Removed value: -"compare_platforms_routeArguments"
  3. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/destructive status, and the trailing 'Free and read only' largely restates them. The description does add real domain behavior beyond the annotations: which metrics come back per platform (posts, average views at 1h/24h/7d, latest engagement), that engagement can be null, and the critical caveat that platforms count views differently so figures must not be summed. That caveat is the kind of context annotations cannot carry, but the sentence budget spent restating safety slightly dilutes it.

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 usage trigger, then the returned metrics, then the analytical caveat, then the exclusions. Each sentence carries distinct information and the example phrasings are embedded rather than given their own paragraph; nothing meaningful could be cut except the redundant 'Free and read only'.

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?

An output schema exists, so return values need not be restated, and both parameters are fully described in the schema. The description still supplies the two things structured fields cannot convey: what the per-platform metric set is and the rule against aggregating view counts across platforms. Nothing an agent needs to call this correctly is missing.

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 baseline is 3, and the description adds a bit by implying the clip-scoped mode ('which platform got the most views for this clip') that maps to clip_id. It does not explain the days-vs-clip_id precedence itself, leaving that entirely to the schema, so this stays a modest lift over baseline.

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?

Names a specific comparison operation on a specific resource ('platforms side by side') and makes it concrete with two realistic user questions ("which platform got the most views for this clip", "TikTok vs Shorts vs Reels this month"). An agent can distinguish this from get_post_stats and weekly_report without opening any schema.

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?

Opens with an explicit trigger ('Use this when the user wants...') and provides an explicit exclusion clause naming the two sibling alternatives and what each is for ('Not for: single posts (get_post_stats) or the recap (weekly_report)'). Both the when and the when-not are covered.

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