Skip to main content
Glama

Set the colour label of many items

set_items_color_label
Idempotent

Apply one color label to multiple project items in a single call; items that cannot be found are reported as failed without stopping the rest.

Instructions

Set the same colour label on several project items in one call. Items that cannot be found are reported in failed and do not stop the others. Returns {label, label_name, changed: [...], failed: [...]}.

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": {
      "item_ids": "<item_ids>",
      "label": "<label>"
    },
    "name": "set_items_color_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesColour label index 0-15 (see list_color_labels for the names).
item_idsYesProject item ids (from list_project_items).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description goes further by disclosing partial-failure semantics ('Items that cannot be found are reported in `failed` and do not stop the others'), which is exactly the kind of behavior an agent needs before 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: purpose first, failure behavior second, return shape last. No filler and nothing redundant with the schema or annotations.

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 two-parameter batch mutation with no output schema, the definition covers purpose, partial-failure handling, and the return object keys, with annotations carrying the safety profile. Minor gaps remain, such as whether a given label value clears an existing label or how the changed list is ordered.

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 both parameters are already documented, including the 0-15 label range and the source of item_ids. The description adds no syntax, ordering, or format detail beyond the schema, so the baseline 3 applies.

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 ('Set the same colour label on several project items') and the phrase 'in one call' plus 'several' distinguishes it from the singular set_item_color_label sibling. It stops short of naming that sibling explicitly, so the differentiation is implied rather than stated.

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?

Bulk usage is implied by 'several project items in one call', which tells an agent this is the batch path, but there is no explicit when-to-use statement, no condition for choosing it over the single-item sibling, and no prerequisites (permissions, label range validity beyond the schema).

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

Deploy Server

Other Tools