Skip to main content
Glama
Unstop MCP Server

Unstop MCP Server

by vinoth322006

Cancel a registration

cancel_registration
DestructiveIdempotent

Cancels a user's registration for an opportunity and withdraws the user and their team; confirm with the user before proceeding.

Instructions

Cancel the user's registration for an opportunity (withdraws them and their 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": {
      "opportunity": "<opportunity>"
    },
    "name": "cancel_registration"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
urlNo
titleYes
messageYes
team_idNo
completeNoFalse = Unstop still needs something (e.g. teammates)
registeredYes
opportunity_idYes
registration_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description still adds real value by revealing the cascade effect ('withdraws them and their team') and mandating user confirmation, neither of which appears in the annotations or schema. It is silent on what happens when no registration exists, but that is a minor omission given the annotation coverage.

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?

Two short sentences, front-loaded with the action and its scope, followed by the confirmation requirement. No redundant restatement of the title and no filler.

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 one required parameter fully documented in the schema and an output schema present, the description covers what an agent needs: the effect scope and the confirmation precondition. The only shortfall is not clarifying the error/behavior when the user has no active registration, which matters for an idempotent-flagged cancel.

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 is fully documented in the schema, including the accepted id/URL forms. The description adds nothing beyond that, so the baseline 3 is appropriate.

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?

The description uses a specific verb and resource ('Cancel the user's registration for an opportunity') and adds the scope of effect ('withdraws them and their team'), which makes it distinguishable from register_for_opportunity and leave_team. It stops short of naming any sibling or contrasting case explicitly, so it is clear but not maximally differentiating.

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 a concrete usage precondition — 'Confirm with the user first' — which is exactly the kind of guidance an agent needs before a destructive call. It does not address the adjacent cases an agent might confuse it with, such as withdrawing only the team (leave_team) versus cancelling the registration itself, so a mild gap remains.

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