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 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. 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.

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 carries everything else of value: no notification is sent, a label change marks the beta as having unpublished changes, duplicate adds/missing removals are no-ops, and edits are staged until commitTaskChanges (discardable via revertTaskChanges). It even flags a surprising response behavior: staged rows are returned even when live ids are passed, 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?

Purpose is front-loaded in the first clause, and every sentence carries operational information rather than filler. It is dense and long, with the staging/id-echo material packed into the final sentences, so an agent must read to the end, but nothing is truly redundant.

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 non-destructive mutation tool with no output schema, the definition covers input sourcing, side effects, no-op semantics, staging lifecycle, response shape, and the terminal archived/finished restriction. Nothing an agent needs to invoke it safely 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 the decisive semantic that the label id parameters use manager-internal beta label ids rather than workspace ticket tags or tester tags, which the schema does not say. It also clarifies the no-op conditions for addLabelIds/removeLabelIds. It does not repeat the 50-item cap, which is already 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?

States a specific verb pair and resource ('adds and/or removes per-beta labels on a single task') plus the return value, and explicitly separates itself from the similarly named label tools (listBetaLabels, createBetaLabels, listTicketTags, listTesterTags). An agent can route correctly without opening any sibling 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?

Names the prerequisite tools for obtaining ids ('Get assignable ids from listBetaLabels (create new labels with createBetaLabels)') and explicitly excludes the wrong namespaces (ticket tags, tester tags). It also states the conditions that change behavior: draft/scheduled projects apply immediately, running/paused projects stage the change, and finished/archived projects are read-only.

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