Skip to main content
Glama

Put an app to sleep, or wake it

set_app_sleeping
DestructiveIdempotent

A sleeping app is still checked on its usual schedule and still alerts when it goes down, but it doesn't count toward the plan. 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>",
      "sleeping": "<sleeping>"
    },
    "name": "set_app_sleeping"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
sleepingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, it explains the operational consequence: checks continue on schedule, alerts still fire, and plan counting changes. It also states the write-access requirement, which is useful context for a mutating tool. It does not clarify wake behavior or whether the change is immediate.

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?

Two tight sentences with no wasted wording. The key semantic effect is front-loaded, followed by the access requirement.

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 simple two-parameter toggle with rich annotations and no output schema, this is nearly complete: it covers the effect, monitoring behavior, billing/plan impact, and write access. The only meaningful gap is explicit boolean parameter mapping.

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

Parameters3/5

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

The schema documents the app identifier thoroughly, but the boolean sleeping parameter has no schema description. The tool description explains the sleeping state but does not explicitly map true/false to sleep/wake, so it only partially compensates for the 50% parameter coverage.

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 name and title clearly identify a state toggle for an app, and the description adds what 'sleeping' actually means. It stops short of explicitly saying the tool sets the state to true or false, but the action is still clear from the title.

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?

The description gives a strong implicit reason to use the tool: monitoring and alerts remain active while the app stops counting toward the plan. It does not explicitly compare this with alternatives such as muting alerts or updating the app, so the agent must infer the right situation.

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