Skip to main content
Glama

AdsAgent — Meta Ads MCP

tasks_get_status

Read-only

Poll task_ref; never retry unchanged writes Use the workflow's original link_id when exposed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_refNo
response_modeNo
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 / workspace_ref
      Added value: +{
      +  "description": "Opaque workspace comparison hint; not an authorization credential.",
      +  "pattern": "^workspace_[0-9a-f]{32}$",
      +  "type": "string"
      +}
  4. Changed26 schema fields changed
    • addedOutput schema / $defs / s10
      Added value: +{
      +  "properties": {
      +    "ads": {
      +      "type": "integer"
      +    },
      +    "adsets": {
      +      "type": "integer"
      +    },
      +    "auxiliary_writes": {
      +      "type": "integer"
      +    },
      +    "campaigns": {
      +      "type": "integer"
      +    },
      +    "creative_keys": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / sb / properties / ads
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / sb / properties / adsets
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / sb / properties / auxiliary_writes
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / sb / properties / campaigns
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / $defs / sb / properties / count
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / $defs / sb / properties / creative_keys
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / $defs / sb / properties / has_more
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / sb / properties / items
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / $defs / sb / required
      Added value: +[
      +  "count",
      +  "items",
      +  "has_more"
      +]
    • addedOutput schema / $defs / se
      Added value: +{
      +  "properties": {
      +    "status": {
      +      "enum": [
      +        "requires_validation",
      +        "awaiting_assets",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / else / properties / result / properties / create_reconciliation / properties / created / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • changedOutput schema / else / properties / result / properties / create_reconciliation / properties / failed / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • changedOutput schema / else / properties / result / properties / create_reconciliation / properties / recovered / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • changedOutput schema / else / properties / result / properties / create_reconciliation / properties / requested / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • changedOutput schema / else / properties / result / properties / create_reconciliation / properties / unreconciled / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • addedOutput schema / else / properties / result / properties / created_at
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / else / properties / result / properties / finished_at
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / else / properties / result / properties / last_refreshed_at
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / else / properties / result / properties / launch_readiness
      Added value: +{
      +  "$ref": "#/$defs/se"
      +}
    • addedOutput schema / else / properties / result / properties / refresh_scope
      Added value: +{
      +  "enum": [
      +    "tenant",
      +    "fb_user"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / result / properties / refresh_summary
      Added value: +{
      +  "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/se"
      +    },
      +    "observed_at": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "routing_errors": {
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "enum": [
      +        "tenant",
      +        "fb_user"
      +      ],
      +      "type": "string"
      +    },
      +    "updated_assets": {
      +      "properties": {
      +        "ad_accounts": {
      +          "$ref": "#/$defs/sb"
      +        },
      +        "businesses": {
      +          "$ref": "#/$defs/sb"
      +        },
      +        "pages": {
      +          "$ref": "#/$defs/sb"
      +        }
      +      },
      +      "required": [
      +        "ad_accounts",
      +        "pages",
      +        "businesses"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "observed_at",
      +    "scope",
      +    "updated_assets",
      +    "failed_connections",
      +    "launch_readiness"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / else / properties / result / properties / requested_scope
      Added value: +{
      +  "enum": [
      +    "tenant",
      +    "fb_user"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / result / properties / started_at
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / else / properties / result / properties / task_ref
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / result / properties / task_status
      Added value: +{
      +  "type": "string"
      +}
  5. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds a polling/idempotency cue ("never retry unchanged writes") and a link_id continuity hint, which is genuine behavioral context, though both are telegraphic and the link_id reference does not map to any schema field.

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

Conciseness3/5

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

It is short and front-loads the action ("Poll task_ref"), which is good. But the missing punctuation between "writes" and "Use" fuses two unrelated instructions into a run-on fragment, so the brevity tips into under-specification rather than clean conciseness.

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

Completeness2/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 described. Yet with three parameters at 0% schema coverage, zero required parameters, and an enum parameter never mentioned, the description leaves an agent unable to call the tool correctly, and the stray link_id reference adds noise.

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%, so the description carries the full burden, but it explains only task_ref loosely and says nothing about response_mode or connection_context. Worse, it references a "link_id" that is not a parameter of this tool at all, which adds confusion rather than meaning.

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?

"Poll task_ref" gives a verb (poll) and a resource (task_ref), so the general intent is inferable. However, it never says this returns task status, and it does nothing to distinguish itself from siblings like tasks_latest, tasks_list, or tasks_get_create_detail. The purpose is only loosely pinned down.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Never retry unchanged writes" hints at a polling discipline, but there is no explicit statement of when to use this tool versus tasks_latest or tasks_list, and no prerequisites or exclusions. The "Use the workflow's original link_id when exposed" clause is conditional and cryptic rather than actionable routing guidance.

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