Skip to main content
Glama

Get advertiser analytics

get_advertiser_analytics
Read-only

Live performance for ads owned by your account: impressions, clicks, CTR, daily trend, by-placement (article / profile_page / search / homepage / agent_readiness) and by-variant breakdown. Same JSON shape returned by GET /api/v1/advertiser/analytics and rendered in the /my-account?tab=ads dashboard. Free for own data: zero credits debited. Useful for piping campaign performance into agent workflows: nightly Slack digests, attribution stacks, autonomous bid-tuning, etc. Needs a StartupHub.ai API key with credit (pay as you go).

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

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days (1–365, default 30).
ad_idNoFilter to a single ad. Must be owned by the authenticated key holder. Omit for all of your ads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses cost behavior (zero credits for own data), the prerequisite of an API key with pay-as-you-go credit, and the output shape (same JSON as GET /api/v1/advertiser/analytics). The 'free for own data' line and the 'needs a key with credit' line sit slightly in tension but are reconcilable and not contradictory.

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 and returned fields are front-loaded, followed by cost and auth notes that earn their place. The 'piping campaign performance into agent workflows' sentence with its trailing list is mildly promotional padding, and the endpoint/dashboard cross-references are dev-facing context of marginal value to an agent.

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 only two optional parameters, the description carries the needed burden: it enumerates the returned metrics, lists placement values, states cost and auth prerequisites, and anchors the response shape to a documented endpoint. Nothing an agent needs in order to call it correctly appears to be missing.

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 coverage is 100% and both parameters (days, ad_id) are fully documented in the schema, so the baseline is 3. The description adds no parameter-level detail — the placement/variant lists describe output fields, not the inputs — so it neither confirms nor extends the schema semantics.

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?

The description states a specific resource (live performance of ads owned by the account) and enumerates the returned metrics: impressions, clicks, CTR, daily trend, and by-placement/by-variant breakdowns. It does not name or distinguish itself from any sibling tool, though no sibling appears to overlap (the nearest generic path would be call_api, which is never mentioned).

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?

It gives concrete usage contexts (nightly Slack digests, attribution stacks, autonomous bid-tuning) and implies the tool is scoped to the caller's own data. It stops short of explicit exclusions or pointing to alternatives such as call_api for data outside the advertiser scope, so the when-not case is left to inference.

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