Skip to main content
Glama

Get ad performance statistics

get_ad_performance
Read-onlyIdempotent

Returns statistics for the signed-in user's business over a period: impressions, real views (seen at least 1 second), clicks and conversions of the user's ads on partner websites, and of partner ads on the user's website, with daily totals for charts.

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

Input Schema

NameRequiredDescriptionDefault
daysNoPeriod in days
poolNoDistribution pool to includeall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's value is in the semantics it adds: the data is scoped to the signed-in user's business only, both ad directions are included (own ads on partner sites and partner ads on own site), and 'real views' is precisely defined as seen at least 1 second. It stops short of noting data freshness or how days with no activity appear.

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?

A single front-loaded sentence: verb, resource, scope, then metric list. No filler or repetition, though the metric enumeration is dense enough that the sentence is longer than strictly necessary.

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 present, the description does the work of naming the returned metrics and the daily-granularity chart series, which is the key thing an agent needs. Missing only aggregation-level details, such as whether results are broken down per ad or per partner and how empty days are represented.

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 description coverage is 100% with both enums fully documented, so the schema carries parameter meaning. The description only echoes the time dimension via 'over a period' and adds nothing about what the auction/balance/all pool distinction means or how it changes the numbers.

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 ('Returns statistics') and an explicit resource ('the signed-in user's business'), then enumerates the metrics returned: impressions, real views, clicks, conversions, and daily totals. The scope is clearly readable, but it never contrasts itself with an aggregate sibling such as get_account_overview, so the agent must infer the boundary.

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 rather than stated: 'over a period' plus 'daily totals for charts' suggests time-series performance reporting. There is no explicit when-to-use, no when-not-to-use, and no named alternative for per-ad or per-space breakdowns.

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