Skip to main content
Glama

NLYRA — the risk layer of Robinhood Chain

Prepare a buy or a sell (non-custodial)

prepare_trade
Read-only

Prepares a buy or a sell of a Robinhood Chain token through The Desk's router and returns (1) a signing link on nlyra.xyz where the user reviews it and signs with their own wallet, valid 30 minutes, and (2) when a wallet is given, the unsigned transactions for an agent wallet that signs by itself (valid ~5 minutes). NLYRA never holds funds or keys. Same risk gate as The Desk: buys of tokens that fail the sell test are refused; Critical tokens need acknowledge_high_risk=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideYes
unitNobuy: "quote" (ETH/USDG, default) or "usd"; sell: "token" (default), "usd" or "percent" (needs wallet)
tokenYes
amountYesa plain number, e.g. "0.05"
walletNothe wallet that will sign; with it you also get the raw transactions
slippage_bpsNomax slippage in basis points, default 300 (3%)
acknowledge_high_riskNorequired for tokens rated Critical, only after telling the user the risk

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the two return artifacts (a 30-minute signing link on nlyra.xyz, and ~5-minute unsigned transactions when a wallet is supplied), the non-custodial guarantee, and the risk-gate behavior. readOnlyHint=true is consistent with a prepare-only, non-executing tool, so nothing is contradicted.

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 core action and enumerates the two return modes compactly as (1) and (2). The single dense paragraph is slightly run-on but every clause carries information; nothing is filler.

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?

There is no output schema, so the description correctly supplies the return shape and validity windows, plus the non-custodial and risk-gate caveats. It leaves the semantics of unit/slippage to the schema, which is acceptable at 71% coverage.

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 71%, so the schema already documents unit, amount, slippage_bps, wallet and acknowledge_high_risk. The description re-states the wallet consequence (raw transactions returned) and the acknowledge_high_risk precondition, but adds no new syntax or format meaning for unit or slippage. Baseline 3 is appropriate.

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 (prepares) plus the exact resource (a buy or sell of a Robinhood Chain token via The Desk's router), and distinguishes itself from the sibling quote_trade by emphasizing that it returns a signing link and unsigned transactions rather than a price. An agent can tell what it does and what it produces without opening the schema.

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?

It gives conditional guidance (Critical tokens require acknowledge_high_risk=true, buys failing the sell test are refused) but never states when to pick this over siblings such as quote_trade or prepare_bot, nor that a quote is the natural precursor. Usage is only implied by the 'prepare' framing.

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