Skip to main content
Glama

environment.list

Read-onlyIdempotent

List environments in an organization, optionally filtered to a project. GET /v1/environments.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "environment.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return
project_idNoRestrict to one project
organization_idYesorganization_id (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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=false, so the safety profile is fully covered without description help. The description adds only the underlying endpoint (GET /v1/environments) and the org-wide-by-default scoping behavior; it says nothing about pagination, ordering, or result limits even though a 'limit' parameter exists.

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?

Two short sentences, front-loaded with the purpose and followed by the filter behavior. The trailing raw endpoint restatement ("GET /v1/environments") is low-value padding but costs almost nothing.

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?

This is a simple read-only list tool with full schema coverage and complete annotations, so little narrative is required. The description covers scope and filtering adequately; only return-shape and pagination hints are missing, and there is no output schema to relieve that burden.

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 three parameters are already documented. The description adds marginal meaning by clarifying that project filtering is optional and that organization scope is the default, but adds nothing about the string-typed limit or its semantics.

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 states a specific verb and resource ("List environments") plus its scope (an organization, optionally narrowed to a project), which clearly separates it from the sibling environment.get or environment.create. It stops short of explicitly naming those siblings, so an agent must infer the contrast from the verb alone.

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?

The phrase "optionally filtered to a project" implies when the project_id parameter is relevant, but there is no explicit guidance about when to choose this over environment.get, projects.list, or org.list, and no stated prerequisites beyond the required organization_id.

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