Skip to main content
Glama

waiaas_pm_get_events

Retrieve Polymarket event groups to analyze related prediction markets and filter by category for trading insights.

Instructions

Get Polymarket events (groups of related markets).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoEvent category filter.

Implementation Reference

  • The tool 'waiaas_pm_get_events' is registered and implemented directly in packages/mcp/src/tools/polymarket.ts using server.tool. It takes an optional category parameter and calls the /v1/polymarket/events API endpoint.
    server.tool(
      'waiaas_pm_get_events',
      'Get Polymarket events (groups of related markets).',
      {
        category: z.string().optional().describe('Event category filter.'),
      },
      async (args) => {
        const params = new URLSearchParams();
        if (args.category) params.set('category', args.category);
        const qs = params.toString();
        const result = await apiClient.get(`/v1/polymarket/events${qs ? '?' + qs : ''}`);
        return toToolResult(result);
      },
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only indicates this is a read operation ('Get') but fails to mention pagination, rate limits, authentication requirements, return format, or whether the category filter accepts arbitrary strings or specific enumerated values.

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?

Single efficient sentence with zero waste. The parenthetical clarification earns its place by providing crucial domain-specific context without verbosity.

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

Completeness3/5

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

Adequate for a simple single-parameter tool, but lacks important operational context expected when annotations are absent—specifically available category values, return structure, or pagination behavior.

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 coverage is 100% with the 'category' parameter already described as 'Event category filter.' The description adds no additional parameter syntax or semantics beyond the schema, which is acceptable given the baseline of 3 for high schema coverage.

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 provides a specific verb ('Get') and resource ('Polymarket events'), plus the parenthetical clarification '(groups of related markets)' effectively distinguishes this from the sibling tool `waiaas_pm_get_markets` by defining the conceptual relationship between events and markets.

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?

The description defines what events are but provides no explicit guidance on when to use this tool versus siblings like `waiaas_pm_get_markets` or `waiaas_pm_get_market_detail`, nor does it mention prerequisites or filtering strategies.

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/minhoyoo-iotrust/WAIaaS'

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