Skip to main content
Glama

Set what counts as up (main URL)

set_uptime_rule
DestructiveIdempotent

Replace the rule for the app's main URL: an exact status code, text the page must contain, and/or a JSON field. Fields you leave out are cleared, so pass everything you want to keep. 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_uptime_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
json_pathNoJSON field that must exist, like status or checks[0].ok
expect_textNoText the response must contain, from one line of the page
json_equalsNoValue json_path must equal (true, 42, "ok")
expect_statusNoExact status code that counts as up, e.g. 200. Omit: any 2xx or 3xx.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already flag destructive=true, idempotent=true and readOnlyHint=false, so the safety profile is structured. The description adds the crucial non-obvious consequence — omitted fields are wiped — which is the kind of destructive detail annotations cannot express. It does not cover how to revert to a default rule or whether the main URL check can be removed entirely, so a 4 rather than 5.

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?

Three short sentences: what it replaces, the destructive clearing caveat, and the access requirement — ordered so the most consequential warning sits before any action is taken. No filler or repetition of the title.

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 destructive mutation with no output schema, the definition covers purpose, combination rules, omission behavior, and auth. The only real gap is the end state after clearing (is the URL unmonitored or defaulted to 2xx/3xx, which the schema hints at for expect_status), so it is strong but not exhaustive.

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 description coverage is 100%, so the per-parameter meanings are already documented. The description still adds value by explaining the combination logic ("and/or") across the three condition fields and the clearing semantics of omission, which is behavior the schema never states.

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 ("Replace") and a clearly scoped resource: the uptime rule for the app's *main* URL, enumerating the three condition types (status code, text, JSON field). The main-URL scoping implicitly separates it from the add_check/delete_check siblings that manage other checks, but no sibling is named explicitly, so it stops short of a 5.

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?

"Fields you leave out are cleared, so pass everything you want to keep" is exactly the guidance an agent needs for a replace-semantics call, and "Needs write access" states the prerequisite. It does not say when to prefer a different tool (e.g., a delete/clear path) or what happens if no rule should exist, but the usage context is otherwise clear.

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