Skip to main content
Glama

Delete Team Invite

deleteTeamInvite
DestructiveIdempotent

Revoke a pending invitation so its link and email can no longer be used. Accepts either a team invitation (requires Superadmin or above on the invitation's team) or a Clarity process invitation (requires the process creator or a team admin). Revoking one side also revokes its linked counterpart when a process invitation created both. An invitation already accepted or declined is refused with 409, including one accepted a moment before, and process access the invitee already holds through an earlier acceptance is kept, so revoking never undoes an acceptance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the invitation to revoke. Accepts either a team invitation or a Clarity process invitation.
team_idNoDuvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Discloses key behaviors beyond annotations: that accepted/declined invites are refused, that revoking one side of a linked pair also revokes the other, and that previously-accepted access is retained. Annotations already show destructiveHint=true and idempotentHint=true, but the description adds crucial nuance about side effects and edge cases.

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 sentences, each dense with critical information. No fluff. The most important behavioral notes (what happens when accepted/declined) are front-loaded. Each sentence earns its place.

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?

Comprehensive for a two-parameter tool with no output schema. Covers acceptance states, cross-revocation, access retention, and permission requirements. No missing pieces an agent would need to decide correctness.

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?

The schema already describes both parameters (id and team_id) with high coverage (100%). The description confirms the id accepts either type and adds context on team_id's fallback behavior (already in schema). It adds marginal value by reinforcing the dual-type acceptance.

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 ('revoke') and resource ('pending invitation'), and clearly specifies the two types it accepts (team invitation or Clarity process invitation). The distinction from siblings like deleteClarityProcessInviteLink and deleteTeamInviteLink is implicit but clear due to the 'pending invitation' framing.

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?

Explicitly states when to use: for revoking pending invitations, and distinguishes behavior for accepted/declined invitations (refused with 409). It implies the alternative is createTeamInvite or bulkCreateTeamInvites, and notes the dual-sided revocation. No exclusions needed because it is a targeted delete operation.

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