Skip to main content
Glama

AdsAgent — Meta Ads MCP

operations_get_approval

Read-only

Read a mutation approval by approval_ref Use the workflow's original link_id when exposed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approval_refYes
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. Changed3 schema fields changed
    • addedOutput schema / $defs / s0 / properties / checks / items / properties / provider_error_code
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / s0 / properties / checks / items / properties / provider_error_subcode
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / s0 / properties / checks / items / properties / reason_code
      Added value: +{
      +  "type": "string"
      +}
  4. Changed27 schema fields changed
    • addedOutput schema / $defs / s0 / properties / ad_account_id
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / s0 / properties / amount
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / $defs / s0 / properties / billing
      Added value: +{
      +  "properties": {
      +    "available_funds_major": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "balance_semantics": {
      +      "type": "string"
      +    },
      +    "currency": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "low_remaining_spend_cap": {
      +      "type": "boolean"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "reported_balance_major": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "spend_cap_remaining_major": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / $defs / s0 / properties / checked_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / s0 / properties / checks
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "asset_id": {
      +        "type": "string"
      +      },
      +      "asset_type": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / $defs / s0 / properties / currency
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s0 / properties / daily_budget
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s0 / properties / level
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / s0 / properties / mode
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / s0 / properties / status
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / s0 / properties / timing
      Added value: +{
      +  "properties": {
      +    "account_local_now": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "hours_left_today": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "schedule_valid": {
      +      "type": "boolean"
      +    },
      +    "timezone_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "utc_offset_hours": {
      +      "type": "number"
      +    },
      +    "windows": {
      +      "items": {
      +        "properties": {
      +          "end_time": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "hours_remaining": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "hours_until_start": {
      +            "type": "number"
      +          },
      +          "paused": {
      +            "type": "boolean"
      +          },
      +          "potential_delivery_hours_today": {
      +            "type": "number"
      +          },
      +          "start_time": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / s0 / properties / total_daily_budget
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s0 / properties / unit
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / s0 / properties / version
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / s0 / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / $defs / s0 / required
      Added value: +[
      +  "version",
      +  "checked_at",
      +  "ad_account_id",
      +  "status",
      +  "checks",
      +  "warnings"
      +]
    • changedOutput schema / $defs / s0 / type
      Previous value: -[
      -  "null",
      -  "object"
      -]New value: +"object"
    • removedOutput schema / $defs / s1
      Removed value: -{
      -  "properties": {
      -    "amount": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "currency": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "daily_budget": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "level": {
      -      "type": "string"
      -    },
      -    "mode": {
      -      "type": "string"
      -    },
      -    "total_daily_budget": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "unit": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s7
      Added value: +{
      +  "properties": {
      +    "amount": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "currency": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "daily_budget": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "level": {
      +      "type": "string"
      +    },
      +    "mode": {
      +      "type": "string"
      +    },
      +    "total_daily_budget": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "unit": {
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / $defs / s8
      Added value: +{
      +  "properties": {
      +    "amount": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "currency": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "daily_budget": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "level": {
      +      "type": "string"
      +    },
      +    "mode": {
      +      "type": "string"
      +    },
      +    "total_daily_budget": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "unit": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / current_preflight
      Added value: +{
      +  "$ref": "#/$defs/s0"
      +}
    • changedOutput schema / else / properties / summary / properties / bid / $ref
      Previous value: -"#/$defs/s0"New value: +"#/$defs/s7"
    • changedOutput schema / else / properties / summary / properties / budget / $ref
      Previous value: -"#/$defs/s0"New value: +"#/$defs/s7"
    • changedOutput schema / else / properties / summary / properties / groups / items / properties / bid / $ref
      Previous value: -"#/$defs/s1"New value: +"#/$defs/s8"
    • changedOutput schema / else / properties / summary / properties / groups / items / properties / budget / $ref
      Previous value: -"#/$defs/s1"New value: +"#/$defs/s8"
    • addedOutput schema / else / properties / summary / properties / preflight
      Added value: +{
      +  "$ref": "#/$defs/s0"
      +}
    • addedOutput schema / else / properties / warnings
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "message"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
  5. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds that the entity is an approval gating a mutation, but says nothing about lookup failures, missing approvals, or what connection_context does beyond leaving it to the schema.

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?

Two short sentences, but the second is confusing and arguably misleading since link_id is not an accepted parameter, so it does not earn its place.

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 explained, but for a tool with two parameters at 0% schema description coverage the description is too thin and references an unrelated 'link_id' without clarifying the required approval_ref format or the purpose of connection_context.

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 explanatory burden. It only restates 'by approval_ref' with no meaning added, and never mentions the optional connection_context parameter at all, leaving both params under-explained.

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?

States a specific verb (Read) and resource (a mutation approval), and names the key identifier approval_ref. It is distinguishable from siblings like operations_deny_approval or operations_get, though the trailing reference to 'link_id' is unrelated to any parameter and muddies the picture.

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?

Only guidance is 'Use the workflow's original link_id when exposed,' which is opaque and references a concept that is not a parameter of this tool. There is no statement of when to call this versus alternatives such as operations_get or operations_get_context.

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