Skip to main content
Glama

inspect_project

Read-onlyIdempotent

Discover firmware project artifacts like ELF, map, linker script, SVD, and STM32CubeMX .ioc metadata to help AI agents debug STM32 targets.

Instructions

Discovers firmware project artifacts such as ELF, map, linker script, SVD, and STM32CubeMX .ioc metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNoOptional debug-session name. Omit for the default target.
project_rootNoProject directory to scan. Uses debug profile project_root if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety and side-effect profile is fully covered. The description adds that this is a scanning/discovery operation over project artifacts, but says nothing about whether results are cached into session state, whether it re-scans each call, or how it interacts with the optional debug session.

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 no filler or repetition. It is tight and readable, though it is arguably too terse for a tool whose output shape is undocumented.

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?

With no output schema, the description carries the burden of explaining what a caller gets back, and it only vaguely implies a list of discovered artifacts without stating the return shape, grouping, or failure behavior when nothing is found. Annotations cover the safety side, so the remaining gap is moderate rather than severe.

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 description coverage is 100%, and both parameters (session, project_root) have their defaults and fallback behavior documented in the schema itself. The description mentions no parameters at all, so it adds no meaning beyond the schema — baseline 3 is correct.

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 ("Discovers") and resource ("firmware project artifacts") and enumerates concrete examples (ELF, map, linker script, SVD, .ioc). However, it never distinguishes itself from siblings that also ingest project artifacts such as load_svd, load_device_pack, or load_symbols, so the agent must guess which discovery tool applies to a given need.

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 indication of when to call this tool, when not to, or what alternative covers a related need. The only hint is the implied "discovery/first step" framing, which the agent must infer from the word 'Discovers' alone.

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