Skip to main content
Glama

List environments

list_environments
Read-only

A project's environments, in order, and its ten newest deployments. An environment is one of the places a project's work is put out to — 'dev', 'staging', 'prod' — in order; the LAST one is where finished work ends up. A deployment is a pipeline saying «this went out, there». Each issue it carried then says where it lies ('deployedTo' on get_issue), gets one history line per environment, and the project's rules with trigger 'deployed' run on it. Also 'canEdit' (you may change the list) and 'canReport' (you may report a deployment). Any member may read them.

Input Schema

NameRequiredDescriptionDefault
projectKeyYesProject key, e.g. 'ONB'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses a real truncation limit ('ten newest deployments'), the ordering guarantee, the permission model, and the meaning of the canEdit/canReport flags in the response. It also states downstream effects — deployedTo on get_issue, one history line per environment, and that project rules with trigger 'deployed' run — which materially changes how an agent should interpret the result.

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

Conciseness3/5

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

The key facts (what is listed, the ten-deployment cap, canEdit/canReport) are front-loaded in the first and last clauses, which is good. The middle is tutorial prose — em-dash definitions of 'environment' and 'deployment' plus rule-trigger implications — that is informative but dilutes focus and pushes the response-shape details to the end.

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?

There is no output schema, and the description does cover return contents: ordered environments, ten newest deployments, canEdit, canReport. It doesn't enumerate the fields of a deployment object beyond its meaning, but the cross-reference to get_issue and report_deployment gives an agent enough to proceed.

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?

The single parameter projectKey is fully documented in the schema (100% coverage, with an example like 'ONB'), so the schema carries this dimension. The description adds no format or edge-case guidance about the key beyond what the schema already says, which is the baseline-3 case for high coverage.

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 first sentence names a specific resource and scope: a project's environments in order plus its ten newest deployments. It also defines the two domain nouns (environment, deployment) so an agent unfamiliar with the model isn't guessing. It doesn't explicitly contrast with the write-side sibling set_environments, which keeps it off a 5.

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 — read this to learn a project's environment order and recent deployments — and the access rule 'Any member may read them' tells the agent who can call it. But there is no explicit when-to-use/when-not, and no pointer to set_environments as the mutation alternative despite it being the obvious sibling.

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.

Resources