Skip to main content
Glama

OpenAI Ads performance

openai_ads_insights
Read-only

Daily spend, impressions and clicks of one OpenAI Ads account per campaign, ad group or ad, over the last days days (window aligned on the hour in the account time zone). Spend is in the account currency as returned by the API. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in days, ending now (account time zone). Default 7.
levelNoBreakdown level. Default campaign.campaign
accountIdNoFezola accountId of the OpenAI Ads account (type openai_ads in list_accounts or openai_ads_list_accounts). Optional when only one is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered and the trailing 'Read-only.' adds nothing. The description does contribute real behavior beyond annotations: the window is aligned on the hour in the account time zone, and spend is denominated in the account currency as returned by the API. It says nothing about empties, ordering, or volume of returned rows, which matters since there is no output schema.

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?

A single dense sentence front-loads the metrics, scope and granularity, followed by a short qualifier; there is no filler. The closing 'Read-only.' is redundant with readOnlyHint and is the one phrase that does not earn its place.

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?

For a three-parameter, all-optional read tool this covers the essentials: what is measured, the aggregation level, the time window semantics and the spend unit. With no output schema, it could still say more about the shape of the response (e.g. one row per day per entity, treatment of days with no delivery), which is the remaining gap.

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%, so all three parameters are already documented. The description reinforces the days semantics (hour-aligned window in account time zone) but adds no meaning beyond the schema for level or accountId, so the baseline 3 applies.

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?

Names the exact metrics (daily spend, impressions, clicks), the resource (one OpenAI Ads account) and the granularity switch (per campaign, ad group or ad), which is enough to distinguish it from openai_ads_conversions_insights and the google/msads performance tools without opening any schema.

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?

Usage is only implied: the accountId note (optional when only one account is connected) is a practical calling hint, but there is no explicit when-to-use guidance, no exclusion such as 'use openai_ads_conversions_insights for conversion metrics', and no prerequisites.

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