Skip to main content
Glama

ROAZ Meta and Google Ads Analytics

List ad accounts / clients

listAdAccounts
Read-onlyIdempotent

List every Meta ad account this key can access in ROAZ, with its ROAZ id, Meta act_ id, client name, currency and last sync time. Call this first to map a client name to the adAccountId every other tool needs. Google Ads accounts are listed too (network "google", adAccountId google:); pass network to list one network only.

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

Input Schema

NameRequiredDescriptionDefault
searchNoOptional case-insensitive filter on account or client name.
networkNoAd network. Default "meta". "google" reads the Google Ads accounts (ids look like google:<n> in listAdAccounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: results are scoped to what "this key can access," ids come in two formats (act_ for Meta, google:<n> for Google), and last sync time is exposed. It does not describe pagination or result ordering, which is the only remaining gap.

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?

Three sentences, front-loaded with the purpose, followed by the call-first ordering rule and the network behavior. No filler or restatement of the tool name.

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, and the description compensates by naming the fields returned, which is what an agent needs to route on adAccountId. For a two-optional-parameter read tool with full annotation coverage, 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 both parameters are already documented at the field level, establishing a baseline of 3. The description clarifies that network narrows to a single network rather than combining, but adds nothing about the search parameter and does not extend beyond the schema's own enum wording.

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 every Meta ad account this key can access in ROAZ") and enumerates the returned fields: ROAZ id, Meta act_ id, client name, currency, last sync time. It also covers Google Ads accounts and their id shape (google:<n>), so an agent can distinguish it from the reporting siblings like getAccountOverview or getCampaigns.

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?

Gives an explicit sequencing instruction: "Call this first to map a client name to the adAccountId every other tool needs." It also states the alternative-network condition ("pass network to list one network only") and the default (meta). Nothing about when to reach for it is left to inference.

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.

Resources