Skip to main content
Glama

pangea_set_idle_sleep

Toggle idle-sleep for a project: enable it to pause idle resources, or disable it to graduate in-place to always-on hosting for autoscaling, background processes, and custom resources.

Instructions

Enable idle-sleep or disable idle-sleep (graduate an existing project in-place to always-on hosting on Mini+ so autoscaling, background processes, and custom resources can be used).

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": {
      "enabled": "<enabled>"
    },
    "name": "pangea_set_idle_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesPass false to graduate to always-on hosting, or true to enable idle-sleep.
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml
wait_secondsNoOptional seconds to wait for transition completion (default: 60).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that disabling is an in-place migration to always-on Mini+ hosting and what capabilities that unlocks, which is genuine behavioral context. However, it omits important traits for a mutation: whether the graduation is reversible, whether there is downtime, cost implications, and what permissions are required.

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?

A single front-loaded sentence covering both directions, with the explanation of the disruptive path placed immediately after the verb it qualifies. The nested parenthetical is slightly dense but no sentence is wasted.

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 four-parameter mutation tool with no output schema and no annotations, the description covers the core semantics of both directions and the consequence of the destructive-feeling path. Remaining gaps (reversibility, downtime, waiting behavior) are moderate rather than disqualifying.

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, and the description adds some meaning by framing enabled=false as 'graduate to always-on hosting' rather than a plain toggle-off. That is largely duplicated by the schema's own parameter text, so it does not go far beyond the schema, but it reinforces the non-obvious polarity of the boolean.

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 names a specific resource (idle-sleep) and both operations (enable/disable), and the parenthetical clarifies what the less obvious 'disable' path actually does (in-place graduation to always-on hosting on Mini+). It never explicitly contrasts itself with the read-side sibling pangea_get_idle_sleep, so differentiation is implied by the set/get naming rather than stated.

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?

It gives an implicit trigger for the disable direction ('so autoscaling, background processes, and custom resources can be used'), which tells an agent why to graduate a project. There is no explicit when-not-to-use guidance, no mention of checking current state via pangea_get_idle_sleep first, and no note on prerequisites or side effects for the enable direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools