Skip to main content
Glama
Unstop MCP Server

Unstop MCP Server

by vinoth322006

Answer a team invitation

respond_to_invitation

Accept or decline a received team invitation by ID; accepting joins the team, so confirm with the user before responding.

Instructions

Accept or decline an invitation the user received (id from team_invitations.invitations_received). Accepting joins that team. Confirm with the user first.

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>",
      "accept": "<accept>"
    },
    "name": "respond_to_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
acceptYestrue = join that team, false = decline
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 readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is known. The description usefully adds the real-world side effect ('Accepting joins that team') and a user-confirmation requirement that the non-destructive annotation might otherwise understate. It does not say what happens on expired or already-answered invitations, nor whether the action is reversible via leave_team.

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?

Three short sentences with zero filler; the effect of accepting is front-loaded before the confirmation caveat. Tight and appropriately sized for a two-parameter action.

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?

With an output schema present and full schema coverage on two required params, the description only needs to cover side effects and preconditions, which it does. Minor remaining gap: failure modes (expired/revoked invitation, already a member) are unstated.

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 100% and the accept field is already documented as 'true = join that team, false = decline', so the schema carries most of the meaning. The description's only added value is the provenance of invitation_id, which duplicates the schema's 'Id from team_invitations' with marginally more specificity.

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 pair (accept/decline) and resource (an invitation the user received), plus the concrete effect 'Accepting joins that team'. It does not name the sibling it is not — e.g. respond_to_join_request or cancel_invitation — so differentiation is left partly to inference.

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?

The parenthetical names the exact source of the id (team_invitations.invitations_received), which tells the agent how to obtain the input, and 'Confirm with the user first' sets a clear precondition before invoking. It stops short of explicit when-not guidance or naming alternatives such as cancel_invitation for the sender side.

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