Skip to main content
Glama

env_generate_template

Scan a codebase and generate a .env.example template with all required environment variables listed.

Instructions

Analyze codebase and generate a .env.example template with all required environment variables

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject root directory
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing side effects. While 'generate a .env.example template' implies output, it does not say whether a file is written to disk, whether an existing .env.example is overwritten, whether the output is returned to the agent, or what permissions/scope are involved.

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?

A single, front-loaded sentence that conveys the tool's purpose and target output without filler. Every phrase earns its place.

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?

Given no annotations, no output schema, and low parameter coverage, the description is too thin to fully guide an agent. It omits what happens after analysis, whether a file is created, how the template is returned, and what the optional api_key parameter means.

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?

The schema covers directory, but the api_key parameter is undocumented and the description does not explain its role or whether it is required for analysis. With only 50% schema description coverage, the description should compensate, but it adds no parameter-level meaning beyond the tool's overall goal.

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 clearly identifies the action (analyze codebase, generate) and the resource (.env.example template with required environment variables). It does not explicitly name sibling tools, but the focus on generating .env.example is distinctive enough among the env_* siblings to orient an agent.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives like env_validate or env_scan_secrets, nor any mention of prerequisites or exclusions. The intended use is implied by 'analyze codebase and generate', but the description does not help an agent choose among related env tools.

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

Install Server

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/barnburner121/claude-plugin-marketplace'

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