Skip to main content
Glama

Inspect or reload cmux.json config

cmux_config

Manage cmux settings by validating JSONC, printing config paths, reloading configuration without restart, and reading or setting sidebar and tab-bar font sizes.

Instructions

Manage cmux settings (~/.config/cmux/cmux.json). doctor: validate JSONC. path/docs: print paths/schema URL (run before hand-editing; back up to .bak first). reload: re-read config + Ghostty, no restart needed. get/set: read/write sidebar-font-size or surface-tab-bar-font-size.

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": {
      "action": "<action>"
    },
    "name": "cmux_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoRequired for get/set.
pathNoConfig file to validate, for doctor (default: cmux.json).
actionYes
pointsNoPoint size, required for set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses JSONC validation, backup advice before edits, that reload re-reads config and Ghostty without restart, and that get/set read or write font-size settings. It omits failure modes and whether a set requires a subsequent reload to take effect.

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?

The definition is compact and front-loaded: it states the managed resource first, then maps each action to its purpose with no wasted wording.

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?

The description covers all actions and key operational behavior for a six-action config tool, including backup and reload effects. It lacks explicit return-value or error behavior, which is a modest gap because there is no output schema.

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 75%, and the description adds meaning for the action enum by explaining doctor, path/docs, reload, get, and set. It also names the key choices, but does not mention the 'points' parameter, leaving that 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?

The description names a specific resource and path, 'cmux settings (~/.config/cmux/cmux.json)', and enumerates all six supported actions. This clearly separates it from the pane/workspace-oriented sibling tools.

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?

It gives action-specific operational guidance: run path/docs before hand-editing, back up to .bak first, and use reload instead of a restart. It does not explicitly state when not to use an action, but the action semantics are clear enough to choose correctly.

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