Skip to main content
Glama

Withdraw the match request

withdraw_match_request
Destructive

Withdraw one match request, either a draft or an open one. Always pass its request_id. If it is unclear which one the user means, call check_matches first. The other requests of the user stay active. This voids a pending match from this request. It keeps a match that both people accepted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_idYesThe request_id from create_match_request or check_matches. Always name the exact request that the user approved, or asked you to withdraw.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "request_id": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "const": "withdrawn",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "request_id",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds substantive state-effect detail: sibling requests stay active, a pending match tied to this request is voided, and a mutually accepted match is preserved. These effects go beyond the annotation and answer what actually changes.

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?

Four short sentences, front-loaded with the core action and the fallback to check_matches. Mild redundancy with the schema's own request_id guidance, but nothing wasted.

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 annotations covering the safety profile, an output schema handling returns, and full schema coverage, the description's job is mostly to convey effects and routing – which it does. Missing only explicit reversibility/undo information.

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%, so the schema already fully documents request_id. The description reinforces passing the exact request_id but adds no format or sourcing detail 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (withdraw) and resource (one match request), and scopes it to drafts or open requests. This clearly separates it from siblings like create_match_request and confirm_match_request.

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?

Gives an explicit alternative and condition: when the target request is unclear, call check_matches first. It also clarifies the boundary case that already-accepted matches are kept, so the agent knows not to use it for confirmed matches.

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