Skip to main content
Glama

Audit dotenv content

audit_env

Parse dotenv text without shell expansion, optionally validate entries against a schema DSL, and report secret hygiene without exposing secret values.

Instructions

Parse dotenv text with envcage without shell expansion or interpolation, optionally validate it against a small schema DSL, and report secret hygiene without returning secret values.

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": {
      "dotenv": "<dotenv>"
    },
    "name": "audit_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
dotenvYes
schemaNo
maxBytesNo
maxEntriesNo
onDuplicateNo
maxKeyLengthNo
maxValueLengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 burden. It does disclose two substantive traits: no shell expansion/interpolation, and secret values are never returned. However it says nothing about failure behavior on malformed input, what happens at size/entry limits, duplicate-key defaults, or what the report contains.

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 with no filler; every clause adds a distinct capability. It is dense enough that the optional schema DSL clause could be slightly easier to parse, but nothing is wasted.

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?

A seven-parameter, nested-object tool with no annotations, no output schema, and 0% schema coverage needs far more than one sentence. Key limits, duplicate-handling policy, and the schema DSL grammar are all absent, so an agent must guess at most of the call surface.

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 description coverage is 0% across 7 parameters, so the description must compensate and largely does not. It clarifies only the conceptual role of 'dotenv' and hints that 'schema' is a 'small schema DSL', leaving maxBytes, maxEntries, onDuplicate, maxKeyLength, and maxValueLength entirely unexplained, and the schema DSL's allowed type tokens undocumented.

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?

States a specific verb and resource ('Parse dotenv text with envcage') plus two follow-on behaviors (optional schema validation, secret-hygiene reporting). The word 'dotenv' plus 'without shell expansion or interpolation' distinguishes it cleanly from siblings like audit_json or audit_security code, which operate on different inputs.

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?

The description implies usage — parse dotenv text, optionally supply a schema — but never says when to prefer this over a sibling like redact_log or audit_json, nor any when-not conditions or prerequisites. The 'optionally' phrasing gives a hint about the schema parameter but no routing guidance.

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