Skip to main content
Glama

Withdraw strategy from arena (moves funds)

withdraw_arena_strategy
Destructive

⚠️ Moves funds: this liquidates the arena wallet and transfers all holdings back to the owner's wallet. Withdraw from the arena — transfers all holdings back to the owner's custodial wallet and deactivates the arena strategy. Only the strategy owner can withdraw.

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": {
      "strategyId": "<strategyId>"
    },
    "name": "withdraw_arena_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
strategyIdYesThe strategy ID to withdraw from the arena

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety bar is lower, yet the description still adds real value: it discloses that the arena wallet is liquidated, that all holdings move to the owner's custodial wallet, that the strategy is deactivated, and that owner authorization is required. It does not state whether a repeat call fails or what happens to open positions, but the fund-movement and permissions picture is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The warning emoji and lead phrase correctly front-load the fund-movement risk, but the core fact is stated twice: 'transfers all holdings back to the owner's wallet' appears in the warning and again in the following sentence. Removing the duplication would make this a tight two-sentence definition.

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 destructive two-parameter tool with no output schema and annotations already flagging destructiveness, the description covers the essentials an agent needs: what is destroyed, where the funds go, and who may call it. Missing details such as idempotency on repeat calls and the post-withdrawal state of the strategy are minor gaps rather than blockers.

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%, so both userId and strategyId are already documented in the schema, including the OAuth-vs-API-key fallback for userId. The description adds no format, constraint, or meaning beyond noting the owner restriction. Baseline 3 is appropriate when the schema carries the parameter burden.

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 names a specific verb and resource (withdraw a strategy from the arena) and spells out the concrete effect: liquidate the arena wallet, transfer holdings to the owner's custodial wallet, deactivate the strategy. That is far more specific than the title alone. It stops short of distinguishing this from the sibling delete_strategy, so an agent must infer the difference between withdrawing and deleting.

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

Usage Guidelines3/5

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

It supplies a precondition ('Only the strategy owner can withdraw') which helps an agent decide whether the call can succeed, but gives no explicit when-to-use / when-not-to-use guidance and never contrasts itself with the withdraw-adjacent siblings. Usage is implied by the 'arena' scope rather than stated.

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.