Skip to main content
Glama

Liquid Agent

Prepare a Polymarket price-to-beat call ($0.002)

polymarket_prepare
Read-onlyIdempotent

Returns the x402 payment request for Polymarket crypto Up/Down data (BTC, ETH, SOL, XRP; 5m and 15m; $0.002 USDC on Base or Polygon): the OFFICIAL price to beat for the live 5m or 15m window (matched to the cent against Polymarket's results), the live Chainlink price and its distance from the price to beat, seconds left, token ids and market prices. Pass start (unix) for a past window's official outcome. Pay it with your own x402 client. This tool does not pay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startNoOptional unix start of a past window.
marketYesWhich market: <asset>-<timeframe>.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to call with the PAYMENT-SIGNATURE header
bodyNoJSON body to send, for POST
noteNoNotes
x402NoThe x402 payment request (scheme, network, asset, payTo, amount, EIP-712 domain)
methodNoHTTP method
howToPayNoStep-by-step signing instructions
alternativesNoOther accepted networks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description usefully adds the critical behavioral fact that this tool returns a payment request but does NOT execute payment. It also discloses the cost and accepted networks, going beyond structured fields.

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

Conciseness4/5

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

Purpose is front-loaded and the key caveat ('This tool does not pay') is isolated for emphasis. Slightly verbose in enumerating return fields that an output schema already covers.

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?

An output schema exists, yet the description nonetheless summarizes the payload and the payment requirement, so an agent knows both what it gets back and what it must do next. Complete for a two-param prepare tool.

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 description coverage is 100% and both parameters are documented there, so the schema carries the load. The description restates the 'past window official outcome' meaning of start but adds no format or syntax detail beyond the schema.

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?

Starts with a specific verb+resource ('Returns the x402 payment request for Polymarket crypto Up/Down data') and enumerates the assets, timeframes and chains. It is clearly distinguishable from the surrounding bridge_*/stocks_*/x402_check siblings.

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?

Gives clear operational context: 'Pass start (unix) for a past window's official outcome' and 'Pay it with your own x402 client. This tool does not pay.' It does not name an alternative sibling tool or state explicit exclusions, but the when-to-use condition is unambiguous.

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.