Skip to main content
Glama
YawLabs

@yawlabs/tailscale-mcp

by YawLabs

Set devices authorized (bulk)

tailscale_set_devices_authorized
DestructiveIdempotent

Authorize or deauthorize multiple Tailscale devices in one batch, with parallel processing and per-device error reporting for partial failures.

Instructions

Authorize or deauthorize multiple devices in one call. Each device's POST runs in parallel; per-device errors are returned alongside the successes so a partial failure doesn't lose the work that succeeded. On partial failure the call still returns success (ok) with data: { authorized, succeeded, failed } -- inspect data.failed for the per-device errors. Common use: authorize a batch of newly-enrolled CI hosts, or deauthorize a group of devices flagged by a security review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdsYesDevice IDs to update (nodeIds preferred; legacy numeric ids also work)
authorizedYestrue to authorize, false to deauthorize

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.21.0
    • changedInput schema / properties / deviceIds / description
      Previous value: -"Device IDs to update"New value: +"Device IDs to update (nodeIds preferred; legacy numeric ids also work)"
  2. First observedv0.13.3

TDQS

A4.4/5.0
Behavior5/5

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

The description goes well beyond annotations by revealing parallel POST execution, partial-failure handling, and the response shape on failure with data.failed. It also clarifies that a partially failed call still returns success (ok), which is critical behavioral context. No contradiction with readOnlyHint or destructiveHint.

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?

Four focused sentences front-load the core action, then explain failure semantics, then give concrete usage examples. No filler or redundancy; every sentence contributes distinct useful information.

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?

With no output schema, the description compensates by explaining the partial-failure response structure and how to inspect per-device errors. Combined with the fully documented parameters and annotations, this is sufficient for correct invocation and interpretation, though a fully specified success response shape is not provided.

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 coverage is 100%, with both deviceIds and authorized already described in the input schema. The description adds no additional parameter-level detail; its extra information is behavioral rather than semantic, so the baseline score 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?

Clearly states the tool authorizes or deauthorizes multiple devices in one call. The verb plus 'multiple devices' and 'bulk' title differentiate it from the single-device tailscale_authorize_device and tailscale_deauthorize_device siblings without ambiguity.

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?

Provides explicit common use cases: authorizing a batch of newly-enrolled CI hosts or deauthorizing security-flagged devices. It does not explicitly name the single-device alternatives or say when not to use this tool, but the batch context is clear.

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