Skip to main content
Glama
raihan675

OpenAI Ads & Conversion Intelligence MCP Server

by raihan675

List Campaigns

list_campaigns

List ad campaigns in your OpenAI Ads account with cursor pagination, configurable limits, and creation-time sorting for efficient campaign management.

Instructions

List campaigns in the current OpenAI Ads account with pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoCursor for pagination
limitNoNumber of items to return (1-500). Default 20.
orderNoSort order by creation time
beforeNoCursor for previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description carries the full behavioral burden. 'List' implies a read-only operation and 'with pagination' discloses how results are returned, but no output format, rate limits, or side-effect notes are provided. Adequate but minimal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with no filler. It states the operation, scope, and pagination behavior efficiently.

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 simple read-only list tool, the description plus a fully documented schema covers core invocation needs. The lack of an output schema means the return shape is not disclosed, and no sibling routing is provided, but these are minor gaps given the tool's simplicity.

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%, with all four parameters (after, limit, order, before) already described. The description adds no parameter-specific meaning, so the baseline score of 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?

The description clearly states the tool lists campaigns in the current OpenAI Ads account and explicitly mentions pagination. This distinguishes it from sibling tools like get_campaign (singular retrieval) and create_campaign/update_campaign (mutations).

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?

The use case is implied by the verb 'list' and the scope 'current account', but no explicit alternatives or exclusions are given. An agent must infer when to choose this over get_campaign or other campaign tools.

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