Skip to main content
Glama

inspect_project

Inspect a firmware project's build setup (.cproject, CMake, Makefile, or bare-metal) in one call to understand its structure before compiling or debugging.

Instructions

Inspect a firmware project (.cproject/CMake/Makefile/bare-metal) in one call.

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_dir": "<project_dir>"
    },
    "name": "inspect_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral burden. It does not state that inspection is read-only, what files or metadata are examined, whether any side effects occur, or what permissions are required; only the supported project formats and one-call aggregation are disclosed.

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?

The definition is a single front-loaded sentence with no filler; the parenthetical project-type list is compact and informative. Every phrase contributes to identifying the tool and its supported inputs.

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?

The tool is simple, but with no annotations and no output schema the description does not explain what inspection returns or define the expected path semantics for project_dir. It identifies the tool and supported project types, but leaves key invocation and result context implicit.

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?

There is one required parameter (project_dir) with 0% schema description coverage. The description indicates that a firmware project of certain formats is expected, but it does not clarify whether the value is a project root path, absolute vs relative path, or what happens for unsupported project layouts.

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 ("Inspect") and resource ("firmware project") and lists supported project systems (.cproject/CMake/Makefile/bare-metal), which distinguishes it from ELF/file-level inspect siblings. It does not explicitly state the scope of what is inspected or name an alternative, so it falls short of a 5.

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 phrase "in one call" implies aggregated project inspection and the listed project types imply when the tool applies, but there is no explicit guidance on when to use it instead of sibling tools such as build_project or inspect_all_elf_headers. No exclusions or prerequisites are stated.

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