Skip to main content
Glama

Configure environment variables

resources.env.configure

Add, update, or remove selected app environment variables without replacing unrelated variables. Sensitive values are encrypted and redacted.

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": {
      "resource_id": "<resource_id>",
      "updates": "<updates>"
    },
    "name": "resources.env.configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
restartNorestart the current deployment after applying changes
updatesYesvariables to add, update, or remove without replacing unrelated variables
resource_idYesapp or service resource identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description does add real value: merge semantics (unrelated variables preserved) and the fact that sensitive values are encrypted and redacted. It notably omits what a removal actually does (reversibility, effect on the running deployment) and how the optional restart flag changes behavior, which matters for a mutation tool. There is a mild tension but no outright contradiction with destructiveHint=false, since removal is explicitly scoped to selected keys.

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 tight sentences, no filler, with the scope and the non-destructive merge guarantee front-loaded before the encryption note. Every clause carries information an agent needs.

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?

An output schema exists, so return values need not be described, and the schema carries all parameter detail; the description covers scope and sensitive-data handling. The remaining gap is behavioral: what happens to the running deployment, whether restart is required for changes to take effect, and any permission requirements are unstated.

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?

Schema description coverage is 100%, with per-field docs for key, value, remove, sensitive, restart, resource_id and organization_id, so the baseline of 3 applies. The description restates the merge intent of 'updates' but adds no syntax, format, or ordering detail beyond what the schema already provides.

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 gives concrete verbs (add, update, remove) and a precise resource (app environment variables), which cleanly separates it from the sibling reader resources.env.list and from the generic resources.configure. It does not, however, explicitly name those siblings, so an agent must infer the split from scope alone.

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 rather than stated: the phrase 'without replacing unrelated variables' tells the agent this is a partial/merge-style update rather than a full overwrite, which is genuinely useful selection context. But there is no explicit when-to-use statement, no mention of resources.configure vs this tool, and no note on when organization_id or restart should be supplied.

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.

Resources