Skip to main content
Glama
Unstop MCP Server

Unstop MCP Server

by vinoth322006

Leave a team

leave_team
DestructiveIdempotent

Remove yourself from a team you joined by supplying the opportunity ID or Unstop URL; members only. Leaders should use cancel_registration to withdraw instead.

Instructions

Leave a team the user joined (members only; a leader withdraws with cancel_registration).

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": {
      "opportunity": "<opportunity>"
    },
    "name": "leave_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
opportunityYesOpportunity id (e.g. '1817824') or its unstop.com URL

Output Schema

NameRequiredDescriptionDefault
okYes
urlNo
messageYes
opportunity_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is carried by structured data. The description adds a non-obvious eligibility constraint (members only, leaders excluded) that is not encoded anywhere in the schema. It stops short of stating the consequence of leaving (lost membership, need to rejoin), which is why it is not a 5.

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?

A single front-loaded sentence with the eligibility constraint and the alternative tool packed into a parenthetical, with no filler. Slightly terse, but every clause earns its place.

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 tool with full schema coverage, an output schema, and annotations covering the destructive/idempotent profile, the description supplies the one piece the structured data cannot: who is allowed to call it. Only the post-leave effect on the user's team state is left 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 description coverage is 100% and the single opportunity parameter already documents both the raw id format and the URL alternative. The description adds no additional meaning about the parameter, so the baseline of 3 applies.

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 (leave) and resource (a team the user joined), and immediately bounds it to members. The parenthetical names the sibling (cancel_registration) used by leaders, so the agent can distinguish this from the adjacent cancellation tool without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition (user joined as a member) and an explicit when-not with the correct alternative (a leader must use cancel_registration). This is a complete routing instruction for the main ambiguity this tool has.

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