Skip to main content
Glama

Delete an environment variable

delete_env_name
DestructiveIdempotent

Remove a variable from the project's secret set. The analysis's record that the project needs this name is kept, so a required variable becomes unset rather than unknown — deleting a value the project needs will hold the next deploy at the secrets gate rather than failing the build with nothing to say. Takes effect on the next deploy or restart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
project_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, yet the description adds substantive context beyond them: the name record survives so a required variable becomes 'unset rather than unknown', and a bad deletion holds the next deploy at the secrets gate instead of failing with no explanation. It also states the effect timing (next deploy or restart), which no structured field conveys.

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 action and tightly sized for a destructive operation; the consequence sentences earn their place. The second sentence is long and comma-chained, slightly reducing scannability.

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?

With no output schema and annotations covering the safety profile, the description supplies the deploy/restart timing and failure-mode consequences an agent needs. It omits permission requirements and any parameter guidance, but the operational picture is largely complete.

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% for three parameters, so the description must compensate — and it does not. It never explains project_id, the expected form of name, or the purpose of idempotency_key, which matters given idempotentHint=true.

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 ('Remove a variable from the project's secret set') and precisely delimits scope by noting the declared name record is retained while the value is removed. That nuance separates it cleanly from set_env, declare_env_names, and list_env_names without naming them.

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 the action and the warning about deleting a needed value, but no alternative is named and no condition for choosing this over set_env or declare_env_names is given. An agent can infer when to call it, but nothing is explicit.

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.