Skip to main content
Glama

AdsAgent — Meta Ads MCP

ads_update_copy_confirm

DestructiveIdempotent

Run the change the user just confirmed: set the reviewed text fields of one Meta ad from current to approved values. Confirmation accepts a rotated thumbnail URL when the video ID, valid thumbnail hash and the rest of the creative match. If the source video, thumbnail, destination link or copy changes, prepare again and obtain fresh approval.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "confirm_token": "<confirm_token>"
    },
    "name": "ads_update_copy_confirm"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_valueNo
old_valueNo
entity_nameNo
confirm_tokenYes

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
    • addedInput schema / properties / entity_name
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / new_value
      Added value: +{
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean",
      +    "object",
      +    "array"
      +  ]
      +}
    • addedInput schema / properties / old_value
      Added value: +{
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean",
      +    "object",
      +    "array",
      +    "null"
      +  ]
      +}
  2. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  4. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: confirmation tolerates a rotated thumbnail URL only when the video ID and a valid thumbnail hash match, and approval goes stale if any of the four creative inputs move. It does not say what is returned or how failures surface, but the destructive/idempotent framing is already carried by annotations.

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?

Three tight sentences, front-loaded with the action and followed by the exception and the fallback. No filler; the only slight density cost is the compressed thumbnail-rotation clause, which reads as a run-on.

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 the mutation profile. Still, for a destructive confirm step with four undocumented parameters at 0% schema coverage, the definition leaves the agent guessing about what to pass for confirm_token and the value fields.

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 four parameters, and the description never names confirm_token, new_value, old_value or entity_name. The phrase 'from current to approved values' loosely maps to old/new values and 'one Meta ad' hints at entity_name, but the single required parameter (confirm_token) is completely unexplained in both schema and description.

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 states a specific verb and scope: 'Run the change the user just confirmed: set the reviewed text fields of one Meta ad from current to approved values.' That is far more informative than the tool name alone and implies a prepare/confirm pair. It stops short of naming a sibling tool explicitly, so sibling differentiation rests on the confirmation workflow wording rather than a direct reference.

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

Usage Guidelines5/5

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

It states the trigger ('the user just confirmed') and, crucially, the invalidating condition: if the source video, thumbnail, destination link or copy changes, the agent must go back and 'prepare again and obtain fresh approval.' That gives both a when-to-use and a when-not-to-use with the alternative step named.

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