Skip to main content
Glama

deleteBetaLabelCategory

Destructive

PERMANENTLY deletes one label category of this beta project along with the labels inside it. This cannot be undone. It works only while none of those labels is assigned to a tester, a task, or a pending invitation; otherwise it fails and names the labels still in use, which you clear with manageTesterLabels and manageTaskLabels or delete with deleteBetaLabel. The confirm deletes exactly the labels the preview counted: if a label is added to the category in between, the confirm fails and you must preview again. Nobody is notified. TWO-STEP TOOL: call it WITHOUT confirmationToken first — nothing changes and you receive a preview plus a confirmationToken. Show the preview to the user; only after the user explicitly approves, call again with the SAME arguments plus the confirmationToken. Tokens are single-use and expire after a few minutes.

Input Schema

NameRequiredDescriptionDefault
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.
categoryIdYesID of the category to delete, from the categoryId field of listBetaLabels.
confirmationTokenNoTwo-step confirmation token. Omit on the first call to receive a preview plus a token; then call again with the SAME arguments plus this token to execute. Single-use and short-lived.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds substantial context beyond them: irreversibility, the failure message naming in-use labels, that nobody is notified, conditional-confirm failure on changed category contents, and token single-use/expiry. The only minor gap is no detail on the preview payload's shape, though that is largely inferable.

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-loaded with the destructive consequence, then failure modes, then the two-step protocol, with zero filler sentences. Slight redundancy exists because the two-step confirmation flow is restated in the confirmationToken schema description, making the long final paragraph partly duplicative.

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 destructive, irreversible mutation with no output schema, the description covers everything an agent needs: preconditions, alternatives, failure behavior, notification semantics, and the full preview/confirm lifecycle including race conditions and token expiry.

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%, so the schema already documents all three parameters; the description still adds meaning by requiring the 'SAME arguments' on the confirm call and by tying token validity to the previewed label set. That goes beyond the schema's generic 'single-use and short-lived' note.

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 ('PERMANENTLY deletes one label category ... along with the labels inside it'), which distinguishes it from the sibling deleteBetaLabel (single label) and updateBetaLabelCategory. Scope and side effect (labels inside are removed) are explicit in the first sentence.

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?

Names the preconditions for success (no label assigned to a tester, task, or pending invitation) and the exact alternatives for clearing blockers: manageTesterLabels, manageTaskLabels, or deleteBetaLabel. It also spells out the required two-call sequence and the re-preview requirement if a label is added mid-flow.

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