Skip to main content
Glama

get_recent_trades

Recently settled sales for a market. amount is the EXACT settled total (incl. fee) from the on-chain fill where the indexer recorded it, with settledAt the block time and exact: true; otherwise it falls back to the listed ask with exact: false (a decayed Dutch auction settles BELOW its listed amount, so treat inexact rows as an upper bound).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
marketIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It explains the exact vs. fallback amount semantics, fee inclusion, exact:true/false flags, and the upper-bound caveat for inexact rows. This is substantive behavioral context, though it omits ordering and pagination behavior.

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?

The purpose is front-loaded and the detailed amount caveat is packed into a single dense sentence with no filler. The structure is efficient, though the nested parenthetical makes it slightly harder to parse.

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?

Given no output schema or annotations, the description covers the critical amount semantics well but leaves gaps: result ordering, effective default limit, and behavior when no trades exist. It is adequate for a simple fetch tool but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not compensate by explaining marketId or limit. It references 'a market' but gives no ID format, no default/effect of limit, and no guidance beyond what the JSON schema already states through type and constraints.

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?

The description clearly identifies the tool as returning recently settled sales for a market, which distinguishes it from sibling tools like get_listings and get_orders. It lacks an explicit verb but the resource, scope, and domain are unambiguous.

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?

The intended use case is implied: use this when you need recently settled trade/sale amount data for a market. However, it does not explicitly state when to prefer this tool over get_listings, get_orders, or other alternatives, nor does it mention exclusions.

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