Skip to main content
Glama

Get push analytics

get_push_analytics
Read-onlyIdempotent

Web-push post-click attribution: conversions (regs = Lead, ftds = Sale, redeps = Upsell) attributed to push clicks (anchor=click, default) or push shows (anchor=show) that preceded them by at most window hours (1–720, default 24; last-touch — the latest anchor of the same subscriber wins). Returns the period summary with rates (reg_rate / ftd_rate per anchor, ctr, epc = revenue per anchor), % changes vs the previous period, a daily series, one row per mailing and the cumulative conversion-lag curve (share of attributed conversions that landed within N hours). A conversion is linked to a subscriber either through a tracker link the notification opened (/c/… — the click carries the push marker) or through the click the subscription was collected on.

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_push_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
anchorNoWhat starts the window: the push click (default) or the push show
periodNoReporting period (default 7days). Use 'custom' with date_from/date_to.
windowNoAttribution window in hours (default 24)
date_toNoYYYY-MM-DD (with period=custom)
mailingNoOnly this push mailing id
date_fromNoYYYY-MM-DD (with period=custom)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / period / enum
      Previous value: -[
      -  "today",
      -  "yesterday",
      -  "7days",
      -  "30days",
      -  "this_month",
      -  "last_month",
      -  "custom"
      -]New value: +[
      +  "today",
      +  "yesterday",
      +  "7days",
      +  "30days",
      +  "60days",
      +  "90days",
      +  "this_month",
      +  "last_month",
      +  "custom"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the description's job is to add semantics — and it does, disclosing the last-touch attribution rule, the two subscriber-linking mechanisms, and exactly what the response contains (summary rates, period-over-period deltas, daily series, per-mailing rows, lag curve). It stops short of noting latency, result-size limits, or what happens when there is no data, which keeps it below a full 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?

The purpose clause is front-loaded and nearly every clause carries information, with no filler or repetition of the title. The downside is structure: the whole definition is one long run-on paragraph dense with nested parentheses, which is harder to scan than a few short sentences or a bulleted breakdown of inputs versus outputs.

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?

With no output schema and six parameters driving a non-trivial attribution model, the description carries the burden of explaining return shape and does so thoroughly — summary rates, period-over-period changes, daily series, per-mailing rows, and the cumulative lag curve. It also closes the biggest conceptual gap by describing how a conversion gets linked to a subscriber, leaving only minor operational details unspecified.

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 earns a notch more by explaining the semantic consequences of parameters — anchor defines what starts the window, window is capped at 1–720 hours with a 24-hour default, and the last-touch tiebreak between anchors on the same subscriber. It also decodes returned metric names (regs/ftds/redeps), though it does not add anything on mailing or date_from/date_to beyond the schema.

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 names a precise verb and resource: web-push post-click attribution, with conversions attributed to push clicks or shows inside a bounded window. The level of specificity (anchor, window, last-touch, links via /c/ tracker or collection click) is far beyond a generic 'get analytics' and makes it functionally distinguishable from retrieval tools like get_push_overview or get_statistics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the attribution framing, and the description effectively explains when to pick anchor=click versus anchor=show. However, it never states when a caller should prefer this tool over a sibling reporting tool, nor does it name any alternative or exclusion, so the agent must infer the selection boundary.

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