Skip to main content
Glama

manageTaskLabels

Adds and/or removes per-beta labels on a single task, and returns the task's resulting labels. Get assignable ids from listBetaLabels (create new labels with createBetaLabels) — these are NOT the workspace ticket tags from listTicketTags or the tester tags from listTesterTags. Labels are manager-internal and assigning one sends no notification, but a task with labels shows only to testers carrying one of them, and on a running or paused beta project a label change does mark the beta as having unpublished changes (commitTaskChanges will report something to publish). Adding a label the task already has, or removing one it does not have, is a no-op. A label from a category set by the answer to a step (setByAnswer in listBetaLabels) can go only on tasks that come after the task holding that step, and that task cannot carry labels at all. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited.

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": {
      "productId": "<productId>",
      "taskId": "<taskId>"
    },
    "name": "manageTaskLabels"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesID of the task, from getBetaTasks. Never invent ids.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.
addLabelIdsNoLabel ids to add, from listBetaLabels.
removeLabelIdsNoLabel ids to remove, from listBetaLabels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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; the description goes far beyond by disclosing that no notification is sent, that labeling restricts task visibility to matching testers, that a label change marks the beta as having unpublished changes, that duplicate add/remove is a no-op, and that running/paused projects stage changes until commit. It also warns responses return the staged row with liveVersionId linking back.

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?

Front-loaded with purpose and disambiguation, then dense but non-redundant constraint detail; every sentence carries operational information. It is a single long paragraph without breaks, which makes it harder to scan, but no sentence is 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 4-parameter mutation tool with no output schema, it covers id provenance, staging semantics, notifications, visibility side effects, no-op behavior, ordering constraints, and lifecycle blocking. Nothing an agent needs in order to call 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, but the description adds meaning the schema cannot: ids must come from listBetaLabels, and while staging the tools accept both live and staged ids yet always respond with the staged row. The setByAnswer category ordering constraint on addLabelIds is likewise extra semantic information.

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 and resource: "Adds and/or removes per-beta labels on a single task, and returns the task's resulting labels." It explicitly disambiguates from listBetaLabels, createBetaLabels, listTicketTags and listTesterTags, so an agent can tell exactly which tool owns this operation.

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 routing: get assignable ids from listBetaLabels, create new ones with createBetaLabels, publish with commitTaskChanges, discard with revertTaskChanges, inspect staged state with getBetaTasks version 'unpublished'. It also names when-not conditions (finished or archived projects cannot be edited; draft/scheduled apply immediately).

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