Skip to main content
Glama

Replace a value rule set

soclo_ads_update_value_rule_set
DestructiveIdempotent

Soclo Ads: Replace a value rule set. Spending/deletion: preview, then owner-approved confirm:true with the same requestId. Claim live only when status is active. Fields: soclo://tools/soclo_ads_update_value_rule_set.

Input Schema

NameRequiredDescriptionDefault
confirmNoTrue only after owner approval of spending/deletion preview.
payloadYes
platformNo
accountIdYes
requestIdNoReuse this request ID for confirmation and outcome recovery.
parametersYes
adAccountIdNoAdvertiser/ad account selected from your Soclo connection.
expectedCurrencyNoApproved preview currency, e.g. GBP.
expectedBudgetTypeNoApproved preview budget type: daily or lifetime.
expectedBudgetAmountNoApproved preview amount; changes require a new preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / accountId / description
      Removed value: -"The connected ad account in Soclo."
    • removedInput schema / properties / payload / properties / name / description
      Removed value: -"Required: the update replaces the whole set."
    • removedInput schema / properties / payload / properties / rules / description
      Removed value: -"The COMPLETE rule list. Omitting a rule deletes it on Meta."
    • removedInput schema / properties / payload / properties / rules / items / properties / adjustSign / description
      Removed value: -"Direction of the adjustment. There is no signed value field."
    • removedInput schema / properties / payload / properties / rules / items / properties / criteria / description
      Removed value: -"All criteria on a rule must match for the rule to fire."
    • removedInput schema / properties / platform / description
      Removed value: -"The campaign platform."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=true; the description goes further by disclosing the preview/owner-approval gate and the requestId reuse contract, which is real safety context. It stops short of explaining replace semantics (whether rules omitted from the payload are removed) or what the preview response contains.

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?

Purpose and safety protocol are front-loaded and there is little filler. The closing 'Fields: soclo://tools/soclo_ads_update_value_rule_set.' is an unexplained pointer that gives an agent no actionable information and reads as an artifact rather than guidance.

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?

For a 10-parameter, deeply nested, destructive mutation with no output schema, the confirmation protocol is covered but replace semantics, the preview's return shape, and the status-verification path are not. The agent knows how to sequence the call but not fully what it will do to existing rule data.

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?

With 60% schema description coverage, the schema already documents confirm, requestId, adAccountId and the expected* preview guards, and the description only restates confirm:true and requestId reuse without adding format or interaction meaning. The nested payload (rules, criteria, adjustSign/adjustValue) and parameters.valueRuleSetId get no explanatory treatment in the description, so it does not compensate for the coverage gap.

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 and resource ('Replace a value rule set'), and 'Replace' usefully separates it from the create/get/list/delete siblings sharing the value_rule_set noun. It never names those siblings explicitly, so the differentiation is implicit rather than stated.

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 a clear procedural context: preview first, then a confirm:true call carrying the same requestId after owner approval, and only claim success once status is active. It does not name the preview or status siblings (e.g. get_value_rule_set / operation_status) or state exclusions, so the routing is left partly to inference.

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