Skip to main content
Glama

Check TSLink status

status
Read-onlyIdempotent

Reports daemon, credential, node-authorization, and service-count state to diagnose an unready share URL; pending login handoffs include auth_url even if the daemon stopped.

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output 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. Changed1 schema field changedv0.4.0
    • addedOutput schema / properties / services / items / properties / authorized
      Added value: +{
      +  "description": "This service counts toward authorized_service_count: its node runs, or, for a portal-only app, its gateway route runs.",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds genuinely useful behavior beyond that: a `needs_login` state surfaces an `auth_url` even if the daemon stopped, which is non-obvious diagnostic payload detail an agent could not guess from annotations alone.

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 sentences, front-loaded with what is reported, then when to reach for it and a subtle output caveat. Every clause carries information; nothing is padding or a restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-argument status tool with full annotation coverage and a declared output schema, the description need only cover what is inspected and when to call it — both are present, plus an edge case about the login handoff. Nothing an agent needs in order to call this 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline applies. The description spends no words restating schema content, which is the right call for an empty input object.

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?

Specific verb ("Report") plus an enumerated scope: daemon, stored-credential, node-authorization, and service-count state, which tells an agent exactly what lens this tool gives. It does not differentiate itself from near-neighbors like `health` or `doctor`, so an agent must infer the boundary between them.

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?

"Use this before retrying a share or when diagnosing why a URL is not ready" gives concrete triggering conditions and implicitly routes against the `share`/`url` verbs. It stops short of stating when this tool is the wrong choice or naming the alternatives outright.

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