Skip to main content
Glama

get_env_summary

Read a .env file and list its keys while masking secret values by default, with optional key patterns to reveal selected entries.

Instructions

Read a .env file and return all keys. Secret values are masked by default.

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

Input Schema

NameRequiredDescriptionDefault
pathNoPath to the .env file (defaults to .env in current directory).env
reveal_patternsNoKey patterns to reveal even if they look like secrets (e.g. ['NODE_ENV', 'APP_*'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one meaningful behavioral trait: secret values are masked by default, which signals a safe redacting read. It does not state what happens when the file is missing or unreadable, whether values (not just keys) are returned, or whether the file is only read and never written, so significant behavioral gaps remain.

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?

Two short sentences with zero waste, and the masking behavior is front-loaded alongside the primary purpose. Nothing needs trimming.

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 two-optional-parameter read tool with no annotations and no output schema, the description covers purpose, default path behavior, and the masking default adequately. The remaining gap is that, with no output schema, the description should more precisely describe the return shape, since "all keys" plus masked values leaves the response structure ambiguous.

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 100%, so both path and reveal_patterns are already documented, and the baseline is 3. The "masked by default" clause adds useful framing for the reveal_patterns override but no syntax or example detail beyond what the schema already provides.

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 verb ("Read") and resource (".env file") plus its output ("all keys"), so an agent knows exactly what it gets. It stops short of differentiating itself from sibling get_config_summary, and "return all keys" is slightly at odds with the mention of masked secret values, leaving the exact payload shape a bit fuzzy.

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 implied by the resource it targets (env files) and the default masking behavior hints at when to reach for it versus a general config tool. However, there is no explicit when-to-use, no stated exclusions, and no routing to an alternative such as get_config_summary, leaving the agent to infer selection.

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