Skip to main content
Glama

get_compose_env

Fetch the environment configuration for a Docker Compose project by its ID to inspect or manage deployment settings.

Instructions

Get compose environment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether the call is read-only vs mutating, what permissions are needed, or what shape of data comes back. At least "get" implies a non-destructive read, which is the only behavioral signal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only three words and front-loads nothing useful. Brevity here reflects under-specification rather than efficient communication; there is no scope, qualifier, or actionable detail.

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

Completeness1/5

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

With no annotations, no output schema, one undocumented required parameter, and a large family of similar compose tools, the description is far too thin to call this tool correctly. The agent cannot tell what the return value or the id refer to.

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

Parameters2/5

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

One required parameter (id) with 0% schema description coverage; the schema only gives its type as number. The description never explains what the id identifies – a compose project id, container id, or environment id – so the schema gap is not compensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get compose environment" gives a verb (get) and a resource (compose environment), so the agent knows it retrieves something related to a compose stack. However, "environment" is ambiguous – it could mean env variables, a deployment environment, or the compose project context – and nothing distinguishes it from the many sibling compose tools (list_composes, test_compose, update_compose).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus list_composes, get_container, or the other compose siblings, nor any stated prerequisites. The agent is left to infer usage entirely from the name.

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

Deploy Server

Other Tools