Skip to main content
Glama
agent-mcu MCP server
by linxi27667

mcu_arch_check

Verify embedded C code respects config/driver/application/task layer boundaries to catch architecture violations early and keep firmware modular.

Instructions

Verify 3-layer embedded C architecture boundaries (config/driver/application/task).

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

Input Schema

NameRequiredDescriptionDefault
rootNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and largely drops it: it does not say whether the check is read-only, whether it walks the whole tree or a specific directory, what counts as a violation, or whether it errors or reports on violations. Only the fact that it 'verifies boundaries' is conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no wasted words, which is good, but the brevity comes at the cost of specification rather than from tight editing of sufficient content. The '3-layer' vs four-layer listing slightly muddies the front-loaded statement.

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?

For a tool with no annotations and no output schema, the description should at least explain the check semantics, what constitutes a boundary violation, and the shape of the result. None of that is present, so an agent can call it but cannot predict or interpret its output.

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% for the single 'root' parameter (default '.'), and the description says nothing about what root should point to or what scope it controls. The name is suggestive but the description adds no meaning beyond the schema.

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?

The description gives a specific verb (Verify) and resource (embedded C architecture boundaries) and enumerates the layers checked, which lets an agent distinguish it from siblings like mcu_clock_check or mcu_ioc_audit. Minor friction: it says '3-layer' but then lists four items (config/driver/application/task), leaving the actual layering model 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?

There is no guidance on when to run this check versus other verification siblings, no prerequisites (e.g., that it expects an MCU project layout), and no statement of what a failure means. The agent must infer usage entirely from the tool name.

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