Skip to main content
Glama

Edit a Microsoft Advertising conversion goal

msads_update_conversion_goal
DestructiveIdempotent

Change an existing conversion goal: its name, conversion window, count type (All or Unique) and, depending on its type, the page it matches (Url goals: urlExpression/urlOperator) or the event action it matches (Event goals: actionExpression/actionOperator). Only the fields you pass change. Pause or resume a goal with msads_set_conversion_goal_status instead. Changing a live goal changes what msads_get_campaign_performance reports and what automated bidding learns from. Returns before and after values. Use dryRun first.

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": {
      "goalId": "<goalId>"
    },
    "name": "msads_update_conversion_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew goal name, up to 100 characters, unique for the customer.
dryRunNoPreview only. Microsoft has no validate-only mode, so Caybl reads the current value and shows exactly what would change (before and after) without sending anything. Free, and cannot affect spend.
goalIdYesGoal id, from msads_get_conversion_tracking.
accountIdNoMicrosoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account.
countTypeNoAll counts every conversion; Unique counts one per click.
urlOperatorNoUrl goals only: how to match the page.
urlExpressionNoUrl goals only: the new page address to match.
actionOperatorNoEvent goals only: how to match the action.
actionExpressionNoEvent goals only: the new event action to match, e.g. sign_up.
conversionWindowMinutesNoNew conversion window in minutes (max 90 days).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower; the description still adds real context by disclosing downstream consequences (what performance reporting shows and what automated bidding learns from) and the before/after return values. It stops short of permission requirements, failure modes, or what an invalid window does, keeping it below the top score.

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

Conciseness5/5

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

The mutation surface comes first, then the type-dependent parameters, then the sibling alternative, then risk context, then the dryRun recommendation. No sentence is redundant, and the shortest correct call path is front-loaded.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter mutation with no output schema, the description covers what changes, conditional parameter relevance, the safe preview path, and the return shape (before and after values). Nothing an agent needs to invoke it correctly is missing.

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?

With 100% schema coverage the baseline would be 3, but the description adds a cross-parameter rule the schema does not: which field pairs apply depend on the goal's type (Url goals take urlExpression/urlOperator, Event goals take actionExpression/actionOperator). It does not explain value formats for windows or names beyond what the schema already states.

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?

"Change an existing conversion goal" is a specific verb plus resource, and the description immediately enumerates the mutable surface (name, window, count type, URL or event matching). It also distinguishes itself from the create and status siblings, so an agent can route without opening a schema.

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 names the exact alternative for a near-adjacent operation ("Pause or resume a goal with msads_set_conversion_goal_status instead") and prescribes a workflow prerequisite ("Use dryRun first"). The partial-update rule ("Only the fields you pass change") tells the agent it need not resend unchanged fields.

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