Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Set several variables

set_env_many

Set several environment variables in one go (one restart). Prefer this for groups such as Vipps or Telegram keys. If the person should type secrets themselves, use request_env_values instead of asking for them in the chat.

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": {
      "slug": "<slug>",
      "variables": "<variables>"
    },
    "name": "set_env_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProject slug
variablesYesName → value

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With only destructiveHint=false in annotations, the description adds real behavioral context: that a batch write costs a single restart, which is the key operational tradeoff versus multiple single sets. It also flags the secrecy constraint, steering the agent to request_env_values rather than handling secrets in chat. It does not state whether existing values are overwritten or how the restart is triggered, so it stops short of full disclosure.

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, front-loaded with the action and its cost, then the routing rule. Every clause earns its place with no redundant restatement of the title or schema.

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 write tool with full schema coverage and no output schema, the definition covers purpose, cost, and the secrecy alternative, which is most of what an agent needs. The remaining gap is mutation semantics — whether writing a key that already exists overwrites it or errors — which matters for a batch write.

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% and both parameters ('slug' as Project slug, 'variables' as a name → value string map) are already documented. The description adds no syntax, key-naming rules, or value constraints beyond the schema, so the baseline applies.

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 several environment variables') plus the batching benefit ('in one go (one restart)'), which distinguishes it from a single-variable setter. It also names request_env_values as the different path, so an agent can pick correctly without opening the 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 a positive selection rule ('Prefer this for groups such as Vipps or Telegram keys') and an explicit alternative with the condition that selects it ('If the person should type secrets themselves, use request_env_values instead of asking for them in the chat'). Both when-to-use and the fallback are spelled out.

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.