Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Compare Analytics

analytics_compare

Compare unified social media metrics across up to 10 post, video, or reel URLs from multiple platforms in one call, so you can benchmark performance without separate platform checks.

Instructions

Compare unified metrics across up to 10 URLs — each row is the analytics/post object (1 credit/resolved URL). Costs 1 credit/url. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": "<urls>"
    },
    "name": "analytics_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesComma-separated post/video/reel URLs (up to 10), any mix of the same 11 platforms as Post Analytics. Example: a TikTok URL and a YouTube URL in one call.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses per-URL credit cost, that empty results and failures are never charged, and the caching/freshness behavior. It omits auth requirements, rate limits, and what happens on over-limit or partially failing batches, keeping it short of a 5.

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 the core purpose, then cost, then the caching tip — the ordering matches how an agent decides to call it. The cost statement appears twice ('1 credit/resolved URL' and 'Costs 1 credit/url'), a minor redundancy that costs it a point.

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 two-parameter tool with no output schema, the description covers what the rows contain, the hard URL cap, the billing model including no-charge cases, and cache behavior. Nothing an agent needs to invoke it correctly and predict cost 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?

Schema coverage is 100%, so both parameters are already documented, and the description largely echoes the schema's 'up to 10' and cache semantics. It adds the concrete cost framing (1 credit per resolved URL, no charge on empty/failure), but no format or ordering detail beyond what the schema provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (compare) and resource (unified metrics) with an explicit scope cap of 10 URLs, and notes each row is the analytics/post object, which implicitly links to the single-URL analytics_post sibling. It never names that sibling or states the single-URL alternative, so differentiation is left to inference.

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?

The multi-URL comparison context and the cache=true / default-fresh tradeoff give clear guidance for choosing invocation settings, including the free 24h cache path. It stops short of explicit exclusions such as 'use analytics_post for a single URL' or what to do when more than 10 URLs are needed.

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

Deploy Server

Other Tools