Skip to main content
Glama

pangea_delete_session

Terminate an active ephemeral session and delete its Sandbox and Secret, with optional wait for cleanup confirmation.

Instructions

Terminate an active ephemeral session and delete its Sandbox and Secret.

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": {
      "session_id": "<session_id>"
    },
    "name": "pangea_delete_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait for cleanup confirmation (default: true)
projectNoOptional project ID (prj_...) or project name
directoryNoOptional local directory containing pangea.yaml
session_idYesSession ID (ses_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the key destructive side effect — the Sandbox and Secret are deleted along with the session. However, it omits irreversibility, permission requirements, and what happens if the session is missing or already terminated, leaving meaningful behavioral gaps for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the destructive action and its consequences stated first; every clause earns its place and nothing is padded.

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?

The description covers the core effect but, for a destructive four-parameter tool with no annotations and no output schema, it should say more about irreversibility, required permissions, and the confirmation semantics behind the wait parameter. Without annotations, the description is the only place this context could live.

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 100%, so all four parameters (session_id, wait, project, directory) are already documented in the schema and the baseline is 3. The description adds no extra meaning about how session_id is resolved or how the wait flag changes cleanup behavior.

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 verb ('Terminate') and resource ('active ephemeral session') and explicitly states collateral effects ('delete its Sandbox and Secret'). An agent can distinguish it from lifecycle siblings like pangea_pause_session or pangea_resume_session by the destructive framing, though no sibling is named outright.

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?

Usage is implied rather than stated: the session must be 'active' and ephemeral, which sets a precondition. There is no explicit guidance on when to delete versus pause/resume, and no warning about preconditions such as uncommitted work in the Sandbox.

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