Skip to main content
Glama

Create or update a ROAS pause rule

automate_upsert_automation_rule
Destructive

Create or update a deterministic ROAS pause rule. Defaults to dry_run=true and is_active=false. Live enable requires confirm_live=true.

Input Schema

NameRequiredDescriptionDefault
nameNo
scopeNo
titleNo
actionNo
metricNo
reasonNo
confirmNo
date_toNo
dry_runNo
rule_idNo
user_idNo
email_toNo
operatorNo
platformNo
action_idNo
client_idNo
conditionNo
date_fromNo
is_activeNo
min_spendNo
thresholdNo
to_amountNo
user_emailNo
campaign_idNo
report_typeNo
confirm_liveNo
range_presetNo
lookback_daysNo
cooldown_hoursNo
roas_thresholdNo
consecutive_daysNo
google_customer_idNo
meta_ad_account_idNo
max_actions_per_dayNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / email_to
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Email To"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety bar is lower, and the description usefully adds the safe-default posture (dry_run=true, is_active=false) and the confirm_live escalation gate. It does not say what a dry run returns, whether confirm_live overrides dry_run, or what existing state an update overwrites — meaningful gaps for a destructive write.

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?

Three short sentences with zero filler, and the most decision-relevant fact (dry_run default) is placed early. The terseness is efficient, though for a 34-parameter tool it edges toward under-specification rather than optimal density.

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

Completeness2/5

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

Given 34 parameters, an upsert with two distinct modes, and no parameter documentation, the description is far too thin. An output schema exists so return values need no explanation, but the agent gets no help on required create fields, rule scoping, or the relationship between confirm, confirm_live, and dry_run.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 34 nullable parameters, so the description must carry the load and it explains only three of them (dry_run, is_active, confirm_live). Nothing is said about the domain-critical fields (roas_threshold, consecutive_days, cooldown_hours, max_actions_per_day, scope/platform) or about which fields are required to create vs update.

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?

Specific verb pair (create or update) plus a concrete resource ('deterministic ROAS pause rule'), which lets an agent tell it apart from the generic alert-rule siblings. It does not explicitly distinguish itself from automate_upsert_alert_rule / automate_upsert_seo_alert_rule, so the differentiation is inferred from the ROAS/pause wording 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 Guidelines3/5

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

The description supplies a useful operating procedure (dry-run by default, inactive by default, confirm_live required for live enable), which is real when/how guidance. It never explains when to create versus update (rule_id presence), nor does it point to sibling tools for non-ROAS rules, leaving the core routing decision implied.

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.