Back to list
captaindpt

tool-polymarket-book

by captaindpt

0🍴 0📅 Jan 18, 2026

SKILL.md


name: tool-polymarket-book description: Use the polymarket_book tool to fetch Polymarket CLOB order book depth (YES/NO) via Gamma + CLOB and expose best bid/ask/mid.

polymarket_book (Polymarket CLOB book)

When to use

  • Liquidity check before sizing into a market.
  • Spread + depth + mid estimation.

Parameters

  • marketId (string, required): Gamma numeric id (e.g. "516710") or conditionId hex ("0x...").
  • outcome ("YES" | "NO", optional): Defaults to "YES".
  • depth (int, optional, 1–200): Levels per side; default 20.

Examples

{ "name": "polymarket_book", "params": { "marketId": "0xabc...def", "outcome": "YES", "depth": 50 } }

Output

  • Returns: { marketId, conditionId, question, slug, endDate, outcome, tokenId, bookAvailable, bestBid, bestAsk, mid, bids[], asks[], ts }
  • Rendered:
    • Emits a JSON output with title orderbook (used by the UI to open/focus a book window when available).
    • Market (text with mid/bid/ask and “no CLOB orderbook” when missing)
    • Asks + Bids (tables)

Notes

  • Some markets have no CLOB orderbook; the tool returns bookAvailable=false and empty bids/asks.
  • targetWindow: book

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon