Skip to main content
Glama

AdsAgent — Meta Ads MCP

setup_get_status

Read-only

Read readiness for user-requested ad setup or explicit connection/readiness diagnosis. For unrelated tasks, skip AdsAgent tools. For requests to reveal/export private credentials (passwords, bearer tokens, MFA codes), refuse without tools. Do not run setup to offer alternatives. Connection-health, expiry and reauthorization checks remain supported

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. 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"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / else / properties / template_preparation
      Added value: +{
      +  "properties": {
      +    "account_count": {
      +      "type": "integer"
      +    },
      +    "accounts": {
      +      "items": {
      +        "properties": {
      +          "account_name": {
      +            "type": "string"
      +          },
      +          "connection_labels": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "date_from": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "date_to": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "reason_counts": {
      +            "additionalProperties": {
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "status": {
      +            "enum": [
      +              "not_prepared",
      +              "pending",
      +              "running",
      +              "ready",
      +              "no_recent_spend",
      +              "partial",
      +              "failed"
      +            ],
      +            "type": "string"
      +          },
      +          "template_count": {
      +            "type": "integer"
      +          },
      +          "unprepared_count": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "accounts_truncated": {
      +      "type": "boolean"
      +    },
      +    "failed_accounts": {
      +      "type": "integer"
      +    },
      +    "materials_required_at_quickcreate": {
      +      "type": "boolean"
      +    },
      +    "no_spend_accounts": {
      +      "type": "integer"
      +    },
      +    "preparing_accounts": {
      +      "type": "integer"
      +    },
      +    "source_priority_days": {
      +      "type": "integer"
      +    },
      +    "status": {
      +      "enum": [
      +        "unavailable"
      +      ],
      +      "type": "string"
      +    },
      +    "unprepared_accounts": {
      +      "type": "integer"
      +    },
      +    "window_days": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / connection_routing
      Added value: +{
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / else / properties / workspace_ref
      Added value: +{
      +  "description": "Opaque workspace comparison hint; not an authorization credential.",
      +  "pattern": "^workspace_[0-9a-f]{32}$",
      +  "type": "string"
      +}
  6. Changed15 schema fields changed
    • addedOutput schema / $defs / s0 / properties / count
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / $defs / s0 / properties / enabled
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / $defs / s0 / properties / has_more
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / $defs / s0 / properties / interval_min
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / $defs / s0 / properties / items
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / $defs / s0 / properties / last_pulled_at
      Removed value: -{
      -  "type": [
      -    "null",
      -    "string"
      -  ]
      -}
    • removedOutput schema / $defs / s0 / properties / next_pull_estimate
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / s0 / properties / staleness_seconds
      Removed value: -{
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
    • changedOutput schema / $defs / s0 / required
      Previous value: -[
      -  "enabled",
      -  "interval_min",
      -  "last_pulled_at",
      -  "staleness_seconds"
      -]New value: +[
      +  "count",
      +  "items",
      +  "has_more"
      +]
    • addedOutput schema / $defs / s3
      Added value: +{
      +  "properties": {
      +    "status": {
      +      "enum": [
      +        "requires_validation",
      +        "awaiting_assets",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / s5
      Added value: +{
      +  "properties": {
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "interval_min": {
      +      "type": "integer"
      +    },
      +    "last_pulled_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "next_pull_estimate": {
      +      "type": "string"
      +    },
      +    "staleness_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "enabled",
      +    "interval_min",
      +    "last_pulled_at",
      +    "staleness_seconds"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / asset_refresh
      Added value: +{
      +  "properties": {
      +    "complete": {
      +      "type": "boolean"
      +    },
      +    "created_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "finished_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "last_refreshed_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "launch_readiness": {
      +      "$ref": "#/$defs/s3"
      +    },
      +    "refresh_scope": {
      +      "enum": [
      +        "tenant",
      +        "fb_user"
      +      ],
      +      "type": "string"
      +    },
      +    "refresh_summary": {
      +      "properties": {
      +        "failed_connections": {
      +          "items": {
      +            "properties": {
      +              "label": {
      +                "type": "string"
      +              },
      +              "reason": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "label",
      +              "reason"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "failed_connections_count": {
      +          "type": "integer"
      +        },
      +        "failed_connections_has_more": {
      +          "type": "boolean"
      +        },
      +        "launch_readiness": {
      +          "$ref": "#/$defs/s3"
      +        },
      +        "observed_at": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "routing_errors": {
      +          "type": "integer"
      +        },
      +        "scope": {
      +          "enum": [
      +            "tenant",
      +            "fb_user"
      +          ],
      +          "type": "string"
      +        },
      +        "updated_assets": {
      +          "properties": {
      +            "ad_accounts": {
      +              "$ref": "#/$defs/s0"
      +            },
      +            "businesses": {
      +              "$ref": "#/$defs/s0"
      +            },
      +            "pages": {
      +              "$ref": "#/$defs/s0"
      +            }
      +          },
      +          "required": [
      +            "ad_accounts",
      +            "pages",
      +            "businesses"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "observed_at",
      +        "scope",
      +        "updated_assets",
      +        "failed_connections",
      +        "launch_readiness"
      +      ],
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "requested_scope": {
      +      "enum": [
      +        "tenant",
      +        "fb_user"
      +      ],
      +      "type": "string"
      +    },
      +    "started_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "task_ref": {
      +      "type": "string"
      +    },
      +    "task_status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "complete"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / else / properties / auto_pull / properties / assets / $ref
      Previous value: -"#/$defs/s0"New value: +"#/$defs/s5"
    • changedOutput schema / else / properties / auto_pull / properties / insights / $ref
      Previous value: -"#/$defs/s0"New value: +"#/$defs/s5"
    • addedOutput schema / else / properties / onboarding_guidance / properties / asset_refresh
      Added value: +{
      +  "type": "string"
      +}
  7. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false. The description adds meaningful policy context beyond annotations: refusing credential exports, skipping AdsAgent for unrelated tasks, not running setup to offer alternatives, and supporting connection-health/expiry checks. No contradiction.

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?

Four sentences, front-loaded with purpose then policies; no filler. Some sentences are terse and slightly disjointed but all carry actionable rules.

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 parameters, an output schema, and rich annotations, the description covers purpose, usage, and policy. It could define 'readiness' more concretely, but it is complete enough for invocation.

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

Parameters4/5

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

Zero parameters, so baseline 4. The description adds no parameter detail, but none is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it reads 'readiness' for user-requested ad setup or connection/readiness diagnosis, which is a specific verb and domain. However, 'readiness' is abstract and the description does not distinguish this tool from the close sibling setup_readiness_check, leaving the agent to guess between them.

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?

Explicitly covers when to use (user-requested ad setup, explicit connection/readiness diagnosis) and when not (unrelated tasks, credential-reveal requests, offering alternatives). It lacks named alternatives for connection checks, but the conditions are clearly 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