Skip to main content
Glama

execute_plan

Runs a UCR plan through safety gates and delegates downstream tool calls as needed, with confirmation and per-tool arguments controlling execution.

Instructions

Execute a UCR plan through safety gates, delegating downstream calls as needed.

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": {
      "plan_json": "<plan_json>"
    },
    "name": "execute_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNo
plan_jsonYes
arguments_by_tool_jsonNo{}

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It mentions safety gates and downstream delegation, which is useful context, but it does not explain what those gates are, whether execution mutates state, how the 'confirmed' flag affects gating, or what permissions are required.

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 definition is a single front-loaded sentence with no filler. It is concise, though its brevity contributes to the gaps in parameter and usage guidance.

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

Completeness2/5

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

This is a complex execution tool with three undocumented parameters and no annotations. The output schema means return values need not be explained, but the input contract and safety behavior are materially incomplete.

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

Parameters1/5

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

Schema description coverage is 0% for all three parameters, so the description must compensate. It says nothing about 'plan_json', 'confirmed', or 'arguments_by_tool_json', leaving required input format and confirmation semantics entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Execute a UCR plan' and notes delegation through safety gates. However, 'UCR plan' is unexplained jargon, and there is no explicit differentiation from siblings like explain_plan or execute_selected_tool. The purpose is discernible but not sharp.

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?

No guidance is given on when to use this tool versus explain_plan or execute_selected_tool, nor on when execution is inappropriate. 'Delegating downstream calls as needed' hints at behavior but does not tell an agent how to choose this tool.

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