Skip to main content
Glama

Trillboards DOOH Advertising

get_analytics

Get analytics data for the partner account.

WHEN TO USE:

  • Viewing overall performance metrics

  • Analyzing device performance

  • Generating reports on impressions and earnings

  • Comparing performance over time periods

RETURNS:

  • summary: Overall stats (impressions, earnings, active_devices)

  • time_series: Data points over time

  • top_devices: Best performing devices

  • breakdown: Data grouped by requested dimension

EXAMPLE: User: "Show me last week's analytics by device" get_analytics({ start_date: "2026-01-01", end_date: "2026-01-07", group_by: "device" })

User: "Get monthly performance breakdown" get_analytics({ start_date: "2025-12-01", end_date: "2025-12-31", group_by: "day" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoEnd date in YYYY-MM-DD format (optional, defaults to today)
group_byNoHow to group the analytics data
device_idNoFilter to a specific device (optional)
start_dateNoStart date in YYYY-MM-DD format (optional, defaults to 30 days ago)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / device_id / description
      Added value: +"Filter to a specific device (optional)"
    • addedInput schema / properties / end_date / description
      Added value: +"End date in YYYY-MM-DD format (optional, defaults to today)"
    • addedInput schema / properties / group_by / description
      Added value: +"How to group the analytics data"
    • addedInput schema / properties / start_date / description
      Added value: +"Start date in YYYY-MM-DD format (optional, defaults to 30 days ago)"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the return structure (summary, time_series, top_devices, breakdown) and includes two concrete examples that illustrate behavior. It does not mention rate limits or auth, but for a read-only analytics tool the return format and examples provide substantial transparency.

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?

The description is well-structured with clear headers: summary, WHEN TO USE, RETURNS, and EXAMPLES. The opening line is a crisp summary, and every section contributes meaning without unnecessary verbosity. The two examples are illustrative but not redundant.

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 tool with no output schema and four optional parameters, the description is notably complete. It explains the purpose, when to use, what to expect in the response (four categories), and gives two realistic usage examples. It does not explain edge cases like overlapping dates, but such details are not essential for a partner analytics read tool.

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 adds value beyond the schema by showing realistic parameter combinations in examples (e.g., start_date/end_date with group_by 'device' and 'day'). It also clarifies that 'breakdown' corresponds to the group_by dimension, reinforcing the schema's enum.

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 opens with 'Get analytics data for the partner account,' which is a clear verb+resource pairing. The 'WHEN TO USE' section enumerates specific use cases (overall performance metrics, device performance, reports on impressions/earnings, comparing over time) that distinguish this general analytics tool from more specialized siblings like get_network_stats or get_roas.

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 'WHEN TO USE' section provides explicit context: viewing performance metrics, analyzing devices, generating reports, comparing time periods. However, it does not explicitly state when NOT to use this tool or name alternatives, so it stops short of a 5.

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