Skip to main content
Glama

List Environments

list_environments

Lists the environments documents can run in and their interface manifests, so you can choose the correct environment from a submitted document's process classes.

Instructions

The environments documents run in, with what their interface manifests hold.

A submitted document's environment is inferred from its process classes; this lists the choices.

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

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a non-obvious domain fact (environments are inferred from a document's process classes, and this returns the complete set of choices rather than a filtered subset), but it says nothing about permissions, whether the list is static/cached, or ordering — notable gaps for a zero-annotation tool.

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?

It is short, but the opening sentence is a grammatical fragment ('The environments documents run in, with what their interface manifests hold') that is hard to parse and buries the action at the end. The second sentence is the clearer and more useful one, so the ordering is not front-loaded well.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and there are no parameters to document. Still, phrases like 'what their interface manifests hold' are left undefined, and the description does not confirm this is a side-effect-free enumeration — enough for a simple lister, but with loose ends.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is nothing for the description to clarify beyond scope. Baseline is 4 for a zero-parameter tool; the description correctly implies an unfiltered complete listing.

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 the resource (environments) and states 'this lists the choices', so an agent can tell it returns the set of available environments. It does not explicitly differentiate itself from siblings like list_processes or list_datasets, but the resource noun is distinct enough to separate it.

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?

It implies usage by noting that a submitted document's environment is inferred from its process classes, which suggests this tool is consulted when resolving or picking an environment. There is no explicit when-to-use/when-not guidance and no named alternative, so guidance is only implied.

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