Skip to main content
Glama

AdAce Google & Search Ads

Why it did not work

explain_failures
Read-onlyIdempotent

Why things did not work: the workspace's recent failed or stopped actions (last 14 days) in plain words, each with what to do and a link: failed or expired changes, ad accounts that need to be reconnected (needs_reauth), accounts where changes are not allowed yet (WRITES_NOT_ALLOWED_YET), plan limits and refused calls. Optional client_id, days, limit and language (en, uk, ru, de, es, it). Read-only; free: not counted as an action.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
languageNo
client_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description's 'read-only' line is partly redundant. It does add genuinely new behavioral facts: the fixed 14-day lookback, that results are plain-language with a remediation step and a link, and that calls are free and not counted against the action quota. Output format and pagination beyond 'limit' remain unstated.

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?

Everything is front-loaded in a single dense sentence with zero filler; each clause (categories, window, params, read-only/free) earns its place. The run-on enumeration is slightly hard to scan but not padded.

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

Completeness4/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 responsibly sketches the return shape (plain words, what to do, link) and covers the failure taxonomy. The only meaningful gaps are the unexplained client_id and limit semantics for a four-parameter tool.

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 0%, so the description carries the full burden. It lists all four parameters and spells out the language enum values, and frames 'days' as the lookback window, but it never explains what client_id scopes to or how 'limit' behaves (max 50, default). That leaves two of four params underspecified.

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?

The description names a specific verb and resource — surfacing recent failed/stopped actions in plain words — and enumerates the failure categories (expired changes, needs_reauth, WRITES_NOT_ALLOWED_YET, plan limits, refused calls). An agent can immediately tell this is a diagnostic 'what went wrong' tool rather than a raw change-listing sibling.

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?

The 'why things did not work' framing gives clear context for when to reach for it, and the 14-day window bounds its applicability. However, it never names an alternative for adjacent needs (e.g., full change status or policy details), leaving the when-not-to-use case 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