Skip to main content
Glama

generate_ignition_script

Generates a scope-aware Ignition script scaffold with the correct context comment and TODO marker, so you can start coding gateway, Perspective, or tag event scripts.

Instructions

Generate a scope-aware script scaffold.

Args: description: What the script should do, in plain language. scope: Script scope (gateway, perspective_component, tag_event, ...). template: Optional template hint such as tag_change or timer.

Returns: A scaffold with the correct context comment and a TODO marker.

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": {
      "description": "<description>"
    },
    "name": "generate_ignition_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNogateway
templateNo
descriptionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that the result is a scaffold containing a context comment and a TODO marker, which implies no working code is produced. However, it never states whether a file is created or the scaffold is merely returned as text, nor any permission or side-effect profile for a code-generating tool.

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?

The one-line summary is front-loaded and the Args/Returns structure is easy to scan with no filler sentences. It is slightly verbose in restating parameter names without adding much beyond their roles.

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

Completeness3/5

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

For a three-parameter generator with an output schema, the parameter coverage is adequate and return-value explanation is not strictly needed. The gap is behavioral: nothing explains whether the scaffold is written to a project script or only returned, which is precisely the ambiguity an agent calling this tool would hit.

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 0%, so the description must compensate, and it does: all three parameters are documented, with concrete example values for scope (gateway, perspective_component, tag_event) and template hints (tag_change, timer) that the bare schema does not supply. The default scope value and the full scope vocabulary remain 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 description opens with a specific verb and resource ('Generate a scope-aware script scaffold') and the Args section clarifies that the output is a starting point rather than a finished script. It is distinguishable from siblings like format_ignition_script or write_project_script, though it never explicitly says so.

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?

There is no when-to-use or when-not-to-use guidance, and no alternatives are named. An agent must infer whether this is the right entry point versus write_project_script or format_ignition_script, and whether the scaffold is returned or persisted.

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

Deploy Server

Other Tools