Skip to main content
Glama
YawLabs

@yawlabs/tailscale-mcp

by YawLabs

tailscale_set_device_posture_attribute

Idempotent

Set custom posture attributes on devices for compliance tracking, JIT access, and custom security policies. Attribute keys must start with 'custom:'.

Instructions

Set a custom posture attribute on a device. Creates or updates the attribute. Attribute keys must start with 'custom:'. Useful for compliance tracking, JIT access, and custom security policies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesThe attribute value (string, number, or boolean)
expiryNoOptional expiry time in RFC3339 format (e.g. '2026-12-01T00:00:00Z'). Attribute is automatically removed after expiry.
deviceIdYesThe device ID
attributeKeyYesThe attribute key (must start with 'custom:', e.g. 'custom:lastAuditDate')
Behavior3/5

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

Annotations already provide idempotent, non-destructive hints. Description adds 'Creates or updates' which aligns with idempotency but does not introduce new behavioral details beyond the schema's key constraint.

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

Conciseness4/5

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

Three sentences covering purpose, behavior, and key constraint/use cases. Efficient with no unnecessary words.

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?

Given the complexity (4 params, no output schema, sibling tools), the description covers essential aspects: what it does, key constraint, and use cases. Lacks error/return info but sufficient for basic selection.

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?

All parameters are described in the schema (100% coverage). The description only repeats the key prefix rule already in the schema, adding no additional meaning.

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 sets a custom posture attribute on a device, distinguishing it from related tools like get/delete posture attributes. The verb 'Set' and resource 'custom posture attribute' are specific.

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

Usage Guidelines3/5

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

Mentions use cases (compliance tracking, JIT access, custom policies) but does not explicitly guide when to use this vs. alternatives such as batch_update_posture_attributes. Usage context is implied but not directive.

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