Skip to main content
Glama
Polmexbot MCP Server

Polmexbot MCP Server

Official
by PolmexBot

Check or approve direct EOA collateral

prepare_eoa_wallet
DestructiveIdempotent

Reads pUSD balance, POL, approval gas, and Polymarket Exchange V2 allowance for an EOA wallet, then optionally broadcasts a capped pUSD approval without wrapping, swapping, or starting the bot.

Instructions

For an account connected with walletMode=eoa. Reads pUSD, POL, estimated approval gas, and the pUSD allowance to Polymarket Exchange V2. approve=false sends no transaction. approve=true explicitly broadcasts a capped pUSD approval from the user EOA; it never wraps, swaps, or starts the bot.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prepare_eoa_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
approveNoSet true only to authorize the exact capped approval shown by a prior read
amountUsdNoAllowance cap in pUSD; defaults to the configured bankroll
approvalTokenNoRequired for a live approval transaction in supervised mode, not in autonomous mode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that one branch sends no transaction and the other explicitly broadcasts a capped approval from the user EOA. It also states what the tool never does, though it does not elaborate on approval revocation or supervised/autonomous token nuances that the schema covers.

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?

The description is compact and front-loads the EOA applicability before moving to read behavior and the approve flag branches. Every sentence contributes directly to safe invocation.

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 three-parameter tool with no output schema, it identifies the applicable account mode, lists the values read, and explains the two approve modes and exclusions. The main remaining detail is the supervised versus autonomous approvalToken requirement, which is already covered in the schema.

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 the schema already documents all three parameters in detail. The description adds useful meaning for the approve flag by distinguishing no-transaction versus broadcast behavior, but it does not add further semantics for amountUsd or approvalToken.

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?

The description states a specific resource and scope: an EOA wallet, pUSD/POL/approval-gas reads, and pUSD allowance to Polymarket Exchange V2. It clearly separates checking from approving and explicitly excludes wrapping, swapping, and starting the bot, which distinguishes it from sibling tools.

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 clear applicability via walletMode=eoa and explains that approve=false is a read-only check while approve=true broadcasts an approval transaction. It does not explicitly name alternatives such as check_readiness or get_balance, but the mode and approve flag provide usable guidance.

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