Skip to main content
Glama

ads_account_health

Read-onlyIdempotent

Live check of whether an ad account can run ads right now. Returns { id, status, ready, blockers, checks: [{ id, ok, message }] }. status is ok, attention (fixable, such as a missing payment method) or blocked (disabled or closed). Run this before creating or boosting an ad.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "ads_account_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 behavioral value on top: it spells out the return shape, defines the three status values, and explains that 'attention' means fixable (missing payment method) while 'blocked' means disabled or closed — critical for deciding whether to proceed. Rate limits and staleness/caching of the 'live' check are not addressed.

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?

Four short sentences, front-loaded with the purpose, then the response contract, then status semantics, then the action trigger. No redundant restatement of the title or annotations, and the return-shape sentence is justified because there is no output schema.

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?

For a read-only pre-flight check with no output schema, the description supplies exactly what is missing: the response structure and the meaning of each status. An agent has everything needed to call it and interpret the result.

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 three parameters (including when profile_id becomes required) are already documented in the schema. The description adds no additional parameter-level meaning beyond implying an ad account must be identified; the baseline 3 applies.

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 — a live check of whether an ad account can run ads right now — and goes further by defining what 'health' means (status/ready/blockers). This clearly separates it from the sibling ads_account_get, which would return account attributes rather than a runnability verdict.

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?

'Run this before creating or boosting an ad' gives an explicit trigger condition, which is the main usage decision an agent needs. It stops short of naming exclusions or sibling alternatives (e.g. when to use ads_account_get instead), so it lands just below the top band.

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.