Skip to main content
Glama

Borro

Prepare: open a short

open_short
Read-onlyIdempotent

Unsigned transactions to short a stock from the wallet: approve the deposit if needed, then BorroShort.open (borrow the stock, sell it, hold the money plus the deposit). Priced now, with half a percent of slip allowed; simulated from the wallet. The quote's rebate_estimate is what this short puts in the wallet's weekly locker rebate.

Input Schema

NameRequiredDescriptionDefault
amountYesStock to short, in whole units as a decimal string, like "1.5"
symbolYesA stock on Borro by its ticker, like NVDA or AAPL (markets lists every one)
walletYesThe wallet's address (0x...); the transactions are built for it to sign
depositNoUSDG to add to the money held, beyond the sale (optional, default 0), in whole units as a decimal string, like "1.5"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuine context beyond them: it emits unsigned transactions for the wallet to sign, prices at execution time with 0.5% slippage tolerance, runs as a simulation, and routes rebate_estimate into the weekly locker. It stops short of stating failure modes (insufficient collateral, unapproved asset) or what the response looks like structurally.

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

Conciseness5/5

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

Three tight sentences, front-loaded with what the tool produces, then the execution sequence, then pricing/slippage, then the rebate semantics. No filler; each clause adds either mechanics or economics.

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 covers the return contract at a useful level: unsigned transactions plus a quote carrying rebate_estimate and a 0.5% slippage bound. Missing is the concrete shape of the returned payload (e.g. a transaction list vs. a single tx) and any error/collateral preconditions.

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 coverage is 100%, so all four parameters including the optional deposit are already documented in the schema. The description adds only marginal meaning, tying 'deposit' to 'the money held' beyond the sale and 'wallet' to 'built for it to sign' — consistent with the baseline 3 when the schema does the heavy lifting.

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 ('Unsigned transactions to short a stock from the wallet') and names the concrete protocol call it emits (BorroShort.open), including the borrow-sell-hold mechanics. An agent can distinguish this from open_long, borrow, and close_short without opening any 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?

Usage is implied by the name and by the phrase 'approve the deposit if needed', which signals a prerequisite step when allowance is insufficient. However, no alternative is named (e.g. when to prefer open_pair, borrow, or close_short) and there are no explicit when-not-to-use conditions.

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