Skip to main content
Glama

run_template

Executes a Backstage scaffolder template with validated parameter values, returning a taskId for tracking progress via get_task_status.

Instructions

Execute a Backstage scaffolder template with the provided parameter values. Validates inputs against the template schema before submitting. Returns a taskId for tracking progress with get_task_status. Always call get_template first to understand required parameters.

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": {
      "templateRef": "<templateRef>",
      "values": "<values>"
    },
    "name": "run_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesTemplate parameter values as key-value pairs. Must match the schema returned by get_template.
createdByNoUser entity ref to attribute the task to, e.g. 'user:default/john-doe'. If omitted, the task owner will show as 'Unknown' in Backstage.
templateRefYesTemplate entity reference, e.g. 'template:default/create-react-app'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key traits beyond the schema: inputs are validated against the template schema before submission, execution is asynchronous (a taskId is returned for progress tracking), and a prerequisite call is required. The main gap is that it never states the actual side effects of scaffolding (resources/repos created, irreversibility), which matters for a mutating, no-annotation 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?

Three short sentences, front-loaded with the action, then the validation behavior, then the return/next step. No redundant restatement of the tool name and nothing that could be cut.

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?

No output schema exists, and the description compensates by explaining the taskId return and how to follow it up, plus the get_template prerequisite. It is nearly complete for a 3-parameter, nested-object tool; only the side-effect/consequence of a successful run is left unstated.

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 100%, so all three parameters (templateRef, values, createdBy) are already fully documented, including the 'Unknown' owner fallback and the entity-ref format. The description only reinforces that `values` must match get_template's schema; it adds no format or constraint detail beyond the structured data.

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: 'Execute a Backstage scaffolder template with the provided parameter values.' It also names the return value (taskId) and points to the two sibling tools that bracket this one (get_template before, get_task_status after), so an agent can place it precisely in the workflow.

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?

Gives an explicit prerequisite ('Always call get_template first to understand required parameters') and a follow-up path ('tracking progress with get_task_status'). There is no when-not guidance — e.g. no warning about re-running a template or when to prefer list_tasks — but the sequencing guidance is clear and actionable.

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