Skip to main content
Glama

ChatGPT Ads campaigns

chatgpt_ads_get_campaigns
Read-only

Campaigns with objective, status, budget, schedule, targeting and any serving issues (the reasons OpenAI isn't delivering them). Use status for only active or paused ones. Pair with chatgpt_ads_performance_report for numbers.

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_get_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return (default 100, max 500).
statusNoOnly records with this status, e.g. active, paused or archived.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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. The description adds one genuinely useful behavioral detail — that serving issues represent reasons OpenAI is not delivering — but says nothing about pagination, result ordering, or the side effect of having no data when no account is connected.

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 tight sentences, front-loaded with the payload contents and followed by the filtering and pairing hints. Nothing is wasted, though the opening fragment lacks a verb, which costs a little clarity.

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?

With no output schema, the description usefully enumerates the fields returned, and the parenthetical explains the least obvious one. For a three-parameter read-only list tool with full schema coverage, this is essentially complete; only result volume/pagination behavior is left implicit.

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 schema already documents limit, status and accountId. The description reinforces the `status` filter semantics (active/paused) and indirectly implies accountId is optional via context, but adds no new syntax or default information beyond the schema.

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 names the resource and enumerates what each campaign record contains (objective, status, budget, schedule, targeting, serving issues), and clarifies that serving issues are OpenAI's non-delivery reasons. It is clear, though no verb (list/retrieve) is stated, so the agent must infer that this is a read/list call.

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 usage guidance: use `status` to narrow to active or paused campaigns, and pair with chatgpt_ads_performance_report when numbers are needed. It does not state when not to use it or name a sibling for campaign-level writes such as chatgpt_ads_create_campaign / chatgpt_ads_set_status, which keeps it short of a 5.

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