Skip to main content
Glama

Meta list ad accounts with campaigns

meta_list_ad_accounts_with_campaigns
Read-only

Meta ad accounts and their campaigns from synced data. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description does add one real behavioral fact beyond them: the data comes from a sync, implying possible staleness rather than a live API read. It says nothing about pagination, result limits, or freshness guarantees, so the added context is useful but thin.

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 short sentences with the resource statement front-loaded and no filler. The semicolon-chained parameter notes are dense but readable; the only cost is that the terseness leaves the parameter sentence doing too much work for too little coverage.

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?

An output schema exists, so return shape need not be explained, and the annotations cover the read-only, closed-world profile. What remains missing is routing versus the many sibling list tools and documentation for two of the four parameters, which leaves the definition only minimally adequate for a low-complexity listing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for four parameters. It explains client_id (picks the brand, defaults to the active one) and extra (passthrough for any field the app accepts), but user_id and user_email are left entirely undefined in both schema and description, and no format or interaction between user and client scoping is described.

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 exact resources returned: Meta ad accounts together with their campaigns, drawn from synced data. That is specific enough to distinguish it from a pure campaigns list, but it never contrasts itself with the near-identical sibling meta_list_ad_accounts or meta_list_user_ad_accounts, so an agent must guess which one it wants.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of meta_list_ad_accounts, meta_list_user_ad_accounts, or meta_list_campaigns. The only usage-adjacent statement is that client_id defaults to the active brand, which is a default behavior rather than a selection rule, and no prerequisites or exclusions are given.

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.