Skip to main content
Glama

ChatGPT Ads breakdown report

chatgpt_ads_breakdown_report
Read-only

Spend and results split by ONE dimension (OpenAI allows one at a time): country, device, platform (the ChatGPT app on iOS or Android vs ChatGPT on the web) or product (feed items, only for product-feed campaigns). Impressions, clicks, CTR, CPC, CPM and spend per value, highest spend first, optionally for one campaign. Conversions aren't split here; use chatgpt_ads_conversion_report with a breakdown for that. Days are in the account's time zone. Some accounts aren't enabled for segmentation, in which case OpenAI refuses it and the error says so.

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": {
      "by": "<by>"
    },
    "name": "chatgpt_ads_breakdown_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYesThe dimension to split by.
limitNoMost rows to return (default 100, max 500).
endDateNoYYYY-MM-DD in the ad account's time zone. Omit for yesterday.
accountIdNoThe ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out.
startDateNoYYYY-MM-DD in the ad account's time zone. Omit for the last 30 days.
campaignIdNoOnly this campaign (id from chatgpt_ads_get_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description still adds real behavior: OpenAI refuses multi-dimension requests, results are ordered highest spend first, dates follow the account time zone, and some accounts are not enabled for segmentation so the call fails with an explicit error. That failure-mode disclosure is exactly the kind of context annotations cannot carry.

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?

Front-loaded with the core purpose and the one-dimension constraint, and every sentence carries information. The nested parentheticals for platform and product make it dense to parse in a single run-on paragraph, costing a point on structure.

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, the description compensates by naming the exact metrics returned, the sort order, and the default date window. Combined with the segmentation-unavailable warning, an agent has everything needed to call this correctly and to interpret or recover from failure.

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, but the description adds meaning beyond the enum labels by defining 'platform' (ChatGPT app on iOS/Android vs web) and constraining 'product' to product-feed campaigns. It also clarifies the optional campaign scoping, though it does not elaborate on limit/pagination behavior.

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?

States a specific verb+resource (spend and results split by one dimension) and enumerates the exact metrics returned (impressions, clicks, CTR, CPC, CPM, spend) plus the sort order. It explicitly distinguishes itself from chatgpt_ads_conversion_report, so an agent can tell the two apart without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to-use guidance: conversions are not split here and the agent is routed to chatgpt_ads_conversion_report with a breakdown. It also states the hard constraint that only ONE dimension is allowed at a time and that product is valid only for product-feed campaigns.

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