Skip to main content
Glama

Rake

Check a Zephyr prj.conf

check_zephyr_conf
Read-onlyIdempotent

Checks the lines of a Zephyr configuration file (prj.conf, a board .conf or an overlay) against the Kconfig symbols of a release: symbols that do not exist, with the closest that do, values of the wrong type or outside the range, and symbols that a file cannot set. Use it after writing or editing a prj.conf, before building. It does not evaluate dependencies or board defaults, so the build can still warn about a symbol whose dependencies are not met.

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": {
      "conf": "<conf>"
    },
    "name": "check_zephyr_conf"
  }
}

Input Schema

NameRequiredDescriptionDefault
confYesThe text of the configuration file.
versionNoThe Zephyr release: 3.7, 4.4, 4.5. Default 4.5. For another release, use the nearest one below it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description's job is mainly to add limits, and it does: it discloses that dependency resolution and board defaults are out of scope and that the build may still warn afterwards. That is real behavioral context an agent could not infer from the annotations. It does not describe the shape or size of the report returned, which is the remaining behavioral gap.

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 sentences, front-loaded with the core action, then the enumerated checks, then the scope limitation. No filler, no repetition of the title, and the most decision-relevant constraint (when to run it, what it does not cover) is placed where an agent will read it.

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 two-parameter read-only tool with full schema coverage this is nearly complete: it covers what is checked, when to call it, and the known blind spot. The one omission is that no output schema exists and the description never says what the check returns (a list of findings? a pass/fail?), which the agent must guess.

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

Parameters3/5

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

Schema description coverage is 100% and both parameters are documented in the schema, including the release enum and the max length constraint. The description adds one useful clarification by listing the accepted file kinds (prj.conf, board .conf, overlay) that can be passed as `conf`, but gives no guidance on how a specific finding interacts with the chosen `version`. Baseline 3 is appropriate.

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 verb ('Checks') and a precise resource ('the lines of a Zephyr configuration file (prj.conf, a board .conf or an overlay)') scoped against a release's Kconfig symbols. It enumerates the exact defect classes detected (unknown symbols, wrong type, out-of-range values, non-settable symbols), which is far more than a restatement of the title and lets an agent distinguish this from lookup_zephyr_kconfig or check_build_flags.

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?

Explicit timing is given: 'Use it after writing or editing a prj.conf, before building.' It also sets a boundary ('It does not evaluate dependencies or board defaults'), which tells the agent when this tool is insufficient. It stops short of naming a sibling tool to use for the dependency case, so it is clear context without full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources