Skip to main content
Glama

List pending invitations

list_invitations
Read-onlyIdempotent

List invitations that were sent but not accepted yet, with the email, role, who sent it, and when it expires. Use an id here with cancel_invitation.

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_invitations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 100)
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by defining the filter (pending only) and the shape of each row (email, role, inviter, expiry), which an agent needs to interpret results. It stops short of describing ordering or how limit interacts with paging, but the schema covers limit.

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, no filler. The scope constraint and return fields come first, and the follow-up action is placed last where it reads as a next step rather than a precondition.

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?

For a two-parameter read tool with no output schema, the description does the essential work of naming the returned fields so the agent knows what it gets back. Remaining gaps (result ordering, behavior when more invitations exist than limit) are minor and partly implied by the limit parameter in the schema.

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 workspace_id carries detailed guidance in the schema including the default-to-connected-organization behavior and where to get an id. The description adds nothing about either parameter, so the baseline of 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 and resource with a clear scope qualifier: invitations 'sent but not accepted yet'. It also enumerates the returned fields (email, role, sender, expiry), which lets an agent distinguish this from the sibling list_* tools and from cancel_invitation without opening any schema.

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?

The second sentence establishes a concrete workflow: take an id from these results and pass it to cancel_invitation. That gives clear context for when this tool is the entry point, though it offers no exclusions or note on when listing pending invitations is not appropriate (e.g. accepted/revoked ones).

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