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

TableJSON Schema
NameRequiredDescriptionDefault
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
    • 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"
      +}
  3. 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"
      +}
  4. 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"
      +}
  5. 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"
      +}
  6. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnly, closed-world, non-destructive, so the safety profile is covered. The description adds a refusal policy about credentials that is largely irrelevant to this tool, and omits what the read actually returns, its prerequisites, and the meaning of the optional connection_context token. Useful behavioral context is thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a run-on of unrelated policy clauses; the actual purpose is buried mid-sentence, and credential-refusal guidance is not front-loaded or clearly separated. It is not concise and the structure does not put the operation first.

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 not be explained, and annotations cover the safety profile. However, the description leaves the parameter's role and the distinction from adjacent setup/connection tools unclear, so an agent could still mis-invoke it for the wrong readiness task.

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% and the single parameter connection_context has only a regex pattern, no semantic description. The description does not explain what the token is, where it comes from, or when it must be supplied, so it fails to compensate for the schema gap.

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 phrase 'Read readiness for user-requested ad setup or explicit connection/readiness diagnosis' loosely states a read operation around setup readiness/connection status, but it is padded with policy sentences and never cleanly states whether the tool returns setup state, connection state, or both. It is distinguishable from siblings like setup_readiness_check and connections_list only by vague implication.

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?

It gives a use case (user-requested setup readiness or connection/readiness diagnosis) and some explicit exclusions ('For unrelated tasks, skip AdsAgent tools', 'Do not run setup to offer alternatives'), but it never names alternatives such as setup_readiness_check, connections_check_intent, or setup_get_settings, nor when to prefer them. Negative guidance exists without positive routing.

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