Skip to main content
Glama

AdsAgent — Meta Ads MCP

accounts_get_account_detail

Read-only

Read live Meta details for one ad account authorized in your workspace; app bindings are cached, no BM links. BM topology: assets_lookup_business_links

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_account_idYes
connection_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / else / properties / profile_visit_eligibility
      Added value: +{
      +  "properties": {
      +    "checked_at": {
      +      "type": "string"
      +    },
      +    "reason_code": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "enum": [
      +        "cache",
      +        "probe"
      +      ],
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "eligible",
      +        "not_eligible",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  4. Changed4 schema fields changed
    • addedOutput schema / else / properties / availability
      Added value: +{
      +  "additionalProperties": {
      +    "enum": [
      +      "available",
      +      "partial",
      +      "unavailable"
      +    ]
      +  },
      +  "propertyNames": {
      +    "enum": [
      +      "pages",
      +      "pixels",
      +      "account",
      +      "apps"
      +    ]
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / complete
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / properties / status
      Added value: +{
      +  "enum": [
      +    "complete",
      +    "partial"
      +  ]
      +}
    • addedOutput schema / else / properties / warnings
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "action_url": {
      +        "type": "string"
      +      },
      +      "category": {
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "section": {
      +        "enum": [
      +          "pages",
      +          "pixels",
      +          "account",
      +          "apps"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: app bindings are cached (data-freshness/staleness signal) and BM links are deliberately excluded from the result. That is useful disclosure not present in structured fields.

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?

Two tightly packed sentences with the core action and the two key qualifiers (cached, no BM links) front-loaded before the topology pointer. The trailing 'BM topology: assets_lookup_business_links' is terse to the point of being cryptic, but nothing is wasted.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the annotations cover safety for this read-only tool. The gap is parameter-level: with 0% schema coverage the agent gets no guidance on connection_context or the expected id form, leaving the definition only minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across two parameters, and the description explains neither ad_account_id nor connection_context (which carries a regex constraint the agent cannot interpret from prose). 'Authorized in your workspace' loosely gestures at connection_context but adds no usable semantics, so the description fails to compensate for the coverage gap.

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?

The description uses a specific verb and resource ('Read live Meta details for one ad account'), and adds scope ('authorized in your workspace'), which separates it from bulk listings like assets_list_ad_accounts. It is clear but does not explicitly contrast with near-neighbors like account_get_profile or accounts_find_owner, so it stops short of a 5.

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 rather than stated: the 'no BM links' qualifier plus 'BM topology: assets_lookup_business_links' effectively routes the agent elsewhere for business-manager topology. However, there is no explicit when-to-use/when-not framing against the sibling reads (account_get_profile, accounts_find_owner), leaving the agent to infer the boundary.

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