Skip to main content
Glama

respond_to_team_invitation

Destructive

Accept or reject a pending team invitation the user has received (invitationId is the _id from list_team_invitations). Rejecting declines it for good; the team would have to invite the user again. Accepting cannot be fully undone: the user joins the inviting team with the invited role; their own team is set aside until they leave and the invitations it had sent stop working; their credit balance is reset, with unused credits from a paid plan or bought credit packs moving to the inviting team's owner and free or trial credits lost; any paid FuseAI subscription they hold is cancelled with FuseAI's billing provider, Stripe, and will not renew; they are signed out of their FuseAI sessions; and a background job copies the team owner's contact enrichments onto their contacts. Accepting is refused if the user is already a member of another team, still has members on their own team, holds a lifetime deal, or the inviting team has no free seat.

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": {
      "invitationId": "<invitationId>",
      "action": "<action>"
    },
    "name": "respond_to_team_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
invitationIdYesThe invitation's _id (a 24-hex id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the destructiveHint annotation, spelling out that rejecting is permanent and acceptance cannot be fully undone: team switch, own team set aside, pending invitations voided, credit reset including where paid versus free credits go, Stripe subscription cancelled, sessions signed out, and a background enrichment copy. It also lists the refusal conditions for acceptance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, followed by consequences and then preconditions in a logical order. It is a dense, long single paragraph, but nearly every clause carries decision-relevant information about irreversibility or refusal.

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?

Given a destructive, irreversible, multi-system operation with only two parameters and no output schema, this defines everything an agent needs: side effects, irreversibility, credit and billing implications, and ineligibility conditions.

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 only 50%, but the description compensates by explaining that invitationId is the `_id` from list_team_invitations and by giving substantive meaning to each enum value of action (what accept does versus what reject does). The mechanics of the values are fully covered, though the ID format itself is left to the schema.

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 pair and resource: 'Accept or reject a pending team invitation the user has received'. It also pins down that invitationId comes from list_team_invitations, cleanly separating it from that sibling.

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 clear preconditions and explicitly names four conditions under which acceptance is refused (already on another team, own team still has members, lifetime deal, no free seat). It also points to list_team_invitations for the ID, though it doesn't contrast with other respond_* siblings such as respond_to_linkedin_invitation.

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.