Skip to main content
Glama

Quote DeepBook display amount

read_quote_deepbook_display_amount
Read-only

Read pinned-SDK DeepBook display-amount quote evidence for a pool, direction, and display amount to support transaction review before wallet approval.

Instructions

Pinned-SDK DeepBook display-amount quote evidence. Not fiat cash-out, external USD lookup, P&L, price impact, route, final min-out, signing data, or signing readiness.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "poolKey": "<poolKey>",
      "direction": "<direction>",
      "amountDisplay": "<amountDisplay>"
    },
    "name": "read_quote_deepbook_display_amount"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeModeNo
poolKeyYes
directionYes
amountDisplayYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that results come from a pinned SDK and are display amounts only, not final min-out or signing-ready data — useful caveats beyond the annotations — but says nothing about determinism, staleness, or how the pinned version affects results.

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?

Two short sentences, front-loaded with the positive identification before the exclusion list. The long negation run is compact but borders on enumeration for its own sake; no sentence is clearly wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, but for a four-parameter quote tool with zero schema coverage the description should define the amount string format and the fee-mode options. Instead it spends its budget on exclusions, leaving the agent under-informed on inputs for what is otherwise a read-only computation.

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 description coverage is 0% for four parameters (poolKey, direction, amountDisplay, feeMode), so the description carries the burden and largely does not: it never explains the display-amount string format, the base_to_quote/quote_to_base direction, or what feeMode deep vs input_coin changes. Only the indirect hint that amounts are "display" (not raw) adds meaning, meeting the baseline 3 while leaving real gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase "DeepBook display-amount quote evidence" names the resource (a DeepBook quote) and the mode (display amount computed via pinned SDK), but the verb is implicit and the jargon is dense. Most of the differentiation from siblings comes from the exclusion list rather than a positive statement of what the tool returns, leaving the core action only loosely specified.

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 description enumerates what the tool is NOT for (fiat cash-out, external USD lookup, P&L, price impact, route, final min-out, signing), which is genuine negative routing guidance. However, it never states the affirmative condition under which to call it, nor points to a named alternative such as read_quote_deepbook_action or read_get_deepbook_mid_price, so the agent must infer when this is the right sibling.

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