Skip to main content
Glama

Keep sandbox longer

pmitz_keep_sandbox

Keeps a sandbox for 30 days instead of 72 hours, for a user who signs in with GitHub. Optional: a sandbox works the same without it. Meant for when the user asks to keep a sandbox longer or to sign in. The first call returns a GitHub address and a short code for the user to enter there. A second call with the same sandbox key, after the user has entered the code, completes the sign-in. Only the public GitHub profile (username, name and company) is read.

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": {
      "sandbox": "<sandbox>"
    },
    "name": "pmitz_keep_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxYesThe sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_….

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, it discloses the 30-day extension, the two-step sign-in flow, the first-call return values (GitHub address plus short code), and the privacy boundary (only public profile fields read). It does not cover failure paths or what happens if the second call never occurs, which keeps it short of a 5.

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?

The core benefit (30 days instead of 72 hours) is front-loaded, then optionality, then the call sequence. Every sentence carries information, though the 'for a user who signs in with GitHub' clause reads slightly awkwardly against the later sign-in sentences.

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?

With no output schema, the description usefully explains what the first call returns and how to finish the flow, which is the key thing an agent needs. It is complete for a one-parameter tool; only post-completion or error behavior is left implicit.

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 coverage is 100% and the single parameter is already documented as the sandbox key from pmitz_create_sandbox. The description reinforces that the second call must reuse the same sandbox key, but adds no new syntax or format information, so the baseline 3 applies.

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 states a concrete verb and effect: 'Keeps a sandbox for 30 days instead of 72 hours', plus the GitHub sign-in role, which clearly separates it from pmitz_create_sandbox. It does not name a sibling explicitly, but the scope and the 'sandbox works the same without it' note make the purpose unambiguous.

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?

It gives both the trigger ('when the user asks to keep a sandbox longer or to sign in') and the when-not ('Optional: a sandbox works the same without it'). It also spells out the two-call sequence, so an agent knows this is not a one-shot operation.

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.