Skip to main content
Glama

Always on or sleeping

lavela.compute_always_on
Idempotent

Switch a server (machineId: lavela.project_overview) between always on — never sleeps, no wake-up delay — and sleeping when idle (a request wakes it in seconds), in place: no rebuild; a running server restarts once. Always on pays its size's always-on rate; sleeping pays a base fee while asleep and that rate while awake — confirm with the user before turning it on; off saves only while it sleeps. Database/cache servers never sleep: stop them. A stopped or paused server must be started first (SERVER_STOPPED); refused while a build of the service runs (BUILD_IN_PROGRESS). Later redeploys keep the choice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alwaysOnYestrue = always on at its size's always-on price (512 MB: US$7 a month vs US$2–7 sleeping; up to US$92 at 8 GB), billed by the second — this server's prices: lavela.project_overview; false = sleeps when idle.
machineIdYesThe server's machineId.

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?

Annotations only cover the safety profile (mutating, idempotent, non-destructive). The description adds the traits that matter: a running server 'restarts once', the change is persistent ('Later redeploys keep the choice'), the billing model for each state, and the precise error codes returned when preconditions fail.

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-loaded with the verb and resource, and nearly every clause carries distinct information (pricing, preconditions, error codes, persistence). It is a single dense run-on paragraph with parenthetical error codes, which slightly hurts scannability but avoids redundant filler.

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?

For a 2-parameter, no-output-schema mutation tool, the description covers everything needed: preconditions, exclusions, restart side effect, cost implications, and error signaling. Nothing an agent needs before invoking it 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% and the schema already documents both parameters including pricing tiers, so the baseline is 3. The description adds meaning beyond that by flagging the need to confirm the costlier alwaysOn=true setting with the user and by explaining what sleeping versus always-on state implies operationally.

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: 'Switch a server ... between always on ... and sleeping when idle', and immediately scopes it as 'in place: no rebuild'. That distinguishes it from rebuild/lifecycle siblings by clarifying no rebuild is needed and only a single restart occurs.

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?

Gives explicit when-to-use (avoid wake-up delay vs. save cost while asleep), explicit when-not (database/cache servers never sleep — 'stop them'), and preconditions ('A stopped or paused server must be started first (SERVER_STOPPED)', refused during builds). It even flags the human-in-the-loop requirement: 'confirm with the user before turning it on'.

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