Skip to main content
Glama

List or manage labels

manage_labels
Destructive

List global and personal labels by namespace, create admin-only global labels only on request, or irreversibly remove your labels from all tasks.

Instructions

List the labels you can use, global ones and your own, as one line per namespace (host:, type:). With create or delete it changes them first, then lists: create adds a global label (admin only, and only when the user asks); delete removes one of your labels from every task, which cannot be undone (global labels: admin only). Read-only without those. Put labels on tasks with save_task add_labels.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
createNonamespace:value, like type:research
deleteNolabel name, like host:old-box

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that delete removes the label from every task and is irreversible, and that global create/delete require admin. The destructiveHint annotation already flags the mutation risk, but the blast radius ('every task') and permission gate are genuine additions. Minor gap: no note on idempotency of repeated deletes, which is relevant given idempotentHint=false.

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-loads the read behavior before the mutation modes and every sentence carries information (permissions, reversibility, alternative tool). It is slightly dense with stacked parentheticals, but nothing 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 two-param, no-output-schema tool, it covers the default behavior, both mutation paths, permission requirements, reversibility, and the sibling alternative. An agent can call it correctly without further context.

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% and the schema already gives examples for both params, so the baseline is 3. The description adds real semantics on top: create targets a global label (admin-only), while delete applies to the caller's labels and affects all tasks, which the schema does not convey.

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 and resource ('List the labels you can use, global ones and your own') plus its output shape ('one line per namespace'), and distinguishes the mutation modes (create/delete) from the pure listing behavior. It is clearly separable from siblings because it explicitly routes task-label application to save_task add_labels.

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 conditions for each mode: create only when the user asks and only for admin, delete for the user's own labels, and the default is read-only listing. It also names the alternative tool (save_task with add_labels) for putting labels on tasks, so the agent knows when not to use this tool.

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