Skip to main content
Glama

start_firmware_watch

Watches a compiled firmware artifact and, after confirmation, auto-flashes each stable SHA256 change, then runs and monitors the target for repeated hardware testing.

Instructions

Watch a compiled artifact, auto flash stable changes, run and monitor / 监听编译产物并自动烧录监控.

Explicitly enables repeated hardware writes for this selected artifact. Waits for 1 second stability. One deployment attempt per SHA256. Does not execute builds or modify the firmware source. Requires confirm=True: this tool writes Flash repeatedly without further prompts.

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>",
      "firmware_path": "<firmware_path>"
    },
    "name": "start_firmware_watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
chip_nameNo
duration_sNo
project_pathYes
firmware_pathYes
serial_numberNo
deploy_initialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior5/5

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

This description excels here by detailing behavior beyond structured fields, such as the mandatory 1-second stability wait, the limitation on deployment attempts, and the high-risk nature of repeated flash writes when confirm=True is set. This is essential for a complex mutation tool.

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 structure is highly effective. A strong introductory sentence is immediately followed by concise bullet points that layer specific operational constraints and behavioral traits, achieving maximum information density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the 7 parameters and the complexity of flashing and monitoring, the description provides nearly all necessary context. While the specific function of every parameter is not detailed, the operational 'when-to-use' and 'how-it-works' constraints are complete.

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 0%, meaning the description is tasked with defining the tool's purpose. While it defines the overall *workflow*, it does not provide functional meaning for the specific optional parameters like 'chip_name' or 'duration_s.' Baseline 3 is appropriate here despite the high overall quality.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly defines the function: it watches a compiled artifact, auto-flashes stable changes, runs, and monitors. The phrase 'auto flash stable changes' is a highly specific and helpful action descriptor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The tool is clearly positioned for automated testing/monitoring loops. It provides a key operational constraint ('One deployment attempt per SHA256') and the 'confirm=True' rule, which guides usage significantly, though it doesn't explicitly compare itself to alternatives.

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