Skip to main content
Glama

Propose workspace change

propose_workspace_change

Propose a full workspace.toml replacement: validates config, rejects invalid input, stores a pending proposal with a unified diff, and applies nothing. Use the baseHash from get_workspace_config.

Instructions

Propose a full replacement workspace.toml. It is validated first (invalid configs are rejected with the errors) and stored as a pending proposal with a unified diff; nothing is applied. baseHash must be the one get_workspace_config returned.

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": {
      "toml": "<toml>",
      "baseHash": "<baseHash>",
      "rationale": "<rationale>"
    },
    "name": "propose_workspace_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
tomlYesFull new workspace.toml text, secret placeholders unchanged
baseHashYesbaseHash from get_workspace_config
rationaleYesWhy this change, in one or two sentences for the reviewer

Output Schema

NameRequiredDescriptionDefault
okYes
diffNo
nextNo
errorsNo
proposalNo
proposalIdNo
restartRequiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: validation runs first, invalid configs are rejected with returned errors, a unified diff is attached, and nothing is applied to the live workspace. That fills in exactly the write-but-not-applied semantics an agent needs, consistent with destructiveHint=false and idempotentHint=false.

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 dense sentences, front-loaded with the action, then validation behavior, then the baseHash constraint. No filler and no repetition of the 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?

Complete for a three-parameter mutation whose return values are covered by the output schema, and it explains rejection behavior. Minor gaps remain about the proposal lifecycle, such as whether a new proposal supersedes an existing pending one or who reviews it.

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?

Schema coverage is already 100%, but the description still adds meaning: it emphasizes that toml is a *full replacement* rather than a patch, and that baseHash must be the exact value returned by get_workspace_config. The rationale parameter's reviewer purpose is left to the schema.

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: propose a full replacement workspace.toml. It immediately distinguishes itself from validate_workspace_config by explaining that validation is an internal step and the result is a stored pending proposal rather than an applied change.

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?

Gives clear context for use (a full config replacement, nothing applied) and an explicit prerequisite that baseHash must come from get_workspace_config. It stops short of naming alternatives or stating when not to use it, e.g. versus validate_workspace_config for a dry run.

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