Skip to main content
Glama

Generate Environment Variable Documentation

generate_env_docs

Document every environment variable a project declares or reads, listing required, default, and example values while redacting secret-shaped placeholders.

Instructions

Document every environment variable a project declares (.env.example/.env.sample/.env.template) or reads in source (process.env/os.environ/os.Getenv), each with its required/default/example — secret-shaped values are never echoed, only redacted placeholders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYes
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses a key safety behavior (secret values are redacted) and the range of sources scanned. It does not explicitly state whether the tool modifies files or only outputs documentation, but the verb 'Document' and the lack of side-effect warnings are reasonably clear.

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?

The description is a single dense sentence packed with necessary information (input sources, output details, redaction). It is front-loaded and contains no filler, though it could be split into two sentences for readability without adding length.

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?

The description covers what the tool does, what it scans, what it reports, and the redaction policy. It does not specify the output format (e.g., markdown, console) or whether a file is written, which would be helpful given there is no output schema. But overall, it is sufficiently complete for a tool with a single parameter.

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?

The schema has one parameter, projectPath, with a clear name and type (string, required). The description does not mention the parameter at all, and schema coverage is 0%. However, since the parameter is self-explanatory and there is only one, the lack of additional description is not a major gap.

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 clearly states a specific action ('Document') and resource ('every environment variable a project declares or reads'), with explicit sources (.env files and process.env/os.environ/os.Getenv). This distinguishes it from siblings like generate_readme or generate_changelog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on what the tool covers and how it behaves, which implies when to use it (when env var documentation is needed). It does not explicitly mention alternatives or exclusions, but the scope is well defined enough for an agent to select it appropriately.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HARDIK-31/docs-assistant-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server