Skip to main content
Glama

Create a value rule set

soclo_ads_create_value_rule_set
Destructive

Soclo Ads: Create 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_create_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.
parametersNo
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. Changed5 schema fields changed
    • removedInput schema / properties / accountId / description
      Removed value: -"The connected ad account in Soclo."
    • removedInput schema / properties / payload / properties / rules / description
      Removed value: -"Evaluated in order; the first matching rule wins."
    • 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 destructive and non-idempotent; the description adds real value on top by disclosing the two-phase spend/delete approval flow, the requestId reuse requirement for confirmation and outcome recovery, and that the mutation is not final until status is active. It stops short of describing the return value, retry behavior after a failed confirm, or permission/ownership requirements.

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?

Three short sentences, front-loaded with purpose, but the final 'Fields: soclo://tools/...' sentence is an opaque internal reference that spends space without informing, and the compressed 'Claim live only when status is active' is ambiguous without knowing where status comes from.

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?

The description covers the destructive-operation workflow, which is the main risk, but for a 10-parameter tool with deeply nested payload objects, no output schema, and no explanation of what the create returns (an operation id to poll?), the agent is left to guess the confirmation/verification loop and the rule payload shape.

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 coverage is 60%, and the description only reinforces confirm/requestId semantics that the schema already documents verbatim. The most costly gap is unaddressed in both places: payload.rules and the nested criteria objects (criteriaType, operator const CONTAINS, criteriaValueTypes pairing) have no explanation anywhere, and the closing 'Fields: soclo://tools/...' pointer conveys no actual field meaning. Baseline 3 for mid-range coverage, not more.

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 (create a value rule set), which separates it cleanly from the sibling get/list/update/delete_value_rule_set tools. It never explains what a value rule set actually is (adjustment rules applied to campaigns/ad sets), so the agent knows the operation but not the domain object.

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 concrete gating: preview first, then owner-approved confirm:true reusing the same requestId, and only treat the claim as live when status is active. What it does not do is name the preview sibling to call (siblings include soclo_ads_operation_status but no obvious value-rule-set preview) or state when creating a rule set is preferable to updating an existing one.

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