Skip to main content
Glama
tsvikas
by tsvikas

create_label

Create a task label, optionally placing it in an existing or new label group; requires Marvin's Task Labels strategy enabled.

Instructions

Create a label (optionally inside an existing or new label group).

Requires the Task Labels strategy to be enabled in Marvin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo#RRGGBB
groupNoexisting label group (name or id)
titleYes
new_groupNocreate this group and put the label in it
new_group_exclusiveNoonly one label of the new group per task

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNo
titleYes
parentNo
createdYesid of the new item

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the configuration prerequisite, which is genuine behavioral context an agent would otherwise miss. It says nothing about idempotency, duplicate-title handling, or what happens if the referenced group does not exist, leaving meaningful gaps for a mutation tool.

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?

Two sentences, the action and scope are front-loaded, and the prerequisite is called out separately. Nothing is padded or redundant.

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?

An output schema exists, so return values need not be explained, and the key gating prerequisite is stated. The remaining shortfall is the undocumented interaction between 'group' and 'new_group', which an agent needs to call this correctly.

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 80%, so the schema already documents color format, group identification, and new_group semantics. The description only restates the group nesting idea and adds no detail about mutual exclusivity between 'group' and 'new_group' or about 'new_group_exclusive'.

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?

States a specific verb and resource ('Create a label') and adds the nesting scope (existing or new label group), so an agent knows exactly what is produced. It does not distinguish itself from the nearby create_category sibling, which handles a similar-sounding concept, so it stops short of a 5.

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?

The description supplies a real precondition — the Task Labels strategy must be enabled in Marvin — which tells the agent when this tool will work. It offers no guidance on choosing between 'group' and 'new_group' or against alternative creation tools, so usage is only partly covered.

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