Set device name
tailscale_set_device_nameSet (rename) a device's name. Tailscale REST: POST /device/{deviceId}/name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new device name. | |
| deviceId | Yes | The device id. |
tailscale_set_device_nameSet (rename) a device's name. Tailscale REST: POST /device/{deviceId}/name.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new device name. | |
| deviceId | Yes | The device id. |
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?
Only destructiveHint=true is annotated, so the description carries more burden than a fully-annotated tool. It adds the underlying REST mapping (POST /device/{deviceId}/name), which is useful context, but says nothing about required permissions, whether the rename affects DNS name/machine identity, or its reversibility.
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 sentences, front-loaded with the action and its clarifying synonym. The REST endpoint sentence is marginal but small enough not to be bloat.
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 simple two-parameter rename with full schema coverage and no output schema, the essentials are present. However, the destructive hint is never explained (what a rename disrupts, permission needs), leaving gaps for a mutation tool.
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%, so both deviceId and name are already documented in the schema; the description adds no format, constraint, or naming-rule detail beyond it. Baseline 3 applies when the schema does the heavy lifting.
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+resource pair ('Set (rename) a device's name'), and the parenthetical disambiguates rename from other 'set' operations. It is easily distinguished from siblings like tailscale_set_device_routes and tailscale_set_device_tags.
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?
The description gives no when-to-use guidance, no prerequisites, and does not reference any alternative tool. Usage is only implied by the verb itself, leaving the agent to infer when renaming is appropriate.
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.