Skip to main content
Glama
grandMA2 MCP
by drohi-r

plan_agent_goal

Preview and generate an execution plan for a natural language lighting goal without running it, returning steps, confidence, and policy warnings before committing.

Instructions

Generate a plan for a goal WITHOUT executing it.

Useful for previewing what the agent would do before committing.
Returns the parsed goal, generated plan steps, and any policy warnings.

Args:
    goal: Natural language goal to plan for.

Returns:
    str: JSON with intent, plan steps, confidence, and warnings.

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": "plan_agent_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 discharges the most important part: this tool produces no side effects ('WITHOUT executing it', preview-before-commit). It also mentions policy warnings surfacing in the result, though it says nothing about permissions, cost, or latency of plan generation.

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 behavioral statement is front-loaded in the first sentence and the preview use case follows immediately. The Args/Returns docstring block is somewhat redundant given a structured output schema exists, but it stays brief.

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 one-parameter tool with an output schema, the description covers purpose, non-execution, and what comes back (intent, steps, confidence, warnings). Only the single input parameter lacks depth, which is a minor gap at this complexity.

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 0% for the single 'goal' parameter, so the description must compensate. It does so only minimally by labeling the input as 'Natural language goal to plan for,' without examples, length expectations, or note on whether the goal should be decomposed.

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 opening line names a specific verb and resource ('Generate a plan for a goal') and immediately scopes it with 'WITHOUT executing it,' which is exactly the distinction an agent needs against an execution-style sibling.

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?

'Useful for previewing what the agent would do before committing' gives a clear trigger condition for when to reach for this tool. It stops short of naming the execution counterpart explicitly or stating when planning is unnecessary, so it is clear but not fully routing.

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