Skip to main content
Glama

Rake

Check a FreeRTOSConfig.h

check_freertos_config
Read-onlyIdempotent

Reads the content of a FreeRTOSConfig.h and reports settings that stop the build, break the kernel at run time or hide errors, with the values it read. Use it when a FreeRTOS project hangs in a critical section, hard-faults at the first context switch, or before trusting a configuration copied from another project. It checks the interrupt priorities of the Cortex-M ports, stack and heap failure detection, the tick settings, software timers and the hooks the application owes. It does not evaluate #if conditions.

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": {
      "config": "<config>"
    },
    "name": "check_freertos_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesThe text of the FreeRTOSConfig.h file.

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?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real scope detail: which areas are inspected (Cortex-M interrupt priorities, stack/heap failure detection, tick settings, software timers, application hooks) and that values read are echoed back. The explicit parsing limitation on #if conditions is exactly the kind of behavioral caveat annotations cannot convey.

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?

Front-loads the purpose, then usage triggers, then checked areas, then the parsing limitation — a logical order with no filler. It is slightly dense in the enumeration sentence, but every clause carries information an agent can act on.

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 read-only single-input checker with full schema coverage and no output schema, the description covers purpose, triggers, inspection scope, and a key limitation. The only gap is the shape of the report (list of findings with severity versus free text), which would help an agent interpret results but is not required to invoke it correctly.

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 coverage is 100% and the single parameter's description already says it is the text of the FreeRTOSConfig.h. The prose confirms it reads file content but adds nothing about size limits or encoding that the schema's minLength/maxLength fields do not already carry, so the baseline of 3 applies.

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?

States a specific verb and resource (reads a FreeRTOSConfig.h) plus the outcome (reports settings that stop the build, break the kernel, or hide errors, with the values read). The FreeRTOSConfig.h scope cleanly separates it from check_zephyr_conf and check_build_flags without needing to name them.

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?

Gives three concrete trigger conditions: hangs in a critical section, hard-fault at first context switch, or a config copied from another project. It also states a limitation (does not evaluate #if conditions), but no sibling alternative is named for when this tool is the wrong choice, so it stops short of full when/when-not/alternatives guidance.

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