Skip to main content
Glama
aibtcdev
by aibtcdev

jingswap_get_prices

Fetches Pyth oracle and on-chain DEX prices for Jingswap auctions, returning BTC/USD and STX/USD quotes, pool liquidity, and the derived price ratio for sbtc-stx or sbtc-usdcx markets.

Instructions

Get current oracle and DEX prices used by the Jingswap auction. Returns Pyth oracle prices (BTC/USD, STX/USD with confidence and freshness), on-chain DEX prices (XYK pool with TVL, DLMM), and the derived price ratio.

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault
marketNoMarket: "sbtc-stx" (default) or "sbtc-usdcx"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'Get' implies a read but read-only/safety is never stated. It does add genuine behavioral value by naming the return payload (Pyth prices with confidence and freshness, XYK pool with TVL, DLMM, derived ratio), which tells the agent what data quality signals to expect.

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 core sentence is front-loaded and dense with specifics: source, asset pairs, and derived outputs. The trailing tip sentence is a cross-sell that doesn't help an agent call this tool, though it costs little.

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?

No output schema exists, so describing the returned price families is necessary and is done well; the single parameter is schema-documented. The main remaining gap is that no annotations exist to convey read-only/auth behavior, which the description only implies through the verb 'Get'.

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 'market' parameter is fully documented in the schema with its default and allowed values. The description adds no syntax, defaults, or examples beyond that, so the 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?

States a specific verb+resource ('Get current oracle and DEX prices') and scopes it to the Jingswap auction, then enumerates the three price families returned. An agent can distinguish it from generic price tools like styx_price or bitflow_get_quote only implicitly, via the 'used by the Jingswap auction' qualifier.

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 implied rather than stated: the description ties the tool to the Jingswap auction context, so an agent working on Jingswap cycles can infer it applies. There are no explicit when-to-use/when-not rules, and the only cross-reference is a promotional tip to earning_opportunities, unrelated to tool selection.

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

Deploy Server

Other Tools