Skip to main content
Glama

Load built-in template into editor

firmware_config_load_template

Loads a built-in project template into the editor config, preserving the current project identity by default for overwrite or creating an unsaved new configuration when disabled.

Instructions

Replace the editor config with one of the app's built-in project templates (same data as project_create, in the app's UI language). By default keeps the loaded project's id/name so project_save overwrites it; keepIdentity=false loads it as an unsaved new config. Marks the editor modified; nothing is written to the project list or board until project_save / flash_config. MUTATING.

Input Schema

NameRequiredDescriptionDefault
templateYesBuilt-in template key (same set as project_create).
keepIdentityNoKeep the current project id/config_name/design_id/region.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the deferred-commit model: the editor becomes modified, nothing is written to the project list or board until project_save/flash_config, and identity fields are retained by default. This is the key non-obvious behavior for a mutating tool and is not derivable from readOnlyHint=false or destructiveHint=false.

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?

Front-loaded with the action and the key constraint, and every clause carries information. It is a single dense run-on with parentheticals and semicolons, which is slightly harder to scan than it could be, but nothing is redundant.

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

Completeness5/5

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

No output schema exists, and the description covers what an agent needs: what state changes, what does not change yet, how identity handling works, and which tool commits the change. The 'MUTATING' tag reinforces that this is staged, not persisted.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining the consequence of keepIdentity's default (id/name preserved so project_save overwrites) rather than restating the schema's 'keep the current project id/config_name/design_id/region'.

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?

States a specific verb and resource ('Replace the editor config with one of the app's built-in project templates') and explicitly ties the payload to project_create's data set, so an agent can distinguish it from template-editing siblings like firmware_config_edit and from project_create itself.

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?

Explains the two operating modes via keepIdentity (overwrite the loaded project vs. load as an unsaved new config) and names the downstream follow-ups project_save and flash_config. It does not explicitly say when to prefer project_create or project_import instead, but the selection context is clear.

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