Skip to main content
Glama

Edit Ads Campaign

edit_ads_campaign
DestructiveIdempotent

[publish · spend] Edit an ad campaign (ads_campaign_id or ads_campaign_uuid); only the given fields change. Before the campaign exists on the provider every field is editable (local draft only). Once published only ads_campaign_title (panel-only) and ads_campaign_daily_budget (pushed to the provider, so it changes spend) can change; any other field returns ERR_ADS_CAMPAIGN_PUBLISHED_READONLY. Requires human approval.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edit_ads_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
ads_campaign_idNo
ads_campaign_goalNo
ads_campaign_uuidNo
seliee_website_idNo
ads_campaign_titleNo
seliee_website_uuidNo
ads_campaign_creativeNo
ads_campaign_end_dateNo
ads_campaign_targetingNo
ads_campaign_custom_urlNo
ads_campaign_start_dateNo
ads_campaign_daily_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive/openWorld/idempotent) by disclosing state-dependent mutability, the exact error code for rejected edits, that daily budget is pushed to the provider and therefore changes spend, and that human approval is required. The '[publish · spend]' tag front-loads the risk profile.

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?

Dense and front-loaded: identifiers first, then the draft-vs-published state rule, then the error code and approval note. Slightly packed with parentheticals, but every clause adds information an agent needs.

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 12-parameter mutation with no output schema, it covers the critical decision points: which fields are legal in which state, what happens on violation, and that approval gates execution. It omits what the tool returns and whether id or uuid takes precedence if both are supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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, and it only annotates 4 of the 12 parameters (id, uuid, title, daily budget). The remaining fields — goal, website id/uuid, creative, targeting, start/end date, custom url — get no explanation of format or semantics beyond their names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb ('Edit') and resource ('an ad campaign'), names both accepted identifiers (`ads_campaign_id` or `ads_campaign_uuid`), and states the partial-update contract ('only the given fields change'). This distinguishes it cleanly from publish_ads_campaign and create_ads_campaign in the sibling list.

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

Usage Guidelines4/5

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

Gives explicit conditional guidance: everything is editable before the campaign exists on the provider, but after publishing only title and daily budget are editable, with the failure mode named (ERR_ADS_CAMPAIGN_PUBLISHED_READONLY). It does not, however, route the agent to alternatives such as publish_ads_campaign or activate_ads_campaign when the precondition is unmet.

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.