Skip to main content
Glama

Change an alert rule

user_app_alert_rule
Idempotent

Change one Apps alert rule: switch it on or off, choose whether it goes out in the daily email, which apps it watches, and its threshold. Call only when the user asked for the change. rating_drop: 0.01–1 stars (default 0.05); rank_move: 1–100 places (default 5); bad_reviews: 1–4 stars (default 2); downloads_drop: 5–90 % (default 20); new_version: no threshold. Free — spends no credits.

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": {
      "kind": "<kind>"
    },
    "name": "user_app_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich rule to change.
emailNoWhether its alerts go out in the daily email digest.
scopeNoWhich tracked apps it watches: "mine", "competitor" or "all".
enabledNoWhether the rule raises alerts at all.
thresholdNoThe trigger, in the kind's unit; snapped to its range and step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world mutation. The description adds genuinely new behavioral facts the annotations cannot convey: the change is confined to one rule, values are snapped to valid ranges/steps, and the call consumes no credits. It still omits whether unspecified fields are preserved (partial update semantics) and what the call returns after the change.

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 purpose and the call-only-when-asked guard come first, followed by the compact per-kind threshold list; every clause carries information an agent needs. The semicolon-separated kind/threshold legend is dense but scannable, with no filler.

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

Completeness4/5

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

For a five-parameter, one-required mutation tool with no output schema, the definition covers what can be changed, valid values, defaults, and cost. What is missing is the effect on fields not supplied and the nature of the response, both of which an agent would otherwise have to guess.

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

Parameters5/5

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

Schema coverage is 100%, so the schema documents each field, but the description goes further by giving per-enum-unit defaults and valid ranges for 'threshold' (stars/places/% and the fact that new_version takes none), which the schema only hints at with 'in the kind's unit'. The mapping of each listed field to on/off, email, and app scope also disambiguates the boolean and scope parameters.

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?

The description gives a specific verb and resource ('Change one Apps alert rule') and enumerates exactly the aspects that can be changed: on/off, daily-email inclusion, app scope, and threshold. That is far more informative than the bare title. It does not name or contrast with the sibling read tool (user_app_alerts), so it falls just short of explicit sibling differentiation.

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?

'Call only when the user asked for the change' is an explicit gating condition that keeps the agent from making unsolicited mutations, and 'Free — spends no credits' removes a cost-based reason to hesitate. There is no guidance on checking current settings first (e.g., via user_app_alerts) or on combining multiple field changes, so it stops short of a 5.

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.