Skip to main content
Glama

Press5 launch pad

Set app environment variables

set_env
Idempotent

Set or remove environment variables of an app (null removes one); the app restarts with them. For secrets such as a Discord bot token or API keys, do NOT ask the person to paste them into the chat: give them set_url from list_env so they enter it on the press5 page themselves. Use this tool for settings that are not secret.

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": {
      "site": "<site>",
      "vars": "<vars>"
    },
    "name": "set_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
varsYese.g. {"LOG_LEVEL": "debug", "OLD_SETTING": null}
tokenNoA press5 token (p5_...). Only needed when the MCP connection has no Authorization header, e.g. right after login_check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only cover idempotency and destructiveness, and the description adds real context beyond them: a null value deletes a variable and the app restarts afterward — a side effect an agent must anticipate even though destructiveHint is false. It does not say whether supplied vars merge with or replace existing ones, nor what happens to the app if the new set is invalid.

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 side effect, then the security guidance, which is the right order. The trailing 'Use this tool for settings that are not secret' largely restates the preceding sentence and could be dropped without loss.

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 mutation tool with a nested object parameter and no output schema, the definition covers the important ground: deletion semantics, the restart consequence, and the secret-handling workflow. Remaining gaps (merge behavior, 'site' meaning, failure behavior) are notable but secondary.

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?

At 67% schema coverage the schema already documents vars (with a null example) and token, so the baseline applies. The description reinforces the null-removal semantic but never explains the 'site' parameter, which is undocumented in both places, and leaves merge-vs-replace ambiguity for the vars object.

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 ('Set or remove environment variables of an app'), and immediately disambiguates the null case ('null removes one') plus the side effect ('the app restarts'). An agent can distinguish this from list_env 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?

Gives an explicit when-not-to-use rule for secrets (Discord bot token, API keys) and routes to the concrete alternative workflow: get set_url from list_env so the person enters it on the press5 page. It closes with a positive scoping rule ('settings that are not secret'), leaving little to inference.

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