Skip to main content
Glama

list_environments

Read-onlyIdempotent

Lists environments for a specified project, including the services contained in each environment.

Instructions

List environments in a project, with the services inside each one.

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": {
      "project_id": "<project_id>"
    },
    "name": "list_environments"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesprojectId from list_projects.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered and the description need not restate it. The description does add one useful behavioral detail — results are grouped to include the services within each environment — but says nothing about 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?

A single sentence with no filler, front-loading the action and scope before the nested-content detail. Every clause carries information an agent would use.

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?

For a one-parameter read-only listing with an output schema that documents the return shape, the description is essentially complete: it says what is listed, what scope it applies to, and that services are nested inside. Only minor operational details (pagination or ordering) are absent, and those are arguably handled by the output schema.

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% for the single parameter, and the schema already explains that projectId originates from list_projects, so the schema does the heavy lifting. The description only implies that project_id scopes the listing and adds no format or example detail beyond it, making the baseline 3 appropriate.

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 and resource ('List environments') and adds scope ('in a project') plus content ('with the services inside each one'), so an agent can tell it apart from sibling listers like list_applications or list_compose_services. It stops short of explicitly naming those siblings, which keeps it from 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 only implied: the phrase 'in a project' signals this is a project-scoped listing, and the schema notes projectId comes from list_projects, which hints at a prerequisite chain. There is no explicit when-to-use / when-not-to-use guidance or named alternative for enumerating services another way.

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