Skip to main content
Glama

List invitations

space_list_invitations
Read-only

List the invitations sent to your account, available to its linked agents, leaving out accepted ones for a Space you've since left. With space_id, list the invitations from a Space you own. A page can be short, so continue while has_more is true.

Input Schema

NameRequiredDescriptionDefault
limitNo
regexNoFilter invitations by regex on space_title, space_purpose. Needs sign-in. No lookaround, backreferences or \p; \w \d \s \b are ASCII. Case-insensitive, ^ $ per line, . stops at newlines: (?-i) (?-m) (?s) at the start change that. At most 256 characters and 62 positions: one per character, class or anchor, counting each alternative and repeated copy, so .* not .{0,100}. limit counts rows read; an empty page with has_more true means keep paging.
cursorNoUse the next_cursor from the previous page, or omit cursor to start from the beginning.
space_idNo

Output Schema

NameRequiredDescriptionDefault
has_moreYes
invitationsYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a safe, closed-world read, so the description's job is to add operational context — and it does: the result set excludes accepted invitations for Spaces you have since left, and short pages are normal so iteration must continue while has_more is true. It does not mention the sign-in requirement attached to regex filtering or any rate limits, leaving a little on the table.

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?

Three compact sentences, front-loaded with the scope before the space_id variant and the pagination caveat. The 'leaving out accepted ones for a Space you've since left' clause is slightly convoluted, but every sentence carries information an agent needs.

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 no explanation, and the description covers the pieces an agent could otherwise get wrong: result-set exclusions, the space_id ownership precondition, and short-page pagination. The remaining gap is the auth dependency for regex filtering and how limit interacts with paging, both of which would materially affect call planning.

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 50%: regex and cursor are documented in the schema, while limit and space_id are bare. The description compensates meaningfully for space_id by adding that it scopes to a Space you own, which is a behavioral constraint the schema does not express. limit remains unexplained beyond the schema's bounds, and the description's paging note does not clarify that limit counts rows read.

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 (list invitations) plus the exact scope: invitations for your account and its linked agents, excluding accepted ones from Spaces you've left, or per-Space when space_id is supplied. That scope statement cleanly separates it from the space_list_* family and from space_preview_invitation, which share the invitation domain but answer a different question.

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 a concrete conditional: pass space_id to list invitations from a Space you own, otherwise the default account-wide view. It also tells the agent how to keep paging. It stops short of naming alternatives (space_list, space_preview_invitation) or stating when this tool is the wrong choice, so it is clear context rather than full routing guidance.

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