Skip to main content
Glama

list_env

Read-only

List a project service's environment variables while hiding secret values so you can review configuration safely; write secrets separately with set_env.

Instructions

Environment variables of a project's service. Secret values are never shown (they can be written with set_env, not read).

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": {
      "project_id": "<project_id>"
    },
    "name": "list_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds the genuinely useful fact that secret values are masked in the output, which annotations cannot convey. It does not state ordering, pagination, or whether non-secret values are returned verbatim, and the phrase 'a project's service' hints at a service dimension the schema does not expose.

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 with no filler, and the resource scope is stated first. The parenthetical is dense but earns its place by covering the secret-masking behavior and the write alternative at once.

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

Completeness5/5

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

With an output schema present, return shape need not be described, and the read-only annotations cover safety; the one thing an agent could not infer, that secrets are omitted from results, is stated explicitly. Remaining ambiguity about the 'service' dimension is minor for a single-project-scoped read tool.

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% for project_id, so the description must carry the load; it does establish that the scope is a project, but the added reference to 'a project's service' raises a question it never answers, since no service parameter exists. The single parameter's role is therefore only partially clarified.

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 a specific resource ('Environment variables of a project's service') and explicitly distinguishes reading from writing by naming set_env as the write path. The verb is carried by the tool name rather than the sentence, so it reads as a noun phrase, but an agent can still tell what this returns and how it differs from set_env.

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?

Usage is only implied: the parenthetical tells the agent that writing secrets belongs to set_env, which indirectly frames this as the inspection tool. There is no explicit statement of when to call list_env (e.g. before deploying, to verify configuration) and no mention of apply_env_changes or unset_env as adjacent workflows.

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