Skip to main content
Glama

Get Plan

get_plan
Read-only

A plan in full: the request behind it, each step's tool and arguments, what each step was estimated to touch, and -- once it has run -- what each step actually did. A step carrying no outcome DID NOT RUN, which is how a plan that stopped part-way is read: the steps before the stop have outcomes and the ones after do not. status is the plan's one state (running, needs_input, blocked, failed, stopped, cancelled, ready) with the reason; last_firing_state, last_fired_at, last_firing_invoked_by and error describe its newest firing; next_fire_at, previous_fire_at and schedule_state (none, fired, due, missed, unknown) say whether its schedule kept its last slot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYesThe plan to read.
connection_idYesThe CRM connection. Call list_crm_connections first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description then adds real value beyond that: it explains that absent step outcomes mean the step never ran, that status is a single state with a reason, and what the firing and schedule-state fields convey. It falls short of 5 only because it says nothing about failure modes (unknown plan_id, missing connection) or return size.

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 content is front-loaded onto the primary return payload and every clause carries information – with no output schema, the enum lists (status values, schedule_state values) earn their place rather than being padding. The weakness is structural: it is one long run-on sentence with no breaks, which makes it harder to scan than it needs to be.

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?

With no output schema and a stateful resource (running, needs_input, blocked, failed, stopped, cancelled, ready), the description does the heavy lifting of explaining the return shape and how to interpret partial completion, which is exactly what an agent needs. It is close to complete; only error/boundary behavior is unaddressed.

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%, with both plan_id and connection_id documented in the schema, including the 'Call list_crm_connections first' sequencing hint. The description adds no additional parameter meaning. Baseline 3 is appropriate when the schema does the work.

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 states very specifically what the tool returns for a single plan: the request, each step's tool and arguments, estimated and actual touches, plus firing and schedule state. The verb is implicit ('A plan in full') rather than an explicit 'returns/reads', and it never names the sibling it replaces (list_plans, get_run), so the agent must infer the single-plan-vs-list distinction. Still, the content is specific enough to separate it from its siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use statement, and no sibling is named as an alternative. What it does offer is interpretive guidance on reading results ('A step carrying no outcome DID NOT RUN... how a plan that stopped part-way is read'), which is genuinely useful at invocation time. That is implied rather than stated usage guidance, so a 3 fits.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.