Skip to main content
Glama
TheoryofShadows

@mcpx-digital/env-check

detect_empty_required

Find missing or empty required environment variables from .env.example or explicit requiredKeys. Values are redacted, and only local .env files are checked.

Instructions

Detect missing or empty required vars (from example or explicit requiredKeys). Values redacted. Local .env files only. Reports redact values and never echo secrets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envPathNo
examplePathNo
requiredKeysNoOptional explicit required key list.
includeCommentedExampleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it uses that room to state that values are redacted, reports redact values, and secrets are never echoed. That is important, safety-relevant behavior. It stops short of saying whether the tool writes or modifies files, but 'detect' and 'reports' imply a read-only operation.

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?

The description is short and front-loads the main purpose, but 'Values redacted' is then repeated as 'Reports redact values and never echo secrets', so the redaction point is made three times. It is compact but not maximally efficient.

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

Completeness2/5

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

There is no output schema and no annotations, so the description needs to explain the tool's behavior, return/report nature, and parameter roles more fully. It covers redaction and the source of required keys, but includeCommentedExample is never explained and the report format is not described.

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?

Schema coverage is only 25%, with envPath, examplePath, and includeCommentedExample lacking descriptions. The prose clarifies that required keys can come from an example file or requiredKeys, which helps, but it leaves the meaning of includeCommentedExample and the role of envPath mostly implicit.

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

Purpose5/5

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

The description names a specific operation (detect missing or empty required vars) and the two sources that define 'required' (example file or explicit requiredKeys). That is enough to separate it from compare_env_files and redact_env_report, which clearly do different jobs.

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?

The description restricts the tool to local .env files but gives no guidance on when to choose this tool over its siblings. It never mentions compare_env_files or redact_env_report, so an agent has to infer the boundary from the names.

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