Skip to main content
Glama

Set when a new error alerts

set_error_alert
DestructiveIdempotent

When a new error alerts: on its first event (people 1, the default) or once it hit 2, 3, 5, 10 or 25 people. Errors on checkout, signup, login, pricing or home, and resolved errors that return, always alert at once. Errors with no user count events instead. Needs write access.

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": {
      "app": "<app>",
      "people": "<people>"
    },
    "name": "set_error_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
peopleYes1 alerts on the first event
keyPagesNoThe app's own key pages on top of checkout, signup, login, pricing and home: exact paths or prefixes ending in *, like ["/start", "/app/new*"]. Errors there rank higher and always alert at once. [] clears them; left out keeps them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses genuinely useful behavior: errors on checkout, signup, login, pricing and home and returning resolved errors always alert immediately regardless of threshold, and errors without user-count events alert on event count instead. That is real rule-level context an agent could not derive from readOnlyHint/destructiveHint/idempotentHint. It does not, however, explain the destructiveHint=true annotation — what is overwritten when the threshold is changed is left unstated.

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?

The core rule is front-loaded and the length is appropriate, with no filler. However the telegraphic fragments hurt parseability — 'Errors with no user count events instead.' is elliptical and forces the reader to reconstruct 'alert on event count instead', and the sentence forms are choppy rather than structured.

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 3-parameter mutating setter with no output schema, the description covers threshold semantics, bypass rules and the write-access requirement. The remaining gap is the destructive side of the operation (what an existing setting or keyPages list loses), which the annotations flag but the description never addresses.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: it enumerates what each allowed people value means ('once it hit 2, 3, 5, 10 or 25 people') and identifies 1 as the default. The keyPages always-alert interaction is also echoed. Marginal but real added value.

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 states precisely which setting is being configured: the threshold at which a new error alerts (first event / 2 / 3 / 5 / 10 / 25 people). Combined with the title it is clearly distinguishable from set_slow_alert, but the body itself never names the action verb or mentions the slow-alert counterpart, so the separation is inferred 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?

Usage is implied: this is the tool for tuning error-alert thresholds, and 'Needs write access' flags a precondition. There is no explicit when-to-use/when-not, no mention of set_slow_alert as the alternative for latency alerts, and no guidance on when to leave the default in place versus changing it.

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