Skip to main content
Glama

Rake

Look up a Zephyr Kconfig symbol

lookup_zephyr_kconfig
Read-onlyIdempotent

Returns a Zephyr Kconfig symbol of a release: type, prompt, range, defaults, dependencies, what selects it and its help text. Or searches symbol names and prompts for words. Use it instead of recalling a CONFIG_ name or its meaning from memory, and to find the symbol for a feature. Covers the symbols of Zephyr 3.7, 4.4, 4.5 and of the modules in its manifest. It does not cover symbols that only the nRF Connect SDK or another downstream tree defines.

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": "lookup_zephyr_kconfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchNoWords to search for in symbol names and prompts, for example "uart interrupt". Give this or a symbol.
symbolNoThe symbol, with or without the CONFIG_ prefix, for example CONFIG_UART_INTERRUPT_DRIVEN.
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.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint false and openWorldHint false, so the safety profile is covered. The description adds genuinely new behavioral context: which releases are covered (3.7, 4.4, 4.5), that manifest modules are included, and that downstream-only symbols are absent. It does not say what a miss or a multi-hit search returns, which keeps it below 5.

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?

The definition is front-loaded with what the tool returns, then usage guidance, then coverage limits, in four dense sentences with no filler. The opening sentence's long field enumeration is the only mild load, but each item is informative rather than redundant.

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?

With no output schema, the description correctly carries the return-value burden by enumerating the fields of a symbol record. It also bounds coverage by release and by upstream tree. It leaves unstated how search results are shaped and what happens when a symbol is unknown, which are the remaining gaps for a 3-parameter, zero-required tool.

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%, so the schema already documents search, symbol and version, including the CONFIG_ prefix handling and the nearest-release fallback. The description echoes the same distinctions ('of a release', 'searches symbol names and prompts') without adding syntax or constraints beyond them, which is the expected baseline when the schema does the heavy lifting.

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 opening sentence names a specific verb (returns) and resource (a Zephyr Kconfig symbol of a release) and enumerates the fields returned: type, prompt, range, defaults, dependencies, selectors, help text. It also states the second mode, searching symbol names and prompts. An agent can distinguish this from lookup_zephyr_binding or check_zephyr_conf without opening the schema.

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 explicit directives: 'Use it instead of recalling a CONFIG_ name or its meaning from memory' and 'to find the symbol for a feature', plus a clear coverage exclusion for downstream trees such as the nRF Connect SDK. The only gap is that no sibling tool is named as the alternative when the user's task is, say, validating a conf file rather than looking up a symbol.

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