Skip to main content
Glama

align_backlog

Converts a decision into up to eight tracker issues, first returning a plan to review and confirm, then creating exactly those issues in Linear, GitHub, or Jira.

Instructions

Turn one decision into a backlog of issues (one per task, up to 8) in the user's own Linear, GitHub Issues or Jira. Call it ONLY when the user asks for tickets, issues or a backlog from a decision. Never call it on your own initiative. It works in two steps. Step 1: pass decision (and tracker, team, repo or project only if the user said them). You get a PLAN: tracker, destination, the task titles, and a plan_id. Nothing is created until step 2. Show the plan to the user, with the destination and the number of issues, and ask whether to create them. Step 2, only after the user says yes: call again with only plan_id set to the plan_id. That creates exactly the tasks you showed, once. If the plan comes back as needs_choice, ask the user the question it carries (its options are real choices) and call step 1 again with their answer. Never guess a team, repo or project. If the user changes their mind about a task or the destination, plan again. The tool remembers the destination per repo after the first success, so later plans need no question. It uses the user's own tracker credential, and never takes a token or key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "align_backlog"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNoGitHub repository as owner/repo. Leave out unless the user named one or the tool asked.
teamNoLinear team key. Leave out unless the user named one or the tool asked.
plan_idNoThe plan_id the plan call returned, passed back AFTER the user said yes to that plan. Pass only this to CREATE.
projectNoJira project key. Leave out unless the user named one or the tool asked.
trackerNolinear, github or jira. Leave out to use the saved one or the only one connected.
decisionNoThe decision to turn into issues: its id, or words that name it. Pass this to PLAN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, which say nothing about the staging model. The description adds the critical behavior: nothing is created until step 2, creation happens exactly once, the plan returns tracker/destination/titles/plan_id, and the destination is remembered per repo after first success. It also discloses credential handling ('uses the user's own tracker credential, never takes a token or key'), which is material for a write tool.

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?

Sentences are front-loaded and sequenced by step, which suits a two-call workflow. There is mild redundancy, such as 'Never guess a team, repo or project' overlapping with the schema's repeated 'Leave out unless the user named one', but little is genuinely wasted.

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

Completeness5/5

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

For a six-parameter, multi-step, side-effecting tool with no output schema, the description covers everything an agent needs: the plan payload, the plan_id hand-back, the needs_choice branch, the confirmation requirement, and credential sourcing. Nothing required to invoke it correctly is missing.

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, and the description goes beyond it by explaining the role split: `decision` drives the PLAN call, `plan_id` alone drives the CREATE call, and tracker/team/repo/project should only be supplied if the user named them. That is real semantic guidance the schema does not encode, though per-field syntax (e.g. what form the decision id takes) is left to 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?

The first sentence names a specific verb and resource ('Turn one decision into a backlog of issues, one per task, up to 8') and names the destinations (Linear, GitHub Issues, Jira). It also scopes the trigger condition, so an agent can separate this from siblings like align_capture or align_scope without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('ONLY when the user asks for tickets, issues or a backlog from a decision') and when-not ('Never call it on your own initiative', 'Never guess a team, repo or project'). It also spells out the two-step sequence, the confirmation gate, the needs_choice branch, and the re-plan condition when the user changes their mind.

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