Skip to main content
Glama

kconfig_save

Saves the current Kconfig configuration to a file, optionally writing a defconfig-style file with only values that differ from defaults.

Instructions

Write the current configuration. minimal=True writes a defconfig-style file with only the values that differ from defaults.

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": {
      "name": "<name>",
      "path": "<path>"
    },
    "name": "kconfig_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes
minimalNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden. It does explain the notable 'minimal' behavior and the resulting defconfig file format, which is genuine added context. However, it omits overwrite/conflict semantics (does an existing file at 'path' get clobbered?), permissions, and whether it errors when no config is loaded — important gaps for a write operation.

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?

Two short sentences, front-loaded with the core action and followed by the notable flag behavior. No filler or repetition; only a small ding for the line-wrap artifact and the unexplained 'current configuration' phrasing.

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?

An output schema exists, so return values need not be described, but for a write tool with zero annotations the definition is still thin: required parameters are semantically undefined and write-side side effects (overwrite, file creation, error conditions) are unaddressed.

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%, so the description must compensate, and it only covers one of three parameters. 'minimal' is explained well, but 'name' and 'path' (both required) get nothing — an agent cannot tell whether 'path' is a directory or a filename, or what 'name' identifies.

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 concrete verb and resource: 'Write the current configuration.' Combined with the name kconfig_save, an agent can tell this persists config to disk, distinct from kconfig_load/kconfig_diff. It falls short of 5 because 'write the current configuration' never says where it writes (a file at path? a named session?), leaving the core effect slightly ambiguous.

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 guidance, no prerequisites (e.g., must a session be loaded first?), and no mention of sibling alternatives such as kconfig_load or kconfig_diff. The only conditional given is about the minimal flag, not about when to call the tool at all.

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