Skip to main content
Glama

Set env var

set_env

Set a secret or config value in your app's environment variables, which are injected on preview and deploy, with values never echoed back.

Instructions

Set a secret/config value in the app's .env. Injected into the app's process on preview and deploy. Values are never echoed back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYes
keyYes
valueYes
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully states that values are never echoed back and are injected on preview and deploy. However, it omits critical behaviors such as whether setting an existing key overwrites it, whether permissions are required, and what the tool returns on success or failure. These gaps limit transparency for a mutation tool.

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?

Two sentences with no wasted words. The core action is front-loaded, and the additional behavioral notes (injection, no echo) are directly relevant. The structure is efficient and easy to parse.

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?

For a mutation tool with no annotations and no output schema, the description is incomplete. It does not clarify overwrite semantics, persistence across previews/deploys, or what the response contains (even though values are never echoed, the tool may return a success indicator). The simplicity of the tool (3 string params) makes the missing behavioral details more noticeable.

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%, so the description must compensate. It references 'app's .env' (clarifying the app parameter) and 'secret/config value' (shedding light on the value parameter), but it does not explain the 'key' parameter (the variable name) or its format. The description partially clarifies two of three parameters but leaves the most essential one ambiguous.

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 'Set a secret/config value in the app's .env' with a specific verb ('Set') and resource ('.env'). The description clearly indicates the action and implicitly distinguishes from sibling list_env (read vs write). The purpose is unambiguous and specific.

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?

No explicit guidance on when to use this tool versus alternatives or when not to use it. The mention of injection on preview and deploy provides some context, but it does not direct the agent to, for example, use list_env to verify existing values or explain scenarios where this tool is inappropriate. Usage is implied rather than explicitly specified.

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/Sandeepbhuiya29/Slipway'

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