Skip to main content
Glama

List invitations

invite_list
Read-onlyIdempotent

List open Tailnet user invites and TSLink-owned device invites to find invite IDs before revoking or resending. Reads the Tailscale API and sends nothing; complete false means a device check failed.

Instructions

List open tailnet user invitations and TSLink-owned device invitations. Use this before invite_revoke or invite_resend to find an invite id; it reads the Tailscale API and sends nothing. complete false means at least one device could not be checked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
show_urlsNoInclude bearer invite URLs. They are redacted by default because anyone holding one can accept the invitation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
completeYesFalse when at least one TSLink-owned device could not be checked; device_targets carries the per-service reason.
user_invitesYes
device_invitesYes
device_targetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is low; the description still adds real value by noting it 'reads the Tailscale API and sends nothing' and disclosing partial-failure semantics ('complete false means at least one device could not be checked'). It stops short of describing pagination or result ordering, so not a 5.

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?

Three short sentences: what it lists, when to use it, and a caveat about the complete flag. Front-loaded with the core purpose and no filler.

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?

An output schema exists, so return values need no explanation. The description covers scope, the discovery workflow it enables, safety (reads only), and the one non-obvious result caveat, which is everything an agent needs to call it correctly.

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?

Schema description coverage is 100% and the single parameter (show_urls) already carries a thorough redaction rationale in the schema itself. The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb (list) and two clearly scoped resources (tailnet user invitations, TSLink-owned device invitations). This cleanly separates it from the sibling invite_* tools, which create, revoke, or resend rather than enumerate.

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

Usage Guidelines5/5

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

Explicitly routes usage: 'Use this before invite_revoke or invite_resend to find an invite id.' It names the two dependent siblings and the condition (need an invite id) that selects this tool, leaving nothing to inference.

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