Skip to main content
Glama

polymarket_whale_positions

Identify the largest Polymarket positions by whale wallets, showing active trades over $10k to inform copy-trading decisions.

Instructions

Top Polymarket whale wallets and their current active positions sized >$10k. Copy-trade reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
min_position_usdNo

Implementation Reference

  • Dispatch handler for polymarket_whale_positions — calls backend API endpoint /api/polymarket/whales with provided args via _api_get helper.
    if name == "polymarket_whale_positions":
        return _api_get("/api/polymarket/whales", args)
  • Tool definition with name, description, and inputSchema (accepts optional min_position_usd integer parameter).
    {
        "name": "polymarket_whale_positions",
        "description": "Top Polymarket whale wallets and their current "
                       "active positions sized >$10k. Copy-trade reference.",
        "inputSchema": {
            "type": "object",
            "properties": {
                "min_position_usd": {"type": "integer", "default": 10000},
            },
        },
    },
  • Tool is registered in the TOOLS list alongside other tools, exposed to clients via tools/list.
        {
            "name": "polymarket_whale_positions",
            "description": "Top Polymarket whale wallets and their current "
                           "active positions sized >$10k. Copy-trade reference.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "min_position_usd": {"type": "integer", "default": 10000},
                },
            },
        },
    ]
  • The _api_get helper used by the handler to make HTTP GET requests to the backend API.
    def _api_get(path: str, params: dict | None = None) -> dict:
        if params:
            from urllib.parse import urlencode
            path = f"{path}?{urlencode(params)}"
        req = urllib.request.Request(
            f"{API_BASE}{path}",
            headers={
                "User-Agent": USER_AGENT,
                "Accept": "application/json",
                **({"Authorization": f"Bearer {API_KEY}"} if API_KEY else {}),
            },
        )
        try:
            with urllib.request.urlopen(req, timeout=20) as r:
                return json.loads(r.read())
        except urllib.error.HTTPError as e:
            body = e.read().decode(errors="ignore")[:400]
            return {"error": f"HTTP {e.code}: {body}"}
        except Exception as e:
            return {"error": str(e)[:200]}
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states that the tool returns whale positions, but does not mention rate limits, data freshness, authentication needs, or whether it is read-only. Essential behavioral context is missing.

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?

The description is very concise, consisting of two short sentences. It is front-loaded and every phrase adds value. The 'Copy-trade reference' might be integrated, but overall it is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Lacks important information such as output structure (fields returned), number of results, pagination, or error handling. For a tool with no output schema, the description should help the agent understand what data to expect, but it only mentions 'wallets and positions' without detail.

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

Parameters4/5

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

The single parameter 'min_position_usd' is explained by the description mentioning 'sized >$10k' which aligns with the default. The schema has no property descriptions, but the tool description adds meaningful context for the parameter, though it could specify constraints like positive values.

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 clearly states the tool returns top Polymarket whale wallets with positions >$10k, with a copy-trade reference. It is specific about the resource and its scope, and distinct from sibling tools which cover different topics.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives. The description mentions 'copy-trade reference' implying a use case, but does not specify conditions or alternatives. Differentiation from siblings is implicit via domain but not stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FalsifyLab/falsifylab-alpha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server