Skip to main content
Glama

list_environments

Read-only

List visible environments, optionally filtered by orientation, movement, template, or part.

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": "list_environments"
  }
}

Input Schema

NameRequiredDescriptionDefault
partIdNo
templateIdNo
orientationNo
backgroundMovementNo

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=true, destructiveHint=false, and openWorldHint=false, so the safety profile needs no repetition. The description's only added behavioral signal is that only 'visible' environments are returned, which is meaningful but not defined, and it says nothing about result volume or ordering.

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 the verb and scope front-loaded and the optional filters trailing behind 'optionally'. There is no filler and nothing an agent must read past to get the core meaning.

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 simple, unparameterized list tool with strong read-only annotations and no output schema, the definition covers what is needed to invoke it correctly. Its only real gap is that the 0%-documented string filters leave the caller uncertain what values to supply.

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 0%, so the description must carry the burden, and it does map all four filters by name ('orientation', 'movement', 'template', 'part') onto orientation, backgroundMovement, templateId, and partId. It does not explain what values are acceptable, and since orientation and backgroundMovement are free-form strings with no enums, an agent must guess the valid vocabulary.

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 uses a specific verb ('List') plus the resource ('environments') and adds a scope qualifier ('visible') and the optional filter dimensions. It is clearly distinguishable from singular siblings like get_environment or get_default_environment, though it never explicitly names those alternatives.

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 word 'optionally' implies filters are not required, which is useful context, and 'visible' hints that hidden environments are excluded. However, there is no guidance on when to choose this over get_environment or get_default_environment, nor on how many results to expect.

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