Skip to main content
Glama

Propose tokenized-stock trade

propose_rwa_trade

APPROVAL CARD ONLY — NEVER auto-executed. APPROVAL CARD ONLY, NEVER auto-executed: propose buying or selling a tokenized stock/ETF/gold. Approving only opens the in-app JW3 RWA ticket prefilled (never an issuer or venue site); the user reviews the live quote, confirms and signs there with their own wallet. asset is the underlying id from read_rwa (TSLA, SPY, XAU). route is optional: a spot route key from read_rwa (e.g. TSLAx-solana) or a perp market (e.g. xyz:TSLA); omit it to let the ticket pick the best route. Buy sizes in USD (amount_usd), sell sizes in tokens (amount). Ground the card in a read_rwa read this turn. These are tokens that track the asset (issuer-backed tokens or perp markets), not shares; issuer terms apply. Recorded as a proposed card; the result carries deep_link, the in-app page where the user reviews, confirms and signs. Never executes, never moves funds. Needs the trade:propose scope (PAT).

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": {
      "asset": "<asset>",
      "side": "<side>",
      "rationale": "<rationale>"
    },
    "name": "propose_rwa_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes
assetYesUnderlying id from read_rwa (TSLA, NVDA, SPY, XAU…).
routeNoOptional route key (TSLAx-solana) or perp market (xyz:TSLA) from read_rwa.
amountNosell: token amount to sell, > 0.
rationaleYes
amount_usdNobuy: USD to spend, > 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the annotations: it discloses that the card is never auto-executed, never moves funds, and that approving only opens an in-app ticket where the user reviews, confirms and signs with their own wallet. It also discloses the required trade:propose scope and that the result carries a deep_link. These are exactly the behavioral facts an agent needs before calling a mutation-adjacent tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening warning is duplicated almost verbatim ('APPROVAL CARD ONLY — NEVER auto-executed' twice), which is wasted space. The rest is dense but well ordered, moving from safety constraint to action to parameter semantics to auth scope.

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?

With no output schema, the description correctly notes the result carries a deep_link. It covers safety, auth scope, sizing conventions, and asset grounding, which is complete for a proposal tool. Only the sibling routing against propose_trade is unaddressed.

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 coverage is 67%, so the description must add meaning, and it does: asset is an underlying id from read_rwa, route is optional and its omission triggers automatic route selection, amount_usd is for buys and amount is for sells. The only parameters left unaddressed are side and rationale, which are self-evident.

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 states a specific verb and resource: 'propose buying or selling a tokenized stock/ETF/gold.' It also names the grounding source (read_rwa) and the asset universe (TSLA, SPY, XAU), so an agent can tell this is the RWA-specific proposal tool. It does not explicitly distinguish itself from the generic sibling propose_trade, which keeps it at 4 rather than 5.

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

Usage Guidelines4/5

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

It gives clear usage conditions: ground the card in a read_rwa read this turn, use USD amounts for buys and token amounts for sells, and omit route to let the ticket pick the best route. It does not say when to prefer this over propose_trade or when not to propose at all, but the operational context is explicit.

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.