Skip to main content
Glama

Delete a label

delete_label
Destructive

On one site of the account, named in site. A label deleted: it comes off every member who wears it, and the members stay. A label an automation names is refused.

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": {
      "site": "<site>",
      "label": "<label>"
    },
    "name": "delete_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to work on, as list_sites names it
labelYesThe label's id or name, in any case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the destructive/openWorld/non-idempotent annotations, the description discloses two meaningful effects: the label is stripped from all members while members themselves survive, and the operation is refused when an automation names the label. That is real context an agent would not get from the annotations, though it doesn't say how the refusal surfaces or whether it is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Short and front-loaded with scope, but the fragmented, subject-less sentence style ('A label deleted: it comes off every member who wears it') costs readability. No wasted length, yet the structure obscures the primary action until the second clause.

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 destructive tool with full schema coverage and no output schema, the description covers the essential effects and the refusal condition. Remaining gaps — how errors are returned, whether deletion is recoverable — are secondary given the destructive annotation.

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 100%, so both parameters are already documented, including case-insensitivity of the label. The description only reinforces site scoping ('one site of the account, named in site') and adds no new parameter meaning.

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 conveys the specific action and resource: deleting a label, scoped to a single site. The telegraphic phrasing ('A label deleted') is awkward, but the operation is unambiguous and distinct from member-level label tools because it states the label comes off every member.

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?

Usage is only implied — an agent can infer this is for permanently removing a label rather than detaching it from one member, but no alternative is named and no precondition is spelled out as guidance. The refusal case for automation-referenced labels is behavioral, not a when-to-use rule.

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