Skip to main content
Glama

ads_accounts_list

Read-onlyIdempotent

List the ad accounts reachable through the connected ads profiles (Meta Ads and Google Ads). Start here: other ads tools need an ad account id. Returns { total, page, per_page, data: [{ id, name, currency, status, platform, profile_id, billing_status, usable, unusable_reason, ... }] }. status is active, restricted, disabled or closed. An ads connection is its own profile and is connected from the Postproxy app, not through profile_groups_initialize_connection.

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

Input Schema

NameRequiredDescriptionDefault
liveNoRefetch the ad account list from the network before answering. Needs profile_id.
pageNoPage number, 1-based
per_pageNoPage size (default 25, max 100)
profile_idNoLimit to one ads profile (hashid). Required with live.
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the exact return envelope (total, page, per_page, data with id/name/currency/status/platform/profile_id/billing_status/usable/unusable_reason), the enumerated status values, and the fact that unusable accounts carry an unusable_reason. It stops short of describing caching semantics implied by the live flag or rate limits.

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?

It is front-loaded with purpose and the entry-point instruction, then the return shape, then the enum, then the connection caveat — five tight sentences where each carries distinct information. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description supplies the full response envelope and the field-level detail an agent needs to decide whether an account is usable. For a read-only list tool with 100% schema coverage and complete annotations, nothing material is missing.

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 every one of the five parameters is already documented, including the default and max for per_page and the 'required with live' constraint. The description adds no parameter-level meaning beyond the schema — it only restates the dependency on an ad account id at the concept level, so the baseline 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?

States a specific verb and resource ("List the ad accounts") plus the scope ("reachable through the connected ads profiles (Meta Ads and Google Ads)"). It also distances itself from the sibling profile_groups_initialize_connection by clarifying that ads connections are separate profiles, so an agent can distinguish it from the profile/group tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Start here: other ads tools need an ad account id" is an explicit entry-point instruction that tells the agent both when to use this tool and why the sibling ads_* tools cannot be called first. The final sentence adds a negative rule: ads connections are not established through profile_groups_initialize_connection.

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.