Skip to main content
Glama

predictions closing

predictions_closing
Read-only

Polymarket markets that end soon, busiest first: everything scheduled to close within your window (default 48 hours) with the favourite, its probability, what it costs to buy, the return if it wins and the annualised rate, hours left, volume and liquidity. Filter by minimum probability to list near-certain outcomes, or by volume. For agents that trade resolutions or need the answer to an event that is about to settle. $0.004. Costs $0.004 USDC per call (x402).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "predictions_closing"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNolook-ahead window, default 48, max 720
limitNomax 40
min_volume_24hNoUSD
min_probabilityNofavourite at least this likely, 0-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses the actual cost mechanism ($0.004 USDC per call via x402), the default 48-hour window, the sort order (busiest first), and the full set of returned fields including price, payout and annualised rate. That is exactly the context an agent needs before paying for a call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence front-loads the resource and sort correctly, but the pricing is stated twice ("$0.004. Costs $0.004 USDC per call (x402)") and the returned-field list is a long undifferentiated run-on. Two of the four sentences do overlapping work.

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

Completeness4/5

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

With no output schema, the description correctly carries the burden of describing the return payload (favourite, probability, cost, return, annualised rate, hours left, volume, liquidity) and the pay-per-call model. It is essentially complete, missing only error or payment-failure 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%, so every parameter is already documented, and the description largely restates them (default 48-hour window, minimum probability, volume). It adds the intent behind min_probability ("near-certain outcomes") but no format or interaction detail beyond that, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Polymarket markets that end soon, busiest first" names the resource, the temporal scope, and the sort order in one clause, and the closing sentence names the use case (trading resolutions / imminent settlement). It is clearly distinct from a general predictions listing, though it never names a sibling to contrast with.

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

Usage Guidelines4/5

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

It states when to reach for it ("agents that trade resolutions or need the answer to an event that is about to settle") and how to shape the result (min probability for near-certain outcomes, or volume). No explicit when-not or named alternative, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources