Skip to main content
Glama

Get invitation

get_invitation
Read-only

Fetch the public summary of one invitation: id, invited email, organization name and when it was sent. It does not include role, status or profiles; list_invitations has those. Returns 404 for an unknown id and 410 once the invitation is more than 7 days old. Use it to check that an invitation link is still valid.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe invitation's id (UUID) from list_invitations or create_invitation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses error semantics an agent cannot get elsewhere: 404 for unknown ids and 410 once the invitation exceeds 7 days. It also states what is deliberately excluded from the payload, preventing downstream assumptions about role or status fields.

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 tight sentences: payload scope first, exclusions/sibling second, error contract and use case last. No filler and no repetition of the title or annotations.

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?

With a single fully documented parameter and no output schema, the description carries the return shape and the failure modes (404/410, 7-day expiry) itself. An agent has everything needed to call it and interpret the outcome.

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%, and the schema already explains the id is a UUID sourced from list_invitations or create_invitation. The description adds no format, sourcing, or edge-case guidance about the id beyond what the structured field provides, so the baseline 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?

The description names a specific verb and resource ('Fetch the public summary of one invitation') and enumerates exactly what comes back (id, invited email, organization name, sent time). It also explicitly delimits scope against the sibling 'list_invitations', which carries role, status and profiles.

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?

It gives a concrete use case ('Use it to check that an invitation link is still valid') and routes the agent to list_invitations when role/status/profiles are needed. It stops short of an explicit when-not rule (e.g. use list_invitations for browsing), but the differential is clear.

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