Skip to main content
Glama

SMX: market detail and order book

smx_get_market
Read-onlyIdempotent

Fetch one SMX testnet market by ID to view its question, state, best bid/ask, YES midpoint, minimum order, contract addresses, and aggregated on-chain order book.

Instructions

One SMX testnet market: question, state, outcome if resolved, best bid and ask, YES midpoint, minimum order, contract addresses and the resting order book aggregated by price level (read from chain). Free, no key. Test USDC, no monetary value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMarket id from smx_list_markets, e.g. moon-race-us-china-test-v2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/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 openWorld. The description adds genuinely new operational context beyond that: the data is read from chain, no API key or payment is required, and the market is testnet-only with 'Test USDC, no monetary value' — a meaningful safety disclosure for a trading-adjacent tool.

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?

Front-loaded with the resource and then the return fields in one dense but information-bearing sentence, followed by two short constraint fragments. Every clause carries payload or constraint information; the enumeration is long but not padding.

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 carries the return-value burden and does so by listing the returned fields, including the aggregated order book. Combined with the testnet/no-key/no-value caveats, an agent has enough to call this correctly; only the paid-vs-free routing is left unstated.

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% and the single id parameter is fully documented in the schema, including an example format and its source (smx_list_markets). The description adds nothing about the id beyond what the schema already provides, so the baseline of 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?

Names a specific resource and scope: 'One SMX testnet market', and enumerates the payload (question, state, outcome, best bid/ask, YES midpoint, order book). The singular scope implicitly separates it from smx_list_markets, and 'Free, no key' implicitly separates it from the smx_paid_* siblings, though neither alternative is named outright.

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

Usage Guidelines3/5

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

Usage is only implied: the agent infers this is the single-market lookup used after smx_list_markets returns an id. There is no explicit statement of when to prefer this over smx_paid_get_market or smx_paid_get_mid, which is a real ambiguity given both exist in the sibling set.

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