Skip to main content
Glama

Pitchlane

Get account analytics

get_account_analytics
Read-only

Read bucketed and total views, plays, finishes, CTA clicks, and bookings across the campaigns available to your account, including archived campaigns. Retention points count visits that reached each percentage of their own video's duration. Divide visits by measuredVisits for the share. Use an inclusive UTC date range of up to 90 days, or 7 days for hourly buckets. Omit both dates for the last 30 days including today, or the last 7 when hourly. Counts include repeat activity.

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

Input Schema

NameRequiredDescriptionDefault
end_dateNoLast UTC date, inclusive (YYYY-MM-DD). Supply with start_date.
intervalNoTimeline interval in UTC. Default: day. Weeks start on Monday.
start_dateNoFirst UTC date, inclusive (YYYY-MM-DD). Supply with end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely non-obvious behavior: archived campaigns are included, retention points are measured against each video's own duration, the share denominator is measuredVisits, and counts include repeat activity. It stops short of response shape, pagination, or rate limits.

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 metrics returned, then constraints, then defaults — a sensible order with no filler. It is a dense single paragraph where a short list might scan faster, but every sentence carries 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 carries the burden of describing returns, and it names each metric plus the bucketed/total distinction and the retention/share math. Date-window limits and defaults are fully covered; only the response container shape and any result-size behavior are unaddressed.

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, but the description adds constraint semantics absent from the schema: the 90-day cap (7 days for hourly) and the exact default window applied when both dates are omitted. The interval enum's effect on the allowed range is also tied together, which the schema does not do.

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 and resource ('Read bucketed and total views, plays, finishes, CTA clicks, and bookings') and scopes it to 'the campaigns available to your account, including archived campaigns'. The account-level scope implicitly distinguishes it from the sibling get_campaign_analytics, but that sibling is never named, so the 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?

Gives clear operating context: inclusive UTC range up to 90 days (7 for hourly), and an explicit default of last 30 days including today (last 7 when hourly) when both dates are omitted. It never states when to prefer this over get_campaign_analytics, so it lacks explicit alternatives or exclusions.

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