Skip to main content
Glama
grandMA2 MCP
by drohi-r

decompose_task

Breaks a high-level grandMA2 lighting goal into an ordered rule-based plan, returning a summary and step list for review before execution.

Instructions

    Break a high-level lighting goal into an ordered rule-based plan.

    Returns the plan summary and full step list so you can review
    before executing. Call run_task to actually execute.

    For the richer agent harness in src/server.py, prefer
    plan_agent_goal and run_agent_goal.

    Args:
        goal:     Natural-language intent, e.g. 'blue wash on movers'
        color:    Target color name or hex
        group:    Fixture group name
        sequence: Target sequence number for cue storage
        cue:      Target cue number
        preset:   Preset name or ID to apply
    

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": {
      "goal": "<goal>"
    },
    "name": "decompose_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
cueNo
goalYes
colorNo
groupNo
presetNo
sequenceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 the key trait — this is a non-executing planning step whose output is meant to be reviewed before mutation, and that it returns a plan summary plus full step list (partly redundant with the output schema). However it never states whether planning itself stores cue/sequence state or has any side effects, which the 'cue storage' parameter hints at.

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 core action and the execute-vs-plan distinction in the first three sentences; the Args list adds information rather than padding. The 'src/server.py' sentence is repo-specific context that costs a little space for an agent that cannot verify it.

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?

For a six-parameter planning tool with an output schema, the definition covers intent, the review-then-execute flow, alternatives, and every parameter. The remaining gaps are side effects and prerequisites, which matter given the cue/sequence storage hints but are not disqualifying here.

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 description coverage is 0%, so the Args block is doing real work: it glosses all six parameters and adds examples ('blue wash on movers', 'color name or hex', 'preset name or ID'). It does not clarify the relationship between cue and sequence defaults (both 1) or when those fields matter versus the free-text goal, leaving a modest gap.

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 ('Break a high-level lighting goal into an ordered rule-based plan') and immediately distinguishes itself from execution siblings by naming run_task as the tool that actually executes. It also differentiates itself from plan_agent_goal, so an agent can choose without opening either schema.

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?

Explicit about the workflow position: plan first for review, then call run_task to execute, and prefer plan_agent_goal/run_agent_goal in the richer agent harness. The one soft spot is the condition 'in src/server.py' — an agent may not be able to tell which server context it is in, making that routing rule hard to apply.

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