Skip to main content
Glama
YawLabs

@yawlabs/tailscale-mcp

by YawLabs

Update device key

tailscale_update_device_key
Idempotent

Update a device's key settings to disable key expiry, ensuring servers never need to re-authenticate.

Instructions

Update a device's key settings, such as disabling key expiry. Useful for servers that should never need to re-authenticate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdYesThe device ID. nodeId from tailscale_list_devices (e.g. nPM2KNuedB21DEVEL); numeric id ok; not the nodeKey.
keyExpiryDisabledYesWhether to disable key expiry for this device

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.21.0
    • changedInput schema / properties / deviceId / description
      Previous value: -"The device ID"New value: +"The device ID. nodeId from tailscale_list_devices (e.g. nPM2KNuedB21DEVEL); numeric id ok; not the nodeKey."
  2. First observedv0.13.3

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the mutation and safety profile are covered. The description adds the practical effect (disabling key expiry for servers) but does not disclose potential side effects, permission requirements, or impact on existing connections. With annotations providing the core safety traits, this is adequate but not rich.

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

Conciseness5/5

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

Two efficient sentences with zero redundancy. The primary action and use case are front-loaded, and the description avoids unnecessary detail. It earns its place without wasting tokens.

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 simple 2-parameter mutation tool with no output schema and moderate annotations, the description covers the essential purpose and a canonical use case. It does not explain return values or error conditions, but those are less critical for a straightforward update operation. The tool's scope is clear and sufficient for correct invocation.

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 description coverage is 100%, with both parameters well-documented (deviceId explains the format and clarifies it's not the nodeKey; keyExpiryDisabled is self-explanatory). The description adds no additional parameter detail beyond the schema, so the baseline of 3 applies.

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 clear verb (update) and resource (device's key settings), provides a concrete example (disabling key expiry), and identifies a specific use case (servers that should never re-authenticate). This distinguishes it from siblings like tailscale_expire_device (which expires keys) and tailscale_update_key (which manages API keys).

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

Usage Guidelines4/5

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

Gives a clear usage scenario ('Useful for servers that should never need to re-authenticate') that helps an agent decide when to apply this tool. It doesn't explicitly name alternatives or when NOT to use it, but the context is strong enough for typical selection. Sibling differentiation is implicit through the specific focus on key expiry settings.

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