Skip to main content
Glama

plan_project_debug

Generates a read-only, project-aware plan for flashing and debugging firmware, letting you review steps before any hardware writes.

Instructions

Plan project-aware flash/debug without hardware writes / 只读生成烧录调试计划.

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

Input Schema

NameRequiredDescriptionDefault
chip_nameNo
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
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the single most important trait: no hardware writes occur, making this a safe non-mutating operation. It says nothing about whether a connected target or valid firmware is required, what the plan is derived from, or what conditions cause failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English clause is front-loaded and waste-free, but the full Chinese restatement doubles the length while conveying identical information to an English reader. Brevity here is closer to under-specification than to discipline.

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?

An output schema exists, so return values need not be explained, but the tool takes three unlabeled parameters with zero schema documentation and no annotations. A planning tool whose inputs drive chip/firmware selection needs at least a note on defaults and precedence, none of which is present.

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 (project_path, chip_name, firmware_path), so the schema contributes only titles and types. The description mentions 'project-aware' without explaining how project_path is interpreted, and never addresses chip_name or firmware_path—overrides, defaults, or format expectations are left entirely unstated.

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 verb 'Plan' and resource 'project-aware flash/debug' state a concrete action, and the phrase 'without hardware writes' immediately signals this is a dry-run planner rather than an executor like deploy_project or erase_flash. It stops short of naming any sibling explicitly, so differentiation relies on inference from that phrase.

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?

No sentence tells the agent when to pick this tool over build_project, deploy_project, or the connection tools. The read-only framing implicitly suggests a pre-flight step, but no condition, prerequisite, or exclusion is stated, leaving the agent to guess its place in the workflow.

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