Skip to main content
Glama
YawLabs

@yawlabs/tailscale-mcp

by YawLabs

tailscale_batch_update_posture_attributes

Idempotent

Batch update custom posture attributes across multiple devices using JSON Merge Patch semantics, enabling efficient setting or deletion of attributes in one operation.

Instructions

Batch update custom posture attributes across multiple devices. Each attribute key must start with 'custom:'. Uses JSON Merge Patch semantics — pass null as the attribute config to delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodesYesMap of device ID to attribute config map (e.g. { "12345": { "custom:compliant": { "value": "true" } }, "67890": { "custom:compliant": { "value": false, "expiry": "2026-12-01T00:00:00Z" } } }). Pass null as the config to delete an attribute.
commentNoOptional comment added to the audit log explaining why attributes are being set (max 200 chars)
Behavior5/5

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

The description adds significant behavioral context beyond annotations: it explains that the tool uses JSON Merge Patch semantics (implying idempotent behavior) and that passing null deletes an attribute. This aligns with the idempotentHint (true) and destructiveHint (false) annotations and provides practical guidance.

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?

The description is three sentences long with no redundant information. It front-loads the core purpose ('Batch update custom posture attributes across multiple devices') and efficiently adds key rules and semantics.

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?

The description does not mention the return value or response format (e.g., whether it returns a map per device). For a batch operation without an output schema, this omission could leave agents unsure how to interpret the result. Additionally, it does not cover authorization or rate limits, but those may be implied by annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the input schema has 100% parameter coverage (baseline 3), the description adds meaning by specifying that attribute keys must start with 'custom:' and that null deletes an attribute. It also clarifies that the patch semantics are JSON Merge Patch, which helps agents understand how to structure updates (partial vs full replacement).

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?

The description clearly states the action (batch update), resource (custom posture attributes across multiple devices), and specifies key format ('custom:') and semantics (JSON Merge Patch). It distinguishes from sibling tools like tailscale_set_device_posture_attribute (single device) by highlighting the batch aspect.

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?

The description provides clear context for when to use this tool (batch updates) and how to use it (JSON Merge Patch, null to delete). However, it does not explicitly state when not to use it or compare to alternatives like the single-device posture attribute tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YawLabs/tailscale-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server