Skip to main content
Glama

Make an organization sandbox private

unshare_sandbox

Make a shared organization sandbox private again so only its creator can access it. Preserve files, installs, and environment while removing teammates' SSH keys.

Instructions

Make an organization sandbox private. Make a shared organization sandbox private again, at once. Only you can then use it. Teammates still see it in their list and can stop it. Their SSH keys are removed from the running machine.

Nothing on the sandbox changes: files, installs and its environment stay. Undo with POST /sandboxes/{sandboxId}/share.

Only the person who created the sandbox can make it private, and only a sandbox billed to an organization. Making a private sandbox private is a no-op.

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>"
    },
    "name": "unshare_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxIdYesPublic Sandbox id returned by create/list/get sandbox calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that teammates still see the sandbox and can stop it, that their SSH keys are removed from the running machine, and that files, installs and environment are untouched. That is exactly the side-effect detail destructiveHint=false/openWorldHint=true cannot convey. There is mild tension between 'making a private sandbox private is a no-op' and idempotentHint=false, but that sentence scopes only the already-private edge case and does not contradict the annotation.

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 action, then side effects, then undo path, then preconditions — a logical order with little waste. The opening sentence largely restates the title, a small redundancy in an otherwise tight definition.

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 one-parameter mutation with no output schema, the description covers prerequisites, collateral effects on teammates, reversibility, and the no-op case. Nothing an agent needs in order to call it safely is missing.

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 sandboxId parameter is fully documented with a format pattern in the schema, so the description correctly does not duplicate it. It adds no format or sourcing detail beyond what the schema already provides, which is the baseline 3 case.

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 ('Make an organization sandbox private') and immediately disambiguates the reverse direction by naming the undo endpoint POST /sandboxes/{sandboxId}/share. An agent can tell this apart from share_sandbox without opening either 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?

Gives explicit preconditions (only the creator, only an organization-billed sandbox), names the no-op case (already-private), and points to the inverse operation for undo. This is genuine when/when-not guidance rather than implied usage.

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