Skip to main content
Glama

util_env_check

Read-only

.env file linter — Offline lint of a .env file: syntax errors (missing =, invalid names, unclosed quotes, spaces around =, unquoted spaces), duplicate keys, ${VAR} references to undefined variables, real credentials committed (Stripe/AWS/GitHub/Slack/OpenAI/Google keys, PEM private keys, passwords in connection strings - masked), short or placeholder secrets, DEBUG on, TLS verification off. Optional example= (or example_url=) compares against .env.example: missing keys, undocumented extras, real secrets in the example. Values are never returned. Pass text= or url=. Verdict OK/REVIEW/FIX/DO NOT COMMIT. Price: $0.002 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "util_env_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesDB_URL=postgres://app:hunter2pass@db/app DEBUG=true DUP=1 DUP=2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, yet the description still adds genuinely new behavior: 'Values are never returned', secrets are masked, the four-level verdict scale OK/REVIEW/FIX/DO NOT COMMIT, and a per-call price of $0.002 USDC via x402. That pricing and the no-value-echo guarantee are exactly the kind of operational facts annotations cannot convey.

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?

Front-loaded with the core identity, then a tightly packed enumeration of checks; nearly every clause carries information and nothing is padded. The single dense paragraph is the only structural weakness — the check list, the example-compare mode, the verdict scale and the price would scan faster as separated sentences.

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?

Covers the checks performed, the privacy contract, the verdict vocabulary and the payment model, which is strong for a tool with no output schema. The remaining gap is the parameter mismatch: a one-required-parameter schema is described as accepting url=, example= and example_url=, so completeness is undermined by inputs an agent may try and fail to supply.

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% for the single text parameter, so baseline is 3, and the description adds no format or sizing guidance for the .env payload beyond restating what is linted. It actively muddies semantics by advertising url=, example= and example_url= parameters the schema does not define, leaving an agent unsure whether the documented inputs exist.

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 — '.env file linter — Offline lint of a .env file' — then enumerates concrete checks (syntax errors, duplicate keys, undefined ${VAR}, committed credentials, TLS off, DEBUG on). This is unmistakably distinct from sibling util_* tools like util_json_schema or util_base64, and an agent knows exactly what class of problem it solves.

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?

Gives invocation guidance ('Pass text= or url=') and implies a comparison workflow via the optional example=, but never says when to reach for this over a sibling checker or what prerequisites apply. Worse, the guidance names url=, example= and example_url= which do not exist in the supplied schema, so the usage instructions could send an agent down a failing call path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources