Skip to main content
Glama

Get preview environment detail

get_environment
Read-onlyIdempotent

Fetch one preview environment's registry row (status, worker name, timestamps).

Input Schema

NameRequiredDescriptionDefault
environmentIdYesEnvironment id (from list_environments)

Output Schema

NameRequiredDescriptionDefault
environmentYes

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, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the return-shape hint (registry row with status, worker name, timestamps), but since an output schema exists this is largely redundant and no error/not-found behavior is disclosed.

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 tight sentence with the resource scope front-loaded and the returned fields parenthetically appended. No filler and nothing to trim.

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?

With an output schema, rich annotations, and a fully documented single parameter, the description only needs to establish purpose and scope, which it does. Minor omission of not-found/error behavior keeps it short of a 5.

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 coverage is 100% and the single environmentId parameter is fully documented in the schema, including its origin ('from list_environments'). The description adds nothing about the id format or source beyond what the schema already says, so baseline 3 applies.

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?

States a specific verb ('Fetch') and resource ('one preview environment's registry row') and even enumerates the returned fields (status, worker name, timestamps). This cleanly separates it from the sibling list_environments, though it does not name that sibling explicitly.

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 singular scope implies this is the detail-fetch counterpart to list_environments, and the schema points at list_environments as the id source. However, there is no explicit when-to-use statement or exclusion criteria beyond that implication.

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.