Skip to main content
Glama

Delete voucher

unifi_net_delete_voucher
DestructiveIdempotent

Delete a single hotspot voucher by ID, with optional preview or confirmation to avoid accidental removal.

Instructions

Deletes a single hotspot voucher.

Input Schema

NameRequiredDescriptionDefault
idYes
confirmNo"YES" to apply; without it the tool returns a preview.
dry_runNotrue: preview only, nothing is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds cardinality ('single') but does not mention the preview behavior available via confirm/dry_run or what happens after deletion.

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?

The description is a single front-loaded sentence with no wasted words. It is concise, though extremely terse for a destructive operation.

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 simple delete tool, annotations and schema provide the main safety and preview semantics. The description is minimally adequate but does not mention the confirmation requirement, preview behavior, or the id parameter's meaning.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, with the required 'id' parameter undocumented in the schema and the description adds no parameter details. The confirm and dry_run parameters are explained in the schema, but the description does not compensate for the missing id semantics.

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 states a specific verb and resource: deletes a single hotspot voucher. The word 'single' helps distinguish it from the bulk sibling unifi_net_delete_vouchers, though it does not explicitly name that alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus the bulk delete or other voucher tools, and there are no prerequisites or exclusions. Usage is only implied by the verb 'deletes'.

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

Deploy Server

Other Tools