Skip to main content
Glama

Check TSLink status

status
Read-onlyIdempotent

Check local TSLink daemon, stored-credential, node-authorization, and service-count state before retrying a share or diagnosing why a URL is not ready; pending needs_login includes auth_url.

Instructions

Report local TSLink daemon, stored-credential, node-authorization, and service-count state. Use this before retrying a share or when diagnosing why a URL is not ready; a pending needs_login handoff includes auth_url even if the daemon stopped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNo
alertsNoRecent durable alert events; destination is redacted.
portalNoHome portal state and exact URL.
statusNo
auth_urlNo
servicesNo
access_logNoLocal access-log health: last_write, drops, size_bytes and error.
credentialsNoValue-free stored expiry metadata and early warnings; assumed expiry remains identified.
guest_linksNo
supervisionNoVerified manager, autostart, restart policy, and diagnostic evidence.
daemon_stateYesrunning: a verified daemon runs; absent: no daemon runs for this config directory (no PID file, or its process is gone); unknown: a PID file exists but its process could not be verified either way.
mcp_bindingsNo
authenticatedYesTrue when at least one service node is authorized on the tailnet, the same fact as node_authorized and the same meaning as in tslink status --json; a stored credential alone (credential_stored) never makes it true.
service_countYes
daemon_runningYes
node_authorizedYes
credential_storedYes
authorized_service_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description still adds value beyond them by disclosing that a pending needs_login handoff carries auth_url even after the daemon stops — a non-obvious behavioral fact an agent would otherwise learn only by calling.

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?

Two sentences, the report scope front-loaded and the usage trigger second. The final clause is dense (two conditions joined by a semicolon) but every phrase carries information; nothing is redundant padding.

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?

An output schema exists, so return values need not be explained, and the description focuses on scope plus invocation timing. Combined with annotation-encoded safety, an agent has enough to call it correctly, with only the sibling-routing gap remaining.

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?

The tool takes zero parameters, so this dimension defaults to the baseline 4. The description correctly adds no parameter prose, and nothing about the empty object schema is left ambiguous.

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 ("Report") and enumerates the exact resources inspected: local daemon, stored credentials, node authorization, and service-count state. An agent can tell what it returns without opening the schema, though it never names or distinguishes itself from plausible siblings like doctor, health, or logs.

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?

Gives concrete triggers: "Use this before retrying a share or when diagnosing why a URL is not ready." That covers when-to-use well, but there is no when-not guidance and no explicit routing to alternative diagnostics such as doctor or health.

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