Skip to main content
Glama

build_flash_run

Compile project, flash firmware to target, reset, and run to a specified breakpoint in a single cycle.

Instructions

Full cycle: build the project, flash firmware, and run to breakpoint.

Composite operation:

  1. Build the project (compile)

  2. Flash the firmware to target

  3. Reset and run to the specified breakpoint

This is the core "edit-compile-debug" loop tool.

Args: break_at: Symbol to break at after flashing (default: "main")

Returns: Step-by-step results for the entire build-flash-run cycle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
break_atNomain

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description must carry full burden. It lists three steps and return type, but does not disclose side effects like whether it clears previous builds, requires a connection, or modifies target state. Basic steps are there, but behavioral context is incomplete.

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?

Description is well-structured with a header, numbered steps, and separate sections for args and returns. Every sentence serves a purpose with no redundancy.

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?

Covers purpose, steps, parameter, and return value. Missing details on error conditions or prerequisites (e.g., project must be configured). Given the tool's simplicity, it is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description compensates fully. The 'break_at' parameter is explained with its purpose and default value, adding clear meaning beyond the schema's property definition.

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 states it performs a full cycle of build, flash, and run to breakpoint, and distinguishes itself as the core 'edit-compile-debug' loop tool. Among siblings like 'build_project' and 'flash_and_run', it uniquely combines all three steps.

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 description implies usage for the complete edit-compile-debug cycle and lists the steps, but does not explicitly state when to use alternatives or prerequisites. Clear context but lacks exclusionary guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YangPan2020/debugforge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server