Skip to main content
Glama

Get DeepBook USDC price at time

read_get_deepbook_usdc_price_at_time
Read-only

Retrieve DeepBook USDC candle evidence and the representative close price around a specified UTC time, with continuation support, to verify historical pool pricing.

Instructions

Return pool-bound DeepBook USDC candle evidence and representative price from close around a target UTC time, or a continuation.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this as a read-only, open-world operation. The description adds useful context that the result is pool-bound, consists of candle evidence plus a representative price, and can be a continuation, but it does not explain how the representative close is selected, what happens when no close is found, or other edge 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 definition is a single front-loaded sentence with no filler, and the core return value is stated first. However, phrases such as 'candle evidence' and 'from close around a target UTC time' are slightly opaque and could be clearer.

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?

The tool has an output schema and high schema coverage, so the description need not explain the return shape. It covers the read purpose and both request modes, but it remains incomplete on when to prefer this tool over sibling price tools and on how close-around-target selection behaves.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by clarifying the target UTC time input and by labeling the requestId branch as a 'continuation,' which helps an agent understand the two call modes even though it does not explain poolId, coinType, interval, or maxDistanceMinutes.

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 uses a specific verb, 'Return,' and a specific resource, 'pool-bound DeepBook USDC candle evidence and representative price,' tied to a target UTC time or continuation. It implicitly distinguishes point-in-time retrieval from the price-history sibling through 'at time' and 'continuation,' though it does not name alternatives.

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

Usage Guidelines2/5

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

The description states the two operational modes, target time or continuation, but gives no explicit guidance on when to use this tool versus read_get_deepbook_usdc_price_history, read_get_deepbook_mid_price, or other DeepBook price tools. There are no when-not conditions or alternative-selection cues.

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