Skip to main content
Glama

ticket_draft_plan

Write or revise the ticket's plan document: the markdown remediation/execution plan reviewers critique and humans approve. Include the proposed change, blast radius, rollback strategy, and verification steps. Drafting (or re-drafting after changes were requested) sets the plan state to 'drafted'; follow with ticket_request_review to invite the peer reviewer.

Input Schema

NameRequiredDescriptionDefault
planYesThe full plan document (markdown). Replaces the previous revision; the old text stays in the timeline.
ticket_idNoThe ticket UUID. Optional when ticket_number is given.
plan_actionsNoOptional: the action classes this plan will use, as [{"tool": "restart_deployment", "namespace": "payments"}]. Declare every step that changes something. A desk whose organisation has opted those action classes into unattended execution, and whose assignee runs at autonomy 'auto', can then start executing without a human click; a plan that declares nothing, or that names one step outside the trusted set, waits at the human approval gate exactly as before.
ticket_numberNoThe per-organisation ticket number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so safety is partly covered. The description adds useful state-machine behavior ('sets the plan state to drafted') not present in annotations, but says nothing about overwrite semantics, permission/auth needs, or rate limits beyond what the schema carries.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the verb and resource, then content requirements, then the state transition and next step. Every sentence carries information and none repeats the schema verbatim.

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 mutation tool with full annotation coverage and no output schema, the description covers purpose, plan content, resulting state, and the correct follow-up call. The one gap is that it does not explain the plan_actions/unattended-execution consequence, which lives only in the schema.

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 100%, so the baseline is 3, but the description meaningfully enriches the required 'plan' parameter by specifying the expected content (proposed change, blast radius, rollback strategy, verification steps). That content guidance goes beyond the schema's bare 'full plan document (markdown)'.

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 pair (write/revise) and resource (the ticket's markdown plan document), and immediately distinguishes it from the workflow sibling by naming ticket_request_review as the follow-on. An agent can tell this is the plan-authoring tool, not a review or decision tool.

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?

Gives a clear trigger condition ('drafting, or re-drafting after changes were requested') and routes the agent to the next step (ticket_request_review). It stops short of an explicit 'when not to use this' exclusion, but the workflow context is well established.

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.

Resources