Delete device
tailscale_delete_deviceDelete a device, removing it from the tailnet. Tailscale REST: DELETE /device/{deviceId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The device id to delete. |
tailscale_delete_deviceDelete a device, removing it from the tailnet. Tailscale REST: DELETE /device/{deviceId}.
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The device id to delete. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, so the destructive nature is covered. The description adds useful consequence detail ('removing it from the tailnet'), but says nothing about irreversibility, what else is torn down (routes, keys, tags), or permission requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short, front-loaded sentences with no filler; the effect statement comes before the REST mapping. The endpoint line is mildly redundant but useful for mapping to the API.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter destructive tool with no output schema, the description covers purpose and effect adequately, but omits irreversibility and permission expectations that an agent should know before invoking a delete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter is self-explanatory ('The device id to delete'). The description's REST path template mirrors deviceId without adding format or sourcing detail, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Delete a device') plus the concrete effect ('removing it from the tailnet'), so the agent knows exactly what happens. It does not explicitly differentiate from near-neighbors like tailscale_expire_device_key or tailscale_delete_key, but the resource noun makes the target unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to delete a device versus alternatives such as expiring its key or authorizing/deauthorizing it, and no prerequisites (offline requirements, admin scope) are stated. Usage is only implied by the verb.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.