Skip to main content
Glama
niyogi

chatgpt-ads-manager-mcp

by niyogi

list_campaigns

Retrieve paginated campaign lists for an ad account to locate campaign IDs for updates, ad groups, or insights. Filter by name to narrow results.

Instructions

List campaigns for the ad account. Paginated. Use returned campaign_id with get_campaign, update_campaign, create_ad_group, and insights tools. Filter by name if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFilter by campaign name (partial, min 3 chars).
afterNoCursor for forward pagination.
limitNoMax results 1–500.
orderNoSort order.
beforeNoCursor for backward pagination.
includeNoOptional includes, e.g., serving_issues.
ad_account_idNoOptional ad account ID override. Uses OPENAI_AD_ACCOUNT_ID env if not set.
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses pagination ('Paginated') and filterability ('Filter by name if needed'), and its 'List' verb implies a read-only operation. However, it does not mention default ordering/limits, cursor usage, the include option, ad_account_id fallback behavior, or the return structure beyond campaign_id, so behavioral coverage is partial.

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?

The description is four short sentences, each earning its place: the core purpose, pagination, downstream usage of the returned ID, and the optional name filter. It is front-loaded with the main action and contains no filler or redundant wording.

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?

No output schema or annotations exist, so the description should provide more context. It explains pagination and downstream use of campaign_id, but it does not explain how to paginate (cursor usage, default limit/order), the include option, or the ad_account_id environment variable fallback. For a tool with 7 optional parameters, this is adequate but not fully complete.

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 description adds only 'Filter by name if needed', which lightly reinforces the name parameter but does not add syntax, format, or behavior details beyond what the input schema already documents. This is acceptable given the high schema coverage.

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 states 'List campaigns for the ad account', which is a specific verb and resource, making the tool's purpose immediately clear. It distinguishes campaigns from other list tools by naming the resource, but it does not explicitly contrast itself with siblings such as list_ad_groups or get_campaign, so it falls just short of full differentiation.

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?

The description gives clear context: this is the tool to list campaigns and obtain campaign_ids for downstream tools like get_campaign, update_campaign, create_ad_group, and insights tools. It implies when to use it (when you need campaign IDs or a list) but does not explicitly state when not to use it or name alternative tools, leaving a minor gap.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/niyogi/chatgpt-ads-manager-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server