Skip to main content
Glama

pangea_list_sessions

List active or all ephemeral agent sessions for an HTTP project; include inactive sessions when you need expired, terminated, or failed ones.

Instructions

List active (or all) ephemeral agent sessions for an HTTP project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pangea_list_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoOptional project ID (prj_...) or project name
directoryNoOptional local directory containing pangea.yaml
include_inactiveNoInclude expired/terminated/failed sessions (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden; 'List' implies a read-only, non-destructive operation, and the default-to-active behavior is disclosed. However, it says nothing about result ordering, pagination, or whether listing requires project-level permissions — meaningful gaps for a no-annotation tool.

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 with no filler, and the default-vs-all distinction appears early. It is perhaps terse to the point of omitting useful context, but nothing is wasted.

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 three-optional-parameter read-only list tool with full schema coverage and no output schema, the definition is minimally sufficient — an agent knows what it lists and the default scope. It stops short of describing what a session record contains or how project/directory resolution interacts, which would help an agent decide between the two locator parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3; the description's parenthetical '(or all)' only restates what the include_inactive schema description already states. It adds no gloss on project vs. directory resolution or default behavior not already in the schema.

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?

Names a specific verb and resource ('List ... ephemeral agent sessions') and constrains scope to 'for an HTTP project' and 'active (or all)'. The resource distinguishes it from the many sibling list tools (domains, projects, secrets, operations), though it does not explicitly contrast with pangea_list_projects or pangea_list_domains.

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 by the name and the parenthetical '(or all)', which maps to the include_inactive parameter. There is no explicit statement of when to prefer this over sibling tools such as pangea_list_projects, nor any note about prerequisites like an authenticated project context.

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