Skip to main content
Glama
Bridge Commander
by PaPasha215

set_config_value

Destructive

Change one allowed runtime setting (directories, read-only mode, blocked commands, default shell, or file read line limit) only when configuration changes are enabled; changes are not persisted.

Instructions

Change one setting at runtime (only when allowConfigChanges is true; not persisted). Keys: allowedDirectories, readOnly, blockedCommands, defaultShell, fileReadLineLimit.

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": {
      "key": "<key>",
      "value": "<value>"
    },
    "name": "set_config_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
valueYesNew value (JSON).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so safety is covered structurally. The description adds genuinely new behavior: a runtime precondition, the fact that changes are not persisted, and the closed set of accepted keys — context not derivable from annotations or schema.

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?

A single dense sentence: the action and its precondition come first, persistence semantics second, allowed keys last. Every clause carries information an agent needs; nothing is filler.

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 destructive, non-persisted 2-param mutation with no output schema, the definition covers legality, durability, and the key domain. Only minor gaps remain, such as error behavior on an invalid key or whether a restart clears the value.

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?

With 50% schema coverage and no description on 'key', the description compensates by enumerating the valid key values, which effectively turns a bare string into a constrained choice set. It still leaves the accepted shape of 'value' per key unspecified beyond the schema's 'New value (JSON)'.

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 states a specific verb and resource ('Change one setting at runtime') and enumerates the mutable keys, so an agent knows exactly what the tool mutates and its scope. It does not explicitly name the counterpart read tool (get_config), so sibling differentiation is implied rather than stated.

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

Usage Guidelines4/5

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

A clear gating condition is given ('only when allowConfigChanges is true'), which tells the agent when the call is legal, and 'not persisted' sets expectations about effect duration. It stops short of naming get_config as the read-side alternative or saying what to do when the gate is closed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.