Skip to main content
Glama

devanvil_check_env

Validate .env files for duplicate keys, unquoted spaces, syntax errors, and missing keys against .env.example to catch configuration issues before deployment.

Instructions

Validate a .env file for duplicate keys, unquoted spaces, syntax errors, and missing keys compared to .env.example.

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": {
      "env": "<env>"
    },
    "name": "devanvil_check_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
envYesContents of .env file.
exampleNoOptional contents of .env.example schema.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does enumerate the validation categories, which is the most important behavioral information, but it never says whether the tool is read-only, what it returns (report vs. thrown error), or how results are shaped, and since it is a static-analysis tool the absence of any output description leaves a real gap.

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?

A single front-loaded sentence that enumerates the checks and wastes no words. It is tight and well-ordered, with the resource stated before the specific checks.

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

Completeness3/5

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

For a two-parameter tool with no output schema, the description should say what a validation result looks like. It covers the input side adequately and the checks performed, but leaves the return shape and failure semantics unspecified, which an agent calling it would want.

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 parameters are already documented, establishing a baseline of 3. The phrase 'missing keys compared to .env.example' does clarify the relationship between the env and example inputs, but it does not add format details (e.g., raw file contents vs. path) beyond what the schema states.

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 (Validate) and resource (.env file) plus the exact checks performed: duplicate keys, unquoted spaces, syntax errors, and missing keys versus .env.example. That precision makes it unmistakable against the listed siblings (jwt_audit, regex_test, explain_sql), though it never explicitly positions itself relative to them.

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 — an agent can infer you call this before deploying or committing with a .env, but the description never states when to use it or when not to. It also implies a comparison against .env.example without saying that the example input is optional, which the schema alone reveals.

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