Skip to main content
Glama

update_config

Updates Context-Clean settings globally or for a specific project, including context limits, model choices, and handoff directory.

Instructions

Updates Context-Clean configuration (maxContextPercent, models, handoffDir) globally or for the current project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
scopeNoglobal
handoffDirNo
workerKindNo
workerModelNo
workerModelFlagNo
orchestratorModelNo
workerMaxContextPercentNo
orchestratorMaxContextPercentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool, and it leaves key traits unstated: whether the update is a merge or a full replace, whether unspecified fields are preserved, whether changes persist immediately or need a restart, and whether scope defaults to global. The 'globally or for the current project' phrase is the only behavioral signal, which is insufficient for a write operation with nine parameters.

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?

A single well-formed sentence with the verb and resource front-loaded and no filler. It is efficient, though the brevity is partly the cause of the coverage gaps rather than a virtue.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Nine parameters, zero schema descriptions, no annotations, no output schema, and a mutation semantic — all of which put the explanatory load entirely on the description, and it addresses only a fraction of it. Missing coverage of the worker/orchestrator model parameters, the scope default, and merge-vs-replace behavior leaves the definition materially incomplete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across nine parameters, so the description must compensate, but it names only three concepts and does so inaccurately: 'maxContextPercent' and 'models' do not exist in the schema, which actually exposes workerMaxContextPercent, orchestratorMaxContextPercent, workerModel, orchestratorModel, and workerModelFlag. An agent reading the description could easily miss the worker/orchestrator split, workerKind, and cwd.

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 ('Updates Context-Clean configuration') and names the settings domain plus the global-vs-project dimension, so the agent can tell this apart from get_config. It stops short of naming the sibling it complements, but the purpose itself is unambiguous.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance and no prerequisites. The only hint is the parenthetical 'globally or for the current project', which gestures at the scope parameter but does not say when a caller should choose one over the other, nor when to read config first via get_config.

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