Skip to main content
Glama
raihan675

OpenAI Ads & Conversion Intelligence MCP Server

by raihan675

Get Delivery Insights

get_delivery_insights

Retrieve advertising performance metrics across accounts, campaigns, ad groups, or ads. Choose aggregation, time granularity, and segments to analyze impressions, clicks, spend, CTR, CPC, CPM.

Instructions

Retrieve advertising performance metrics (impressions, clicks, spend, CTR, CPC, CPM). Supports aggregation_level ('ad_account', 'campaign', 'ad_group', 'ad'), time_granularity ('hourly', 'daily', 'monthly', 'none'), segments (['product'], ['country'], ['device']), and zero-impression items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoNext page cursor
limitNoMax rows returned (default 20)
scopeYesTarget entity scope for the query
fieldsNoSpecific fields to project (e.g. ['campaign.impressions', 'campaign.clicks', 'campaign.spend'])
end_timeNoUnix end timestamp in seconds (hourly boundary)
segmentsNoOptional breakdown segment dimension
entity_idNoEntity ID required if scope is campaign, ad_group, or ad
start_timeNoUnix start timestamp in seconds (past 5 years, hourly boundary)
time_granularityNoTime bucket size. Default 'daily'. 'none' returns full window total.
aggregation_levelNoRow entity inside the endpoint scope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. The read-oriented verb 'Retrieve' and the note that results include 'zero-impression items' disclose real behavior, but pagination behavior, rate limits, and output characteristics beyond the metric list are left unstated.

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?

Two sentences with the core purpose front-loaded and no filler. The second sentence is a dense list of supported options, but every item earns its place given the tool's complexity.

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?

For a tool with 10 parameters, no annotations, and no output schema, the description covers purpose and key options while the schema handles parameter documentation. However, it omits when to use this over get_conversion_insights and gives no return-structure context beyond the metric names, which is a notable gap for an analytics query tool.

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 description coverage is 100%, so the baseline is 3; the schema already documents all 10 parameters thoroughly. The description mostly restates enum values the schema already provides (aggregation_level, time_granularity, segments), adding little new parameter meaning beyond confirming the default metric set.

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: 'Retrieve advertising performance metrics (impressions, clicks, spend, CTR, CPC, CPM)', which clearly identifies what the tool does. The tool name and listed delivery metrics separate it from the sibling get_conversion_insights, but the description never explicitly names that alternative, so it stops short of full sibling differentiation.

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?

The description enumerates supported options (aggregation_level, time_granularity, segments, zero-impression items) but gives no guidance on when to choose this tool over alternatives. There is no mention of get_conversion_insights or any when-to-use/when-not-to-use condition, leaving tool selection entirely to inference.

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