Skip to main content
Glama

chatgpt_ads_insights_report

Read-only

Generate a read-only ChatGPT Ads performance report scoped by campaign, ad group, or ad, returning delivery and conversion metrics for a selected period.

Instructions

Reports ChatGPT Ads performance. Returns a JSON array of rows as the API returns them: the row entity's id and name, readable_time for daily rows, and the requested metrics. Read-only. Scope with at most one of campaign_id / ad_group_id / ad_id (none = the whole account); level picks the row entity at or below that scope. spend, cpc and cpm are major currency units (12.50 = 12.50), not micros; ctr is a ratio. Impressions and clicks arrive within minutes, spend reflects finalized activity and can update later, conversions take at least one day, so same-day rows are provisional.

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": "chatgpt_ads_insights_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNoAd to scope the report to id as the API returns it (e.g. 'ad_123'). Find it with the matching list tool.
levelNoRow entity. Default 'campaign', or the scope's own level when scoped to an ad group or ad. Must not be above the scope.
limitNoMaximum rows to return. Default 1000. Rows beyond limit are dropped without notice; daily granularity returns one row per entity per day, so size limit to entities x days. mureo follows the cursor until this many rows are collected, so no cursor is returned.
periodNoWindow as 'today', 'yesterday', 'last_7d', 'last_14d', 'last_30d', 'last_90d', 'this_month', 'last_month' or explicit 'YYYY-MM-DD..YYYY-MM-DD' (both ends inclusive), resolved in the ad account's time zone. 'last_Nd' ends yesterday. At most 365 days. Default 'last_30d'.
metricsNoMetrics to return, each at most once. Delivery: impressions, clicks, spend, ctr, cpc, cpm (the default set). Conversion: conversions, cpa, post_click_cvr, order_created_attributed_sales, order_created_roas; these need full days and measured conversions.
ad_group_idNoAd group to scope the report to id as the API returns it (e.g. 'adgrp_123'). Find it with the matching list tool.
campaign_idNoCampaign to scope the report to id as the API returns it (e.g. 'cmpn_123'). Find it with the matching list tool.
time_granularityNo'none' (default) returns one row per entity for the whole window; 'daily' adds one row per day.
attribution_window_daysNoClick attribution window for conversion metrics. Omit for the API default (30). Does not change delivery metrics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description restates read-only while adding genuinely new behavior: data freshness by metric (impressions/clicks within minutes, spend can be revised, conversions need at least a day, same-day rows provisional), in-tool cursor following with rows beyond limit "dropped without notice", and the row shape returned. The silent truncation at limit is exactly the kind of operational trait an agent needs and could not get from annotations.

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 description is front-loaded with purpose and return shape, then scoping, units, and freshness, with no filler sentences. It is dense to the point of being a single semicolon-chained block, which slightly hurts scanability, but every clause carries information.

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 nine optional parameters, no required fields, and no output schema, the description carries the full load of explaining what comes back and when the data is trustworthy. Coverage of return shape, scoping, units, and freshness leaves nothing an agent needs missing before calling it.

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 schema: spend/cpc/cpm are major currency units rather than micros, ctr is a ratio, and level is bounded relative to the chosen scope. The at-most-one scope rule also encodes a constraint the schema's free-form properties cannot express.

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 opens with a specific verb and resource ("Reports ChatGPT Ads performance") and immediately defines the return shape: an array of rows with the row entity's id and name plus requested metrics. This clearly separates it from list/mutation siblings, but it never names a specific alternative (e.g. the conversions report or the Meta insights equivalent) that an agent might confuse it with, so sibling differentiation is left implicit.

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 selection rules: "Scope with at most one of campaign_id / ad_group_id / ad_id (none = the whole account); level picks the row entity at or below that scope." That tells the agent how to choose parameters rather than just what they are. It stops short of explicit when-not-to-use guidance or naming an alternative tool for a different reporting need.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools