Skip to main content
Glama

ROAZ Meta and Google Ads Analytics

ROAZ computed insights

getRoazInsights
Read-onlyIdempotent

ROAZ's own computed findings for an account: anomalies, creative fatigue, winners and losers, and recommendations, each with severity, the entity it concerns and an estimated monthly currency impact. This is the analysis layer — use it for 'what's wrong / what should I do' questions rather than raw metrics. Rows with engineVersion 'v3' also carry a verdict plus ready-written action/why/expected text and a confidence level — quote those rather than inventing your own advice. Legacy and LLM analyst rows leave those fields null.

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

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by insight type, e.g. "anomaly", "recommendation", "working", "not_working". Omit for all types.
limitNoMax rows to return (default 25, hard cap 100).
networkNoAd network. Default "meta". "google" reads the Google Ads accounts (ids look like google:<n> in listAdAccounts).
severityNoOnly insights at this severity.
adAccountIdYesWhich account to query: the numeric ROAZ ad account id, a Meta act_ id, or a client name (fuzzy-matched). Required.
includeResolvedNoInclude already-resolved insights (default false — active issues only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds materially: rows carry severity, entity and estimated monthly currency impact, and engineVersion 'v3' rows carry a verdict plus ready-written action/why/expected text and confidence. It further warns that legacy and LLM analyst rows leave those fields null, which tells the agent when output will be sparse and that it should quote v3 text rather than synthesize advice.

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 purpose then usage rule then output contract, with no filler. Every clause carries information the agent needs to select and interpret the tool.

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, so the description carries the return-value burden itself and does so: it enumerates the insight categories, the per-row fields (severity, entity, monthly impact), and the v3 nullity caveat. Nothing an agent needs to call this correctly or interpret results 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 all six parameters including the enums, defaults and the 100-row cap are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies; its field-level detail concerns return values, not inputs.

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 resource and content set: "ROAZ's own computed findings for an account: anomalies, creative fatigue, winners and losers, and recommendations." It also frames itself as "the analysis layer" versus "raw metrics," which separates it from reporting siblings in kind, though it never names getInsights or getAccountOverview directly.

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?

Gives an explicit usage rule: "use it for 'what's wrong / what should I do' questions rather than raw metrics," which is a genuine decision criterion an agent can apply. It stops short of naming the alternative tools or stating when this tool should not be used.

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