Skip to main content
Glama

List pending invitations

list_invitations
Read-onlyIdempotent

List pending workspace invitations, 50 per page. Needs a workspace owner or admin. Returns invitations, hasMore, and nextCursor.

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
limitNoPage size. Default 50.
cursorNonextCursor from the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description still adds authorization requirements (owner/admin) and explicit pagination shape (50 per page, hasMore, nextCursor), which an agent cannot infer from the 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?

Three short sentences, each carrying distinct information: scope, authorization requirement, and return/pagination shape. The scope constraint is front-loaded and nothing is repeated.

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?

With no output schema, the description compensates by naming the returned fields (invitations, hasMore, nextCursor) and the page size. For a simple two-parameter read tool, the only real gaps are what 'pending' excludes and whether results span the whole workspace.

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 coverage is 100%, so both parameters are already documented, including defaults and the meaning of cursor. The description's '50 per page' and mention of nextCursor only restate the schema baseline rather than adding new semantics such as maximum page size or cursor expiry.

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?

The description gives a specific verb and scoped resource: 'List pending workspace invitations', which contrasts with the personal-scope sibling list_my_invitations without naming it. The scope ('workspace', 'pending') is clear enough to distinguish the tool, though no sibling is explicitly called out.

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

Usage Guidelines3/5

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

It supplies a real prerequisite — 'Needs a workspace owner or admin' — which tells the agent whether the caller can succeed. It stops short of saying when to prefer this over list_my_invitations or other invitation surfaces, so the routing decision is only implied by the word 'workspace'.

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