Skip to main content
Glama

Extend a sandbox

sandbox_extend

Extend a sandbox. Sets how long the sandbox lives from now: ttlMinutes, at most 1440 (24 hours).

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": {
      "sandboxId": "<sandboxId>",
      "ttlMinutes": "<ttlMinutes>"
    },
    "name": "sandbox_extend"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxIdYes
ttlMinutesYesMinutes from now until the sandbox is deleted. At most 1440.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent mutation, so the safety profile is largely covered. The description adds genuinely useful semantics: the TTL is measured from now (absolute reset, not additive), and expiry means deletion. It says nothing about failure modes, permissions, or what happens to an already-expired sandbox.

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?

Two short sentences, front-loaded with the action and followed by the key constraint. The only minor waste is repeating the 1440 maximum that the schema already enforces.

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

Completeness3/5

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

For a two-parameter, annotation-covered tool with no output schema this covers the essentials, but omits behavior on an expired or missing sandbox and any permission prerequisites. Adequate rather than complete.

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?

Schema description coverage is 50%, and the one documented parameter (ttlMinutes) is essentially restated in the description, including the 1440 cap already present in the schema. sandboxId is undocumented everywhere, though its meaning is obvious from the name 'which sandbox to extend'. The 'from now' phrasing does add a little meaning beyond the schema's 'Minutes from now' wording.

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?

"Extend a sandbox" is a specific verb plus resource, and the second sentence clarifies the mechanics: it sets total lifetime from now rather than adding time. It is clearly separable from sandbox_create and sandbox_delete, though it does not name any sibling explicitly.

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

Usage Guidelines2/5

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

Nothing states when to call this versus alternatives (e.g., creating a new sandbox instead of extending one) or what precondition applies, such as whether the sandbox must still be alive. The only implicit cue is the TTL framing itself.

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.