Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GRAPH_API_KEY | Yes | A free Graph API key obtained from The Graph Studio (https://thegraph.com/studio/). Required to query Polymarket subgraphs. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_subgraphs | List all available Polymarket subgraphs with descriptions and key entities |
| get_subgraph_schema | Get the full GraphQL schema (introspection) for a Polymarket subgraph |
| query_subgraph | Execute a custom GraphQL query against a Polymarket subgraph |
| get_market_data | Get Polymarket market/condition data including outcomes and volumes from the Main subgraph |
| get_account_pnl | Get a trader's P&L and performance metrics from the Beefy P&L subgraph |
| get_user_positions | Get a user's current positions from the Slimmed P&L subgraph |
| get_recent_activity | Get recent splits, merges, and redemptions from the Activity subgraph |
| get_orderbook_trades | Get recent order fills from the Orderbook subgraph |
| get_global_stats | Get aggregate Polymarket platform statistics from the Main subgraph |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_trader | Analyze a Polymarket trader's full profile: P&L, positions, and recent activity |
| market_overview | Get a comprehensive overview of Polymarket platform activity |
| explore_subgraph | Explore a specific Polymarket subgraph's schema and sample data |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |