Skip to main content
Glama
Cyberweasel777

botindex-mcp-server

botindex_polymarket_micro_markets

Retrieve Polymarket micro-markets ending within 2 hours in Up/Down format to monitor near-term prediction market outcomes.

Instructions

Polymarket micro-markets ending in the next 2 hours (Up or Down format). $0.01

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool 'botindex_polymarket_micro_markets' is dynamically registered at runtime by fetching the tool catalog from an external URL and iterating over it to register each tool. The handler logic for all these dynamic tools, including 'botindex_polymarket_micro_markets', is defined in lines 217-228.
    server.tool(
      tool.name,
      tool.description,
      zodSchema,
      async (args: Record<string, any>) => {
        const params: Record<string, string> = {};
        if (tool.params) {
          for (const p of tool.params) {
            if (args[p.name] !== undefined) {
              params[p.name] = String(args[p.name]);
            }
          }
        }
        const data = await fetchBotindex(tool.path, params);
        return { content: [{ type: 'text', text: toToolText(data) }] };
      },
    );

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/Cyberweasel777/botindex-mcp-server'

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