Skip to main content
Glama

Ticket Plan

ticket_plan

Preview or idempotently commit an owner-private ticket tree generated from a planning prompt or supplied structured plan. Requires tickets:write. A preview without a supplied plan invokes the planner model and additionally requires councils:run; supplied-plan preview and commit are provider-free and need only tickets:write. Preview is non-mutating and returns the normalized commit payload, an exact preview_token, and deterministic predicted ticket IDs as JSON. To commit, combine that commit_payload with mode=commit, the caller-held idempotency_key, and that exact preview_token; the response returns the same IDs plus replay status. A caller-stable visible-ASCII idempotency_key is always required. This creates only in-platform planning tickets; it never runs them, sends, publishes, deletes, or changes an external provider.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
planNo
modelNo
promptYes
contextNo
session_idNo
auto_assignNo
max_ticketsNo
preview_tokenNoExact preview_token returned by preview mode.
idempotency_keyYesCaller-stable visible-ASCII key. Reuse only for the exact same operation and payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "text": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "text"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.6/5.0
Behavior1/5

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

The description adds valuable context: preview is non-mutating, commit requires an exact preview_token, and no external side effects occur. However, it explicitly claims 'idempotently commit' while the annotation idempotentHint is false, which is a direct annotation contradiction.

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?

The description is dense but every sentence earns its place, front-loading the core operation, then permission requirements, mode behavior, commit protocol, and side-effect boundaries. No filler is present.

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 10-parameter tool with nested objects and no output schema, the description covers the essential state machine, required permissions, return values, and side-effect exclusions. Optional parameter semantics and error/replay-status details are not fully specified, but the core calling flow is well documented.

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 only 20%, so the description compensates somewhat by explaining mode, prompt, plan, preview_token, and idempotency_key semantics. However, it leaves model, context, session_id, auto_assign, and max_tickets unexplained, and introduces 'commit_payload' as a concept not named in the schema.

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?

Names a specific verb and resource: 'Preview or idempotently commit an owner-private ticket tree generated from a planning prompt or supplied structured plan.' It distinguishes the tool's two modes and explicitly states what it does not do ('never runs them, sends, publishes, deletes, or changes an external provider.'

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?

Clearly explains when each mode is appropriate, including the conditional councils:run requirement and which paths only require tickets:write. It does not name sibling tools as alternatives, so explicit exclusion guidance is absent.

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