Skip to main content
Glama
YawLabs

@yawlabs/tailscale-mcp

by YawLabs

Set service device approval

tailscale_set_service_device_approval
Idempotent

Approve or reject a device to host a Tailscale service, using the service name and device ID to manage access.

Instructions

Approve or reject a device to host a Tailscale Service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approvedYesWhether to approve (true) or reject (false) the device
deviceIdYesThe device ID. nodeId from tailscale_list_devices (e.g. nPM2KNuedB21DEVEL); numeric id ok; not the nodeKey.
serviceNameYesThe service name

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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the domain context of approving a device for a service, but does not disclose side effects, reversibility, or permission requirements. Given the annotations, the description provides minimal additional behavioral insight.

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?

A single sentence that states the action and target resource with zero fluff. It is front-loaded with the verb and immediately clear. No wasted words.

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 write operation with three fully documented parameters and annotations covering safety, the description is minimally sufficient. However, it lacks any note about prerequisites, post-condition effects, or when this tool is preferred over similar authorization tools. Given the simplicity, it is adequate but not comprehensive.

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%, so all three parameters are documented in the schema. The deviceId description is notably rich (source, example, exclusions). The tool description itself adds no parameter-level meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 uses a specific verb 'Approve or reject' and a clear resource 'a device to host a Tailscale Service.' It is unambiguous about the action. However, it does not explicitly differentiate from sibling tools like tailscale_authorize_device or tailscale_set_devices_authorized, which could be confused with this service-specific approval.

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 provided on when to use this tool versus alternatives. There is no mention of context (e.g., 'use this for service-level approval, not device authorization') or exclusions. The agent must infer its purpose from the name and schema.

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