Skip to main content
Glama

Cancel an invitation

tarkle_cancel_invitation
Idempotent

Cancel a pending invitation: its link stops working and the seat it held is free again. Only workspace Owners and Admins can. Asks for confirmation first: the first call changes nothing; ask the user, then call again with the same inputs and the confirmationCode from the first answer.

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": {
      "workspaceId": "<workspaceId>",
      "invitationId": "<invitationId>"
    },
    "name": "tarkle_cancel_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
invitationIdYesAn invitationId from tarkle_list_invitations.
confirmationCodeNoThe code from the first answer of this tool for these exact inputs. Send it only after the user approved cancelling this invitation.

Output Schema

NameRequiredDescriptionDefault
cancelledNo
invitationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the two-step confirmation protocol, that the first call is a no-op, and the downstream effect on the invite link and seat. Annotations say idempotentHint=true and destructiveHint=false, which is broadly consistent with a confirm-gated, re-invitable action, though the description never addresses failure cases such as an already-accepted or expired invitation.

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, front-loaded with the effect, then permissions, then the call protocol. No filler and nothing important buried at the end.

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 mutation, permission, and confirmation behavior are all covered. The only gap is what happens when the invitation is no longer pending or the confirmationCode is stale, which matters for a cancel action.

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 100%, so the baseline is 3; the description earns an extra point by explaining the confirmationCode's origin and the requirement that the retry use identical inputs, which is workflow meaning the schema only states tersely.

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 ('Cancel a pending invitation') and immediately gives the concrete effect: the link stops working and the seat is freed. That distinguishes it cleanly from the sibling tarkle_resend_invitation, which acts on the same object.

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 clear precondition (the invitation must be pending) and an authorization constraint (Owners and Admins only), plus the exact call sequence to use. It does not explicitly route the agent away from siblings such as resend_invitation, but the 'pending invitation' framing implies the choice.

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.