Skip to main content
Glama

List Invites

list_invites
Read-only

List the invitations the current organization has SENT (GET /api/invites) — pending and recently expired ones. Each carries invite_id, the invited email, the role offered, status (pending | expired), when it was created, when it expires, and who sent it. invite_id is exactly the value cancel_invite requires, so call this first to revoke an invite. An accepted invite is no longer listed here — it shows up in list_members instead. The single-use accept token is deliberately NOT returned: anyone holding it could join the organization. To re-send an invite, cancel it and call send_invite again. This route needs an ADMIN role — a viewer or contributor gets a permission error, which is a role problem, not a missing-connector problem. An empty list is normal. Filter with status, cap with limit, and use response_format="concise" (default) or "detailed". Read-only. Example: { "status": "pending" } returns every invite still awaiting acceptance, with the ids needed to cancel them.

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": "list_invites"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (default: no cap beyond the truncation guard).
statusNoFilter client-side to one status. "pending" = still acceptable; "expired" = past its expiry. Omit for both (the only two the endpoint returns).
response_formatNoconcise = key fields only (default, lower token cost); detailed = the full parsed payload.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that the single-use accept token is deliberately excluded and why, that an empty list is normal, and that ADMIN role is required. These are exactly the behavioral facts an agent cannot derive from the structured fields.

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?

Front-loaded with what is listed and the key downstream use, then packed with distinct facts each carrying new information. Minor waste: "Read-only." duplicates the readOnlyHint annotation and the response_format values are restated from the schema.

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?

Even without an output schema, the description enumerates the returned fields (invite_id, email, role, status, created/expires, sender), so an agent knows what comes back. For a zero-required-parameter list tool, nothing material 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?

Schema coverage is 100%, so the baseline is 3 and the description mostly restates the `status` filter and `response_format` default already in the schema. It does add value with a worked example ({ "status": "pending" }) tying the filter to the cancel workflow, though it adds no syntax beyond what the schema documents.

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 and resource with scope: invitations the organization has SENT, pending and recently expired, plus the underlying route (GET /api/invites). It explicitly distinguishes the resource from list_members by noting accepted invites are no longer listed here.

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?

Gives explicit sequencing (call this first to revoke, because `invite_id` is what `cancel_invite` requires) and a real alternative path for re-sending (cancel then send_invite). It also warns that viewers/contributors get a permission error that is a role problem, not a connector problem, which prevents a common misdiagnosis.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources