Skip to main content
Glama
PainInTheNic

tailscale-mcp-server

by PainInTheNic

Identity of this host

tailscale_whoami
Read-onlyIdempotent

Retrieve the current node's machine and user identity via Tailscale CLI in JSON. Read-only, useful for verifying which account and device you are authenticated as.

Instructions

Show the machine + user identity of this node (tailscale whoami --json). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description's 'Read-only' adds no new safety information. The only extra context is the underlying CLI invocation (`tailscale whoami --json`), which is minor and does not describe output behavior or auth needs beyond what annotations already cover.

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 very short sentences with zero waste; the purpose is front-loaded and the parenthetical CLI hint is appropriately compact.

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, zero-parameter, read-only tool with no output schema, the description gives enough to know what it returns at a high level. It could be slightly richer about what identity fields are included, but nothing essential to calling it correctly is missing.

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?

There are zero parameters, so the schema carries no burden and the baseline is 4. The description adds no parameter information, but none is needed for a parameterless tool.

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 states a specific verb ('Show') and resource ('machine + user identity of this node'), making clear it returns the local node's identity rather than another node's. It does not explicitly name a sibling like tailscale_whois or tailscale_status to sharpen the boundary, but 'of this node' is enough to distinguish it from remote-identity tools.

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 when-to-use or when-not-to-use guidance is given, and no alternatives are mentioned. The agent can infer the purpose from the title, but the description provides no routing information against siblings such as tailscale_status or tailscale_whois.

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