Skip to main content
Glama

Set when the app counts as slow

set_slow_alert
DestructiveIdempotent

When the main URL counts as slow and alerts (as a warning, for 5 minutes in a row): automatic, 5× its usual speed between 1.5 and 8 s (seconds omitted or null), or a fixed limit of 1, 2, 3, 5 or 8 seconds. get_uptime shows the current setting and the usual speed. 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>"
    },
    "name": "set_slow_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
secondsNoFixed limit in seconds; null or left out for automatic

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true), the description discloses how the alert behaves — it fires as a warning only after 5 minutes in a row of slowness — and that write access is required. It implies the existing threshold is replaced via the get_uptime reference, consistent with the destructive hint. It does not say what other alert settings, if any, are affected by 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no filler; the value options and the pointer to get_uptime are packed efficiently. The first sentence is dense and clause-heavy, which slightly hurts front-loading of the action.

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 two-parameter tool with full schema coverage, annotations, and no output schema, the description supplies the missing behavioral context: alert timing, allowed values, and permission requirement. Remaining gaps (what is overwritten on a write, interaction with other alert settings) are minor at this complexity.

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% and the enum of fixed limits (1, 2, 3, 5, 8) is already in the schema, so the description earns credit mainly for explaining the 'automatic' branch the schema only labels: 5x the usual response speed, clamped between 1.5 and 8 seconds. That meaning is not recoverable from the schema alone. The phrase 'usual speed' is slightly ambiguous (speed vs. response time), which keeps it from a 5.

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 identifies the resource (the slow/uptime alert threshold for the main URL) and the values it accepts, so an agent can tell it configures a threshold rather than reading one. It also names get_uptime as the read counterpart, which separates it from the sibling that returns the current setting. It loses a point because the opening is a subordinate clause ('When the main URL counts as slow and alerts...') rather than a stated verb+object action.

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?

'get_uptime shows the current setting and the usual speed' explicitly routes inspection to the read tool and implies this tool is for changing the threshold. 'Needs write access' tells the agent a prerequisite. No explicit when-not or guidance on choosing between automatic and fixed modes at the decision level.

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