Skip to main content
Glama

Get the delivery of an ad

get_ad_stats
Read-onlyIdempotent

Delivery of one ad: totals and a daily series (impressions, clicks, visits, spend).

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": {
      "ad_id": "<ad_id>"
    },
    "name": "get_ad_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
ad_idYesThe id of an ad of this account.
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value by enumerating the returned metrics, which matters because there is no output schema, but it omits behavior such as how the daily series is windowed, whether missing days are zero-filled, and any account-level prerequisites for the api_key.

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 listing the resource and the returned fields with zero filler. It is terse to the point of being a fragment rather than a sentence, but no wording is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description usefully names the metrics returned, which covers the biggest gap. However, for a 3-parameter tool it leaves the days parameter unexplained and provides no usage context relative to sibling read tools, so it is only adequate rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%: ad_id and api_key carry descriptions, but days (integer, 1-90) has none in the schema and the description never explains it. The phrase 'daily series' faintly implies the window concept but gives no default, upper bound, or granularity, so the description adds essentially nothing beyond the schema.

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 resource (one ad) and specific output (delivery totals plus a daily series of impressions, clicks, visits, spend), so an agent can tell it is a metrics-read tool. It does not explicitly contrast with the sibling get_ad, which presumably returns ad configuration rather than delivery, so differentiation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no mention of the days parameter's effect, and no routing to or from alternatives such as get_ad or list_ads. An agent can guess the intent from the title, but nothing in the description guides selection 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