Skip to main content
Glama

ROAZ Meta and Google Ads Analytics

Account overview KPIs

getAccountOverview
Read-onlyIdempotent

Headline KPIs for one account over a date range — spend, revenue, ROAS, CPA, CPC, CTR, CPM, conversions, impressions, reach — each with the equal-length preceding period and a % change. Leads-mode accounts return leads and CPL instead of revenue/ROAS. A value is null when it is undefined (a CPA with no conversions) and a change is null when there is no honest baseline (a zero baseline, or a comparison window older than the account's synced history): say so, never report it as 0 or +100%.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "adAccountId": "<adAccountId>"
    },
    "name": "getAccountOverview"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date, YYYY-MM-DD (inclusive). Defaults to yesterday in the ad account's time zone.
networkNoAd network. Default "meta". "google" reads the Google Ads accounts (ids look like google:<n> in listAdAccounts).
startDateNoStart date, YYYY-MM-DD. Give both dates or neither (default: the last 7 complete days). Max 400 days.
adAccountIdYesWhich account to query: the numeric ROAZ ad account id, a Meta act_ id, or a client name (fuzzy-matched). Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, and the description still adds real behavior: leads-mode accounts swap revenue/ROAS for leads/CPL, values go null when undefined, and changes go null when the baseline is absent or the comparison window predates synced history. Those are exactly the cases where an agent would otherwise fabricate a zero. It stops short of describing response shape or whether large ranges are throttled.

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?

Front-loaded with the purpose and metric set, then the two behavioral caveats in descending order of importance. The long metric enumeration is dense but earns its place by defining the return surface in the absence of an output schema; the null-handling sentence is directive rather than filler.

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?

With no output schema, the description carries the return-value burden itself and does so thoroughly: it names every metric, explains the prior-period pairing, covers the leads-mode variant, and specifies null semantics for both values and change percentages. Nothing an agent needs in order to call this correctly or interpret the result 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 coverage is 100%, so the schema already documents startDate/endDate pairing, the 400-day cap, the network enum, and adAccountId forms. The description adds only indirect meaning (that the range also defines the auto-generated comparison window and that the window is clamped by synced history), which is useful but marginal against an already-complete schema.

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?

States a specific verb+resource (headline KPIs for one account over a date range) and enumerates the exact metrics returned, plus the leads-mode variant. It does not, however, distinguish itself from the close sibling getAccountReport or comparePeriods, leaving the agent to infer that this is the single-account headline view rather than the report/comparison tools.

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

Usage Guidelines3/5

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

Usage is implied by 'headline KPIs ... over a date range' and the equal-length prior-period pairing, and the description does give output-handling guidance (report nulls as unknown, never as 0 or +100%). But it never says when to pick this over getAccountReport, comparePeriods, or getRoazInsights, and no exclusions or prerequisites are stated.

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