Skip to main content
Glama

Remove an app variable

unset_app_variable
DestructiveIdempotent

Remove a single plain environment variable from an app and roll it out. The pair to set_app_variable; setting a variable to an empty string is not the same thing to most apps. Variables Dockhold sets itself (PORT, DATABASE_URL, DATA_DIR and the app's address) cannot be removed. For a secret, call unset_app_secret instead.

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": {
      "app_id": "<app_id>",
      "key": "<key>"
    },
    "name": "unset_app_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe environment variable name to remove
app_idYesThe app id returned by list_apps

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so safety and repeat-call behavior are covered structurally. The description adds real value beyond that: removal triggers a rollout, and variables Dockhold manages itself (PORT, DATABASE_URL, DATA_DIR, app address) are protected and cannot be removed. It does not spell out what a rollout means for running instances, which keeps it from a 5.

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?

Four short sentences, action front-loaded, no filler. The phrasing 'is not the same thing to most apps' is slightly loose for a definition an agent must act on, but nothing is wasted.

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 two-parameter mutation with rich annotations and no output schema, this covers the decision points: which tool to use, which keys are protected, and the rollout side effect. Only the failure/response behavior for a missing or already-absent key is left implicit, partly covered by idempotentHint.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds meaning by naming the set of key values that will be rejected (the platform-managed variables), which is semantics the schema's 'key' field does not convey.

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 opens with a specific verb and resource: 'Remove a single plain environment variable from an app and roll it out.' It immediately distinguishes this from set_app_variable ('the pair to') and from unset_app_secret, so an agent can pick the right tool without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit alternative route: use unset_app_secret for secrets, and warns that setting a variable to an empty string is not an equivalent removal. That is a when-to-use and when-not-to-use statement in one, plus a non-obvious workaround to avoid.

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.