Skip to main content
Glama
keil-mdk-mcp

keil-mdk-mcp

by lideshengstu

keil_get_project_info

Parses targets, device, compiler, and output settings for an allowlisted Keil MDK project so you can inspect and verify build configuration.

Instructions

Parse targets/device/compiler/output settings; project_path must be allowlisted.

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

Input Schema

NameRequiredDescriptionDefault
project_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does surface one genuinely useful behavioral requirement — the path must be allowlisted, implying a security/validation gate — but says nothing about read-only nature, failure behavior on a non-allowlisted or malformed path, or what happens when project_path is omitted.

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?

A single compact sentence with the constraint front-loaded; nothing is padded or redundant. It is arguably too terse, but every clause earns its place.

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 documentation is unnecessary, and the tool is a simple single-parameter read. Still missing is enough to call it reliably: the path format, behavior when the parameter is omitted, and any differentiation from the other keil_* state-inspection tools.

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 schema only declares project_path as an optional nullable string with no description. The description adds one meaningful constraint (allowlisting) but omits expected format (e.g., path to a .uvprojx file), whether it must be absolute, and what the null default means.

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 uses a concrete verb ('Parse') and enumerates the extracted content (targets, device, compiler, output settings), so the agent knows it reads project configuration rather than runtime state. It does not explicitly contrast itself with siblings like keil_get_environment or keil_build, but the resource is unambiguous from the field list.

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?

The only guidance is a constraint ('project_path must be allowlisted'), not a when-to-use statement. There is no indication of when this should be called instead of keil_get_environment, keil_get_status, or before a build, and no exclusions or prerequisites beyond the allowlist note.

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