Skip to main content
Glama

Create or update an SEO alert rule

automate_upsert_seo_alert_rule
Destructive

Create or update a SEO/AEO alert rule. Admin + Starter+. Notify only; never pauses ads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
scopeNo
titleNo
actionNo
metricNo
reasonNo
confirmNo
date_toNo
dry_runNo
rule_idNo
user_idNo
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

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Adds genuine context beyond the annotations: the auth/plan requirement ("Admin + Starter+") and the key behavioral fact that this rule type only notifies and "never pauses ads." That reassures the agent the rule's runtime effect is non-mutating even though destructiveHint=true applies to the upsert itself. It still says nothing about dry_run/confirm/confirm_live, which matter for a destructive tool, so it stops short of 5.

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 tight fragments with zero wasted words, and the purpose is front-loaded ahead of the constraints. The terseness is efficient but arguably too spare for a 33-parameter destructive upsert, so it is not quite ideal sizing.

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?

An output schema exists, so return values need not be described, but the description is far too thin for a tool of this complexity: 33 undocumented parameters, a destructive upsert with dry_run/confirm flags left unexplained, and no create-vs-update routing. An agent could not reliably invoke this from the description alone.

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

Parameters1/5

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

The schema has 33 parameters with 0% description coverage and no enums, and the description explains none of them. Critical semantics are left entirely undocumented: rule_id vs create, operator/condition/metric, dry_run, confirm, confirm_live, is_active, and the many platform-specific IDs. With zero compensation for a 33-param schema, this is the definition's worst 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 pair (create or update) and resource (SEO/AEO alert rule), and the name distinguishes it from the sibling automate_upsert_alert_rule and automate_upsert_automation_rule by the SEO/AEO qualifier. However, the description itself never explicitly contrasts this tool with those closely-named siblings, leaving differentiation to inference.

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?

Gives a real precondition ("Admin + Starter+") that tells the agent who may call it and on which plan, which is more than most. But it offers no when-to-use vs alternatives guidance: nothing on upsert vs automate_delete_seo_alert_rule, vs the non-SEO upsert, or when rule_id should be present for update vs omitted for create.

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.