Skip to main content
Glama

Create a label

kanbini_create_label

Creates a board-scoped label with a chosen palette color so you can tag cards consistently and reuse existing labels instead of duplicating them.

Instructions

Create a new label on a board (boardId: id or name). Labels are board-scoped: put it on that board's cards by name or id. Check the board's labels first so you reuse an existing label instead of making a near-duplicate. Returns { id, boardId }. Colours: pass a palette name (red, orange, amber, yellow, lime, green, teal, cyan, sky, blue, indigo, purple, pink, rose) so it matches the app's swatch picker.

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": {
      "boardId": "<boardId>",
      "name": "<name>",
      "color": "<color>"
    },
    "name": "kanbini_create_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorYesOne of the app palette names (red, orange, amber, yellow, lime, green, teal, cyan, sky, blue, indigo, purple, pink, rose) - preferred, so the colour matches the swatches in the app - or a raw CSS colour string such as one read back from another entity.
boardIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses that labels are board-scoped, that duplicates are a real risk, and what the call returns (`{ id, boardId }`). It omits permission requirements, behavior on duplicate names, and whether the call is idempotent.

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?

One compact paragraph, front-loaded with the action and scope, then prerequisites, then return value, then the colour constraint. The enumerated palette at the end duplicates the schema description and could be shortened to "use an app palette name" without losing information.

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

Completeness3/5

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

For a three-parameter create tool with no annotations and no output schema, the description supplies the return shape and the board-scoping context, which is the important part. It still leaves gaps around failure modes (duplicate names, invalid boardId) and permissions that an agent would want before calling.

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 coverage is only 33%, so the description needs to compensate. It does add meaningful semantics for `boardId` ("id or name"), which the bare string schema does not convey. However, the palette list for `color` largely restates the schema's own description, and `name` is not characterized at all beyond minLength.

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?

The description opens with a specific verb and resource ("Create a new label on a board") and immediately scopes it (board-scoped labels). Against siblings like `kanbini_update_label` and `kanbini_delete_label`, the create action is unmistakable without opening any schema.

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?

It gives a concrete prerequisite workflow: check the board's `labels` first to avoid near-duplicates. It also explains how the label is subsequently used (applied to cards by name or id), which tells the agent what to do after creating. It stops short of naming the sibling tool (`kanbini_set_card_labels`) that actually applies the label.

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