Skip to main content
Glama
ZERONOVA LAB MCP Server

ZERONOVA LAB MCP Server

check_env_exposure

Scans a project's .env files for exposed secrets, verifies .gitignore excludes them, and checks for .env.example, returning severity-rated findings with fix snippets.

Instructions

Check environment variable security in a project. Scans .env files for exposed secrets (Supabase service_role keys, Stripe secret keys, AWS credentials, database URLs, etc.), verifies .gitignore excludes .env files, and checks for .env.example. Returns findings with severity (critical/high/medium/low), file paths, masked evidence, and fix code snippets.

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": {
      "project_path": "<project_path>"
    },
    "name": "check_env_exposure"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the project directory to audit. Must be a directory you own or manage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.6/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, and it does well on output shape: it discloses severity levels (critical/high/medium/low), file paths, masked evidence, and fix snippets, which signals that secrets are not echoed in plaintext. However, it never states that the tool is read-only and non-mutating (despite inspecting .gitignore), nor any permission or scope constraints beyond the schema note about owning the directory.

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?

Three sentences, front-loaded with the purpose, then the concrete checks, then the return contents. Every clause adds information about scope or output and there is no filler.

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 single-parameter audit tool with no output schema and no annotations, the description covers what is inspected and what findings look like, which is the key missing structured information. It stops short of stating that the operation is non-destructive and does not address behavior on projects with no .env files, leaving a small residual gap.

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?

There is a single required parameter with 100% schema description coverage, so the schema already conveys that project_path must be an absolute directory path. The description adds no further meaning about path handling, symlinks, monorepos, or what happens if the directory lacks .env files, so the baseline of 3 applies.

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 resource and verb ('Check environment variable security in a project') and enumerates concrete sub-checks: scanning .env files for named secret types, verifying .gitignore coverage, and confirming .env.example exists. It is clearly about project-local env files, though it does not explicitly contrast itself with siblings like check_client_secrets or check_api_auth, leaving the agent to infer the boundary.

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 'in a project' plus the required project_path, suggesting a per-project security audit step. There is no explicit statement of when to use this versus the other security checks, and no when-not guidance or prerequisites such as repository state.

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