Skip to main content
Glama

Update a Performance ad

update_ad
Idempotent

Performance ads. Changes an ad: changes takes the fields of an order that are to change (name, landing_url, ad_title, ad_description, targeting, product_options). An edit that changes what promoters are paid for goes to review again; the answer says so in edit.requires_review.

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": {
      "ad_id": "<ad_id>",
      "changes": "<changes>"
    },
    "name": "update_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesThe id of an ad of this account.
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.
changesYesThe order fields to change, as in list_ad_formats.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is known. The description adds real behavioral value beyond them by disclosing that edits touching what promoters pay for re-enter review and that the response surfaces this in edit.requires_review, which an agent cannot infer from the 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?

Two sentences, front-loaded with the mutation behavior, with no filler. The leading fragment 'Performance ads.' is slightly awkward but functional; nothing further could be trimmed without losing useful content.

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?

For a mutation tool with a nested object parameter, no output schema, and full schema coverage, the definition covers what changes, what triggers re-review, and where the review flag appears in the response. It omits error behavior and required permissions, minor gaps against the annotations that already cover the mutation profile.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by enumerating the concrete fields accepted inside the nested 'changes' object, which the schema only vaguely describes as 'The order fields to change, as in list_ad_formats'. It does not explain the ad_id or api_key semantics, which are already covered by the schema.

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 ('Changes an ad') and resource ('Performance ads'), then enumerates exactly what can change (name, landing_url, ad_title, ad_description, targeting, product_options). This clearly distinguishes it from siblings like create_ad or archive_ad, though it never names an alternative explicitly.

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?

There is no when-to-use guidance or when-not-to-use guidance. It never says when an agent should reach for update_ad versus pause_ad, end_ad, archive_ad, or create_ad, nor does it state preconditions such as the ad needing to exist or be in a particular state.

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