Skip to main content
Glama

Queue instruction tasks

queue_instruction_tasks
DestructiveIdempotent

Attach individually trackable child tasks to an existing instruction using the parent task ID and version.

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": {
      "projectId": "<projectId>",
      "parentTaskId": "<parentTaskId>",
      "parentVersion": "<parentVersion>",
      "tasks": "<tasks>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "queue_instruction_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksYesIndividual work items to queue under this instruction.
projectIdYesOwned Brain Scanner project ID from the account's project list; not a local path or repository URL.
sessionIdNoID of this project's active agent session, returned when the session was started. Not needed for read-only calls.
executionIdNoExecution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID.
parentTaskIdYesExisting instruction task that owns the queued child tasks.
parentVersionYesVersion of the parent instruction used when queueing tasks.
idempotencyKeyYesCaller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / executionId / description
      Previous value: -"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."New value: +"Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID."
    • changedInput schema / properties / projectId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Owned Brain Scanner project ID from the account's project list; not a local path or repository URL."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."New value: +"ID of this project's active agent session, returned when the session was started. Not needed for read-only calls."
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "idempotencyKey",
      -  "parentTaskId",
      -  "parentVersion",
      -  "tasks",
      -  "idempotencyKey"
      -]New value: +[
      +  "projectId",
      +  "parentTaskId",
      +  "parentVersion",
      +  "tasks",
      +  "idempotencyKey"
      +]
  3. Changed8 schema fields changed
    • changedInput schema / properties / executionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • changedInput schema / properties / parentTaskId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Existing instruction task that owns the queued child tasks."
    • addedInput schema / properties / parentVersion / description
      Added value: +"Version of the parent instruction used when queueing tasks."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."
    • addedInput schema / properties / tasks / description
      Added value: +"Individual work items to queue under this instruction."
    • removedInput schema / properties / tasks / items / properties / dependsOn / items / description
      Removed value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • removedInput schema / properties / tasks / items / properties / sourceReferences / items / description
      Removed value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • removedInput schema / properties / tasks / items / properties / taskId / description
      Removed value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  4. Changed8 schema fields changed
    • addedInput schema / properties / executionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action."
    • addedInput schema / properties / parentTaskId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / tasks / items / properties / dependsOn / items / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / tasks / items / properties / sourceReferences / items / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / tasks / items / properties / taskId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  5. Added

TDQS

B3.1/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description discloses nothing about what is mutated or destroyed, whether queued tasks append to or replace existing children, or how a stale parentVersion is handled. The only added nuance — that children are "individually trackable" — is thin for a destructive batch mutation.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly why behavioral and usage detail are absent.

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

Completeness2/5

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

For a 7-parameter destructive batch mutation with a nested task array supporting dependsOn, existingTask, and up to 20 items, the description says nothing about ordering, dependency resolution, partial-failure or all-or-nothing behavior, or version-conflict handling. With no output schema to fall back on, an agent cannot predict the result of the call.

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%, so every parameter including parentTaskId, parentVersion, and the nested task fields is already documented. The description only restates that parent task ID and version are used, adding no syntax, ordering, or constraint detail (e.g. the 20-task cap or dependsOn semantics) beyond the schema.

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 gives a specific verb and resource — "attach individually trackable child tasks to an existing instruction" — which is clearly distinct from control/acknowledge/cancel sibling operations. It does not explicitly name a sibling alternative, but the action itself is unambiguous.

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?

Usage is only implied: it applies to an *existing* instruction and requires a parent task ID and version, which signals a prerequisite. There is no statement of when to prefer this over control_instruction_task or submit_node_instruction, and no exclusions or failure conditions are given.

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