Skip to main content
Glama

Place a limit order (unsigned txs)

place_limit_order
Read-only

Build a limit buy or sell of a listed stock token against USDC (Base) or USDG (Robinhood Chain): an exact approve only when the allowance is short, then deposit + place. amount = the stock quantity in base units (18 decimals for wt tokens); price = USDC/USDG per 1 token. No fee to place. Returns unsigned transactions for the user to sign in their own wallet, in order; nothing is sent or signed here.

Input Schema

NameRequiredDescriptionDefault
ownerYes0x... address
priceYesPlain decimal, e.g. "182.5"
amountYesBase units, e.g. "1500000000000000000"
chainIdYes8453 Base, 4663 Robinhood Chain
buyTokenYes0x... address
sellTokenYes0x... address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint/openWorldHint; the description adds the crucial behavior that this returns unsigned transactions in order for the user to sign, and that nothing is sent or signed here. It also discloses the conditional approve step and the no-fee trait, which an agent would otherwise not know.

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-loaded with the core action and scope, then the return/signing caveat, with no filler sentences. It is dense—heavy parenthetical nesting in one long sentence—but every clause carries operational information.

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 six required params and no output schema, the description covers the transaction-building flow, the return value nature (ordered unsigned txs), and the safety model. It stops short of describing the shape of the returned transaction list or how the agent should proceed after signing, which would complete the picture.

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 100%, so the baseline is 3; the description earns above that by clarifying that amount is a stock quantity in 18-decimal base units and price is quote currency per 1 token, which resolves the ambiguity between 'base units' in the schema and quantity semantics.

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 (build) and resource (limit buy/sell of a listed stock token), names the quote assets and the two chains, and implicitly separates itself from cancel_limit_order/list_limit_orders by being the order-creation path. An agent can tell what this does 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?

The description explains the internal flow (approve only when allowance is short, then deposit + place) and that there is no placement fee, which is useful 'how' context. It never says when to pick this tool over siblings such as trade_link or strategy_link, nor does it state prerequisites like an owner wallet that will sign the returned transactions.

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