Skip to main content
Glama

Otto stock-token quotes

otto_stock_token_quote
Read-onlyIdempotent

Read buy and sell quotes for a Robinhood Chain (4663) stock token, for example TSLA or NVDA, at $100, $1k and $10k on every route Otto reads. Each route gives the expected output, LI.FI’s minimum where it has one, the effective price and the premium or discount to the underlying stock’s last price, and the best of the routes read is named; a best route far worse than the $100 quote is flagged large_price_impact, and the premium is withheld when the reference listing is not the token’s company. A saved quote served because no live read finished is labelled with its age. Nothing to sign; quotes are before gas and prices move with the market. A token the route does not quote is refused and nothing is charged. Paid-only, including the first call. Not investment advice. Hosted access: paid-only; each call costs $0.003 USDC through x402 and preserves the free allowance.

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": {
      "token": "<token>"
    },
    "name": "otto_stock_token_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesRobinhood Chain stock token: its ticker, for example TSLA or NVDA, or its token address on Robinhood Chain (4663).
x_paymentNoSigned x402 payment payload. Omit it to receive the machine-actionable payment challenge, then retry with the signed payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses paid-only access at $0.003 USDC via x402 including the first call, the payment-challenge retry flow, cached-quote labelling with age, the large_price_impact flag, the withheld-premium condition, and that unquoted tokens are refused with nothing charged. These are exactly the behavioral facts an agent needs before invoking a paid read.

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?

Front-loads the purpose and packs the return shape, flags, and payment terms into dense declarative clauses, but it is a long run-on and repeats the paid-only point twice ('Paid-only, including the first call' then 'Hosted access: paid-only'). Slight trimming would tighten it without losing information.

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

Completeness5/5

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

With no output schema available, the description still enumerates what each route returns (expected output, LI.FI minimum, effective price, premium/discount), how the best route is chosen and flagged, and how cached or refused results appear. Combined with the payment flow, an agent can call and interpret it 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?

Schema description coverage is 100%, so both token and x_payment are already documented in the schema. The description adds only the concrete route set and price tiers and the x402 cost, not new parameter semantics, so the baseline 3 applies.

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?

States a specific verb and resource ('Read buy and sell quotes for a Robinhood Chain (4663) stock token') plus the exact quote sizes ($100, $1k, $10k) and route scope. This clearly separates it from mutation siblings like otto_prepare_stock_buy and from pool/security lookups.

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 strongly implied (read quotes before trading, quotes are pre-gas and pre-signature) but the description never explicitly names an alternative such as otto_prepare_stock_buy or states a when-not condition. The agent must infer that this is the read-only preview step.

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