Skip to main content
Glama

inspect_project

Inspect an STM32 project to identify CubeMX MCU settings, FreeRTOS version, ELF firmware, and RTT/SystemView evidence for runtime diagnostics.

Instructions

Inspect CubeMX MCU, FreeRTOS version, ELF and RTT/SystemView evidence / 检测工程能力.

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": {
      "project_path": "<project_path>"
    },
    "name": "inspect_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
ioc_pathNo
project_pathYes
firmware_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It never says whether the operation is read-only, what happens when the ELF or trace artifacts are absent, whether it touches or creates files, or whether a live target connection is required for RTT/SystemView evidence.

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 front-loaded sentence with the verb first and no filler. The duplicated Chinese phrase adds a little noise without new information, but the definition remains tight and scannable.

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 values need not be described here, which offsets some of the burden. However, for a three-parameter inspection tool with zero annotation and zero schema coverage, the description should still cover prerequisites and read-only behavior, and it does not.

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% across three parameters, so the description must compensate and largely does not. The listed evidence types loosely hint at the mapping (CubeMX→ioc_path, ELF→firmware_path, project→project_path), but it never explains the required/optional split or what happens if ioc_path or firmware_path are omitted.

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 pairs a concrete verb ("Inspect") with an enumerated set of evidence types: CubeMX MCU configuration, FreeRTOS version, ELF, and RTT/SystemView traces. That is far more specific than a bare "inspect project," but it never distinguishes the tool from adjacent diagnostics siblings such as diagnose_environment or get_target_info, so an agent still has to guess which inspector to reach for.

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 statement of when to call this versus alternatives, no prerequisites (must the project be built first? must a debug probe be attached?), and no exclusions. The agent is left to infer usage entirely from the evidence-type list.

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