Skip to main content
Glama
tailnet-agent-mcp
by MC-intel

device_info

Read-only

Retrieve full details for one Tailscale device by hostname, MagicDNS name, or IP, including addresses, OS, owner, tags, online state, endpoints, key expiry, traffic, SSH, and configured access.

Instructions

Full details for one device (hostname, MagicDNS name or tailnet IP): addresses, OS, owner/tags, online state, endpoints, key expiry, traffic, Tailscale SSH, and this server's configured access for it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device": "<device>"
    },
    "name": "device_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows this is a safe external read and the description adds nothing on the safety side. Most of the added text is a field inventory of the return payload, which an output schema already covers. No mention of what happens for an unknown or ambiguous device identifier.

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?

One sentence with the core purpose front-loaded and the identifier forms attached to the resource rather than buried. The long comma-separated field list is the weakest part, since it duplicates what the output schema can show, but it does not obscure the main claim.

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 single-parameter read tool with an output schema and readOnly/openWorld annotations, the description covers purpose and argument format adequately. The only real gap is lookup failure behavior (no such device, ambiguous match), which matters for a name-or-IP identifier.

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?

Schema coverage is 0% — the single 'device' parameter has no description at all — so the description carries the burden. It does so well by specifying accepted identifier forms (hostname, MagicDNS name, or tailnet IP), which is the only non-obvious detail about how to supply this argument.

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?

States a specific verb and resource: 'Full details for one device', and the parenthetical lists the identifier forms it accepts. It is clearly narrower than a tailnet-wide sibling like tailnet_status, but the description never names or contrasts an alternative, so sibling differentiation is only inferable from scope rather than stated.

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?

Usage is implied by the enumeration of what is returned (addresses, OS, key expiry, SSH, access config) — an agent can infer 'call this when you need per-device detail'. There is no explicit when-to-use, when-not, or pointer to an alternative when the device lookup itself is the wrong step.

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