Skip to main content
Glama
keil-mdk-mcp

keil-mdk-mcp

by lideshengstu

keil_read_variables

Reads 1–64 variables in one serialized transaction and preserves per-variable errors for clearer STM32 debugging.

Instructions

Read 1..64 variables in one serialized transaction; per-variable errors are preserved.

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": {
      "names": "<names>"
    },
    "name": "keil_read_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does contribute two useful traits: reads happen in a single serialized transaction, and per-variable errors are preserved rather than aborting the batch. It omits whether an invalid name fails only that entry or the whole call, whether variables must be in scope, and any session-state requirements before the call will succeed.

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?

A single 14-word sentence with the batch limit and the partial-failure guarantee front-loaded. No filler, and every clause adds information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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-value explanation is unnecessary, and the batch/error semantics are covered. However, for a debugger tool driven by an undocumented string array, the missing name-format and session-state context is a real gap.

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 0% and the single parameter is only an untyped-in-meaning array of strings, so the description must add value. The '1..64' bound is genuinely new beyond the schema (no maxItems present), but it never clarifies whether entries are plain symbol names, struct paths, or evaluable expressions.

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 specific verb (read) and resource (variables) plus a batch scope of 1..64, which implicitly separates it from the singular sibling keil_read_variable. It never names that sibling or says explicitly that this is the multi-variable form, so differentiation is inferable rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The '1..64 variables in one serialized transaction' phrasing implies this should be preferred over repeated single-variable reads for batching, but that preference is never made explicit and no alternative is named. There is also no guidance on prerequisites, such as needing an active debug session or halted target.

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