Skip to main content
Glama

Get static orderbook trading rules for many markets in one call

problee_batch_get_trading_rules
Read-onlyIdempotent

Get static per-market orderbook trading rules (price grid, size floors, fees, TIF, STP) for up to 200 markets in one call. Use this instead of polling problee_get_market per market to renew rules — it does only the rules work, not volume, reputation, resolution surfaces, or prices.

Input Schema

NameRequiredDescriptionDefault
chainIdYesCompiled protocol release chain ID (Base 8453).
marketAddressesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, and non-destructive behavior, and the description adds real value on top by establishing that the rules are static and that the tool performs only rules work. It does not disclose what happens when some of the requested addresses are unknown or have no rules — the main behavioral unknown for a batch read — so it falls short of a 5.

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?

Two sentences, zero filler: capability and contents first, then the sibling comparison and exclusions. The front-loading is exactly right for a decision an agent must make before calling.

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 and annotations cover the safety profile, so the description does not need to explain returns. What is left out is batch failure semantics (partial results vs. error on unknown markets), which would matter for an agent assembling a 200-address call. Otherwise the definition is sufficient to invoke correctly.

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?

With schema description coverage at 50%, both parameters carry terse schema docs (chain ID with a Base 8453 hint, and address format). The description reinforces the 200-market cap but adds no meaning about chainId selection or address list semantics beyond what the schema already states. Baseline 3 is appropriate; the description neither compensates for nor worsens the coverage gap.

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 names a specific verb and resource ("Get static per-market orderbook trading rules") and enumerates the payload contents (price grid, size floors, fees, TIF, STP) along with the batch scope of up to 200 markets. It also explicitly contrasts itself with problee_get_market, so an agent can distinguish it from siblings without opening the schema.

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

Usage Guidelines5/5

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

It gives explicit routing guidance: "Use this instead of polling problee_get_market per market." It also states the negative space — no volume, reputation, resolution surfaces, or prices — which tells the agent when this call is not sufficient and that other tools are needed for those surfaces.

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.