Skip to main content
Glama

List preview environments

list_environments
Read-onlyIdempotent

List per-mission preview environments for the caller's accessible projects. Returns id, issueId, projectId, prNumber, workerName, and lifecycle status.

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 50). Narrow with issueId, projectId or status before raising it.
statusNoFilter by lifecycle status
issueIdNoFilter to one issue id
projectIdNoFilter to one project id

Output Schema

NameRequiredDescriptionDefault
dataYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds one genuinely behavioral fact beyond annotations — results are scoped to the caller's accessible projects (authorization surface) — but no pagination, ordering, or empty-result behavior.

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?

Two sentences, zero waste, with the scope constraint front-loaded ahead of the returned fields. Nothing here needs trimming or reordering.

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?

Output schema exists so return values need not be explained, and annotations carry the safety profile; the description supplies the scope qualifier. The one gap is that the returned-field sentence partially duplicates the output schema rather than using the space for filtering/ordering guidance.

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 filters (limit, status, issueId, projectId) including the status enum are fully documented in the schema. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.

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?

States a specific verb ('List') and resource ('per-mission preview environments') plus scope ('caller's accessible projects'). It is clearly distinguishable from the singular get_environment and the mutating destroy_environment siblings, though it never names them explicitly.

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 only implied: listing is the obvious read operation, and the schema's limit description carries the real guidance ('Narrow with issueId, projectId or status before raising it'). The description itself offers no when-to-use vs alternatives statement or exclusions.

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.