Skip to main content
Glama

Get campaign metrics breakdown export

get_campaign_metrics_breakdown_export
Read-onlyIdempotent

Download a campaign country breakdown as JSONL. Omit both dates for the API default (last 90 days). A wider range returns an error from the API.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "get_campaign_metrics_breakdown_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
startDateNoStart of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
campaignIdYesSoundlink campaign ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world. The description adds genuinely new behavior: JSONL output format, a 90-day default window, and that oversized ranges fail at the API. It does not describe pagination or file size, but the safety/mutation profile is fully covered elsewhere.

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?

Three short sentences, zero filler, with the resource and format front-loaded and the constraint/error note trailing. Nothing repeats the title or schema verbatim.

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?

No output schema exists, and the description does cover the return format (JSONL) and the main error condition. What the breakdown contains (which country-level metrics, row shape) is unstated, but for a 3-parameter export tool this is close to sufficient.

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 baseline is 3, but the description adds meaning the schema lacks: what happens when startDate/endDate are both omitted and the failure mode of an over-wide range. That is real semantic value beyond the field descriptions.

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 ('Download'), resource ('campaign country breakdown'), and output format ('JSONL'). The 'export' framing separates it from the non-export sibling get_campaign_metrics_breakdown, though it never names that sibling explicitly.

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?

Gives useful operating guidance — omit both dates for the 90-day default, wider ranges error out — but never says when to choose this over get_campaign_metrics_breakdown or get_soundlink_metrics_breakdown_export. The alternative selection is left to inference from names.

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