Skip to main content
Glama

Wisp

Set variable or secret

set_config

Set a project variable (plain) or secret (encrypted, never readable again). Functions read both with config.get(NAME). Applies to draft and live within ~30 s.

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": {
      "project": "<project>",
      "name": "<name>",
      "kind": "<kind>",
      "value": "<value>"
    },
    "name": "set_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameYesUPPER_SNAKE_CASE
valueYes
projectYesProject id (p…) or address (slug)
descriptionNo

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?

With no annotations, the description carries the full burden and does disclose two important traits: secrets are write-only after creation and changes propagate to draft and live within ~30 s. It omits the overwrite/upsert behavior when a name already exists, permission requirements, and any notion of what the call returns, which are significant gaps for a mutation tool.

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?

Three short sentences, each carrying distinct information: what is set, how it is consumed, and when it takes effect. The key constraint (secrets never readable again) is front-loaded and nothing is repeated.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the highest-risk facts: secret irreversibility, propagation delay, and the read path. It leaves the overwrite-on-existing-name case and the response shape unstated, so it is strong but not fully complete.

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 40%, so the description must compensate and it partly does: it explains the meaning of kind, the irreversibility of value for secrets, and that name is the key consumed by config.get(NAME). The description parameter and the concrete form of value remain undocumented in both places.

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?

States a specific verb and resource ('Set a project variable ... or secret') and immediately disambiguates the two kinds by their storage semantics. It does not name the sibling delete_config or otherwise contrast itself with the config-management alternatives, so it stops short of full sibling differentiation.

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?

The variable-vs-secret choice is implied by the parenthetical ('plain' vs 'encrypted, never readable again'), which is real decision guidance. However, there is no explicit when-to-use or when-not-to-use framing and no routing to a sibling tool for the delete/update case.

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