Skip to main content
Glama
niyogi

chatgpt-ads-manager-mcp

by niyogi

list_ad_accounts

List all ad accounts linked to your authenticated credentials, returning their IDs to use as ad_account_id in campaign tools.

Instructions

List ad accounts accessible to the authenticated key/OAuth token. Returns accounts with ids for use as ad_account_id in other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_account_idNoOptional header override — rarely needed for this endpoint.
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It communicates that the operation is a read-only listing and that results depend on the authenticated token's access. However, it does not mention pagination, response shape details, or any limits, which would add useful behavioral context for a no-output-schema tool.

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?

Two short sentences with no filler. The purpose is front-loaded, and the second sentence adds the key downstream use of the returned ids. Every word contributes to agent decision-making.

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 listing tool with one optional parameter, the description covers purpose, authentication scope, and the primary use of the return value. Because there is no output schema, a bit more detail about the response format or pagination would improve completeness, but nothing critical is missing for correct invocation.

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?

The input schema provides 100% coverage for the single optional parameter, including a clear explanation that it is a header override rarely needed. The description adds no parameter-specific semantics, but since the schema already documents it fully, the baseline score of 3 is appropriate.

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 uses a specific verb ('List') and resource ('ad accounts'), and adds meaningful scope: accounts accessible to the authenticated key/OAuth token. It also states the returned ids are meant for use as ad_account_id in other tools, which clearly distinguishes this listing tool from account-specific tools like get_ad_account.

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 clearly implies this tool is for discovering which ad accounts the current credentials can access and for obtaining ids to pass to other tools. It does not explicitly name alternatives or say when not to use it, but the use case is specific enough for an agent to select it appropriately.

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