Skip to main content
Glama

Create or update aictrl backlog tasks

update_backlog
Destructive

Create or update tasks within an Epic. Supports stack-layer assignments and dependencies. Find existing epic and task UUIDs with query_context domain=backlog reads (for example action=list_epics, then action=list with params.type="tasks" and params.epic_id). task/update changes only the fields supplied; omitted fields stay unchanged. Task IDs and depends_on entries accept a UUID, #123, owner/repo#123 or https://github.com/owner/repo/issues/123; bare numbers must resolve unambiguously in connected repositories. Dependencies must belong to this organization and cannot create cycles. A supplied depends_on, tags or stack_layer_ids array replaces the stored list, and [] clears it; stack_layer_ids not found in the organization are dropped. An update with no fields is rejected; status changes must be valid transitions.

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": {
      "organization_id": "<organization_id>",
      "entity": "<entity>",
      "action": "<action>",
      "params": "<params>"
    },
    "name": "update_backlog"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform on the entity.
entityYesEntity type to modify. Only "task" is supported.
paramsYesAction-specific parameters. • task/create: { epic_id, title, description?, type?: "story"|"bug"|"spike", depends_on?: string[], stack_layer_ids?: string[], complexity?: "low"|"medium"|"high", tags?: string[] } • task/update: { task_id, title?, description?, type?, status?, priority?, depends_on?: string[], stack_layer_ids?: string[], complexity?, tags?: string[] } — omitted fields are unchanged; supplied arrays replace existing values ([] clears).
versionNoAPI version (default: v1)
organization_idYesAICtrl organization ID returned by list_organizations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / params / description
      Previous value: -"Action-specific parameters.\n• task/create: { epic_id, title, description?, depends_on?: string[], stack_layer_ids?: string[], complexity?: \"low\"|\"medium\"|\"high\", tags?: string[] }\n• task/update: { task_id, title?, description?, status?, priority?, depends_on?: string[], stack_layer_ids?: string[], complexity?, tags? }"New value: +"Action-specific parameters.\n• task/create: { epic_id, title, description?, type?: \"story\"|\"bug\"|\"spike\", depends_on?: string[], stack_layer_ids?: string[], complexity?: \"low\"|\"medium\"|\"high\", tags?: string[] }\n• task/update: { task_id, title?, description?, type?, status?, priority?, depends_on?: string[], stack_layer_ids?: string[], complexity?, tags?: string[] } — omitted fields are unchanged; supplied arrays replace existing values ([] clears)."
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, readOnlyHint=false): it discloses that updates are partial, that supplied arrays replace stored lists and [] clears them, that unknown stack_layer_ids are dropped, that no-field updates are rejected, that status changes must be valid transitions, and that dependencies must be same-org and acyclic. This is exactly the mutation-risk context an agent needs.

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?

Dense but front-loaded, with the core purpose first and the operational rules following. Every sentence carries information; the ID-format and array-replacement rules are compactly stated without padding.

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 nested, multi-action mutation tool with no output schema, the description covers the important behavioral and parameter rules. Minor gaps remain (e.g., what a successful response contains, error shapes), but nothing critical to correct invocation 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, but the description adds real meaning: accepted ID formats (UUID, #123, owner/repo#123, issue URL), the requirement that bare numbers resolve unambiguously, and array-replacement semantics. It meaningfully enriches the schema rather than repeating it.

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?

States a specific verb and resource ('Create or update tasks within an Epic') plus the distinguishing capabilities (stack-layer assignments, dependencies). It is clear what the tool does, though it does not explicitly contrast itself with siblings like list_tasks or start_task.

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 concrete guidance on how to obtain the required epic/task UUIDs via query_context reads (action=list_epics, then action=list with params.type="tasks"), which is the main prerequisite. It lacks explicit when-to-use-vs-alternative routing, but the context is clear.

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.