Skip to main content
Glama

Dievio

Cancel Team Invitation

cancel_team_invitation
DestructiveIdempotent

Owner-only: cancel a pending invitation by its ID.

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": {
      "request_id": "<request_id>",
      "invite_id": "<invite_id>"
    },
    "name": "cancel_team_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
invite_idYes
request_idYesStable idempotency UUID. Reuse with identical arguments on retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=false, so the safety profile is covered. The description adds the non-obvious authorization requirement ('Owner-only') and the state constraint ('pending'), which are real behavioral facts not expressed in structured 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?

A single short sentence with the authorization constraint front-loaded and zero filler. Nothing is padded and nothing essential is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, the description covers who can call it and which resource state it applies to, but says nothing about the effect on the invitee (e.g., is the invitation link invalidated, is a notification sent) or failure modes. Adequate, with clear gaps.

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 50% – request_id is fully documented in the schema as an idempotency UUID, while invite_id has only its UUID pattern. The description's 'by its ID' adds nothing beyond the schema, so the baseline 3 applies.

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 ('cancel a pending invitation') and distinguishes itself from sibling team tools like invite_team_member and remove_team_member by scoping to pending invitations rather than members. Clear, though it does not explicitly name the siblings it differs from.

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?

'pending invitation' and 'Owner-only' imply the preconditions for use, but the description never says what to do when the invitation is already accepted or expired, nor points to an alternative tool. Implied rather than explicit guidance.

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