Skip to main content
Glama

Set always on

set_always_on
Idempotent

Keep a spawnpoint app awake around the clock, or let it sleep again. An app on a machine (node, python, docker) sleeps when nobody visits for an hour, and the next visitor waits about half a minute while it starts; an always-on app never sleeps, so nobody waits. Pass always_on: true to turn it on, false to turn it off. How many apps can stay always on depends on the plan: whoami shows always_on_used against always_on_limit, and a refusal says what the plan allows. At the limit, the refusal names the apps that are on: ask the user which to turn off. A static site never sleeps and needs none. Use it when the user wants an app to stay up, or says it is slow to open after a quiet spell.

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": {
      "project_id": "<project_id>",
      "always_on": "<always_on>"
    },
    "name": "set_always_on"
  }
}

Input Schema

NameRequiredDescriptionDefault
always_onYestrue keeps the app awake around the clock; false lets it sleep again when nobody visits
project_idYesthe id of the project

Output Schema

NameRequiredDescriptionDefault
noteYes
always_onYes
project_idYes
always_on_usedYes
always_on_limitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare a non-read-only, idempotent, non-destructive write. The description explains the underlying sleep/wake behavior (one hour idle, ~30 second cold start), plan-dependent quotas, that a refusal names the apps currently on, and the recommended next step of asking the user which to turn off.

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?

Front-loads the action and the true/false semantics, then adds quota and refusal handling in logical order. The sleep-versus-always-on explanation is slightly verbose but earns its place by justifying why the user would want the tool.

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

Completeness5/5

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

With only two well-documented parameters, an output schema present, and annotations covering the safety profile, the description fills the remaining gaps: quota behavior, refusal handling, and the static-site exclusion. Nothing an agent needs to invoke or explain this tool is missing.

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 real meaning: the boolean's two effects are spelled out operationally and the precondition that the target must be a machine-hosted app rather than a static site is implied. It does not explain project_id beyond the schema, which keeps it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Keep a spawnpoint app awake around the clock, or let it sleep again') and immediately contrasts the two states. An agent can distinguish this from siblings like deploy_project or get_project without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the triggering conditions ('when the user wants an app to stay up, or says it is slow to open after a quiet spell') and excludes a case where it is unnecessary ('A static site never sleeps and needs none'). It also routes the agent to whoami for quota visibility and states what to do when refused.

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.