Skip to main content
Glama
Unstop MCP Server

Unstop MCP Server

by vinoth322006

Cancel an invitation

cancel_invitation
DestructiveIdempotent

Withdraw a previously sent team invitation by providing its invitation ID, reversing the invite and preventing the recipient from joining.

Instructions

Withdraw an invitation the user's team sent (id from team_invitations.invitations_sent).

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": {
      "invitation_id": "<invitation_id>"
    },
    "name": "cancel_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
invitation_idYesId from team_invitations

Output Schema

NameRequiredDescriptionDefault
okYes
urlNo
messageYes
opportunity_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is carried by structured data. The description adds the useful detail that the operation applies to invitations sent by the user's team and points at the source table, but says nothing about authorization requirements or what happens to an invitation that is no longer pending.

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?

One front-loaded sentence with a parenthetical clarifying the id's origin; there is no filler or redundant restatement of the annotations.

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 one-parameter destructive mutation with full schema coverage, an output schema, and annotations that already flag destruction and idempotency, the description covers purpose and id provenance. The remaining gap is authorization and pending-vs-accepted state, which is minor at this complexity.

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%, so the single parameter is already documented as an id from team_invitations with a positive-integer constraint. The description only mildly extends this by naming the view path team_invitations.invitations_sent, which is a marginal gain over the schema.

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?

States a specific verb and resource ('Withdraw an invitation') and scopes it to invitations 'the user's team sent', which separates it from invite_teammate and respond_to_invitation by implication. It does not name a sibling explicitly, so it stops short of a 5.

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?

The scope phrase implies usage (you may only withdraw invitations your own team sent), but there is no explicit when-to-use or when-not-to-use guidance, nor any stated prerequisites such as admin permissions or the fact that an already-accepted invitation presumably cannot be cancelled.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.