Skip to main content
Glama

leave_game

Destructive

Withdraw your pending or rejected game membership before approval; withdrawal is not allowed once the membership is approved.

Instructions

Withdraw current membership while Pending/Rejected; upstream forbids withdrawal after approval.

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": {
      "game_id": "<game_id>"
    },
    "name": "leave_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds state-based preconditions and an upstream constraint that go beyond the annotations and directly affect whether an agent should call. It still does not say what happens to the membership record (deleted vs. marked left) or what error surfaces when the precondition fails.

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?

A single compact sentence that front-loads the action and the precondition, with no redundant restatement of the tool name or title. Every clause carries decision-relevant information.

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?

An output schema exists, so return values need not be explained, and with only one self-descriptive parameter the remaining gaps are minor. The precondition and its upstream constraint make the definition sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for the single parameter, and it never explains game_id — no format, no meaning beyond the parameter name. The phrase 'current membership' does imply the operation targets the caller's own membership in that game, which is a small but real addition.

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 and resource — 'Withdraw current membership' — which unambiguously identifies the operation and implicitly distinguishes it from the joining counterpart. It does not name any sibling explicitly, so sibling differentiation is inferred from the membership semantics rather than stated.

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 eligibility window ('while Pending/Rejected') and an explicit exclusion ('upstream forbids withdrawal after approval'), so an agent knows both when the call will succeed and when it will fail. No alternative tool is named for the post-approval case, but the when/when-not guidance is clear.

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