Skip to main content
Glama

Borro

Prepare: buy gap cover

buy_cover
Read-onlyIdempotent

Unsigned transactions to buy Monday-gap cover on a stock while the market is shut (until an hour before the reopen): side up pays if the first feed print after the reopen is more than the strike above the last print (cover for a short), down if it is more than the strike below (for a long); it pays the move beyond the strike, times the cover, up to the pool's cap. Approve exactly the premium, then buy with that premium as the most it may take. Simulated from the wallet.

Input Schema

NameRequiredDescriptionDefault
sideYesup (pays on a gap up: for a short) or down (on a gap down: for a long)
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
notionalYesCover, in USDG: for a short, about what the shares are worth, in whole units as a decimal string, like "1.5"
strike_bpsNoHow far the stock must move before it pays, in hundredths of a percent: 100, 200, 300 or 500 are quoted (default 200, 2%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description explains that this prepares unsigned transactions, how the payout is triggered, how the move beyond strike times cover is capped by the pool, and the premium approval workflow. The readOnlyHint=true annotation is consistent with preparing unsigned transactions rather than executing them.

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?

The description is front-loaded and compact at two sentences, with no obvious filler. However, the first sentence is very dense with semicolon-separated payoff mechanics, making it harder to parse than it needs to be.

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?

For a complex financial preparation tool with no output schema, the description covers timing, payoff direction, cap, premium approval, and that the output is unsigned transactions. It is largely sufficient, though it does not describe the returned transaction structure or any failure/edge cases.

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 the schema already defines every parameter including side, symbol, wallet, notional, and strike_bps. The description ties side and strike to the payoff formula, but it largely repeats schema-level meaning rather than adding new per-parameter details.

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?

The description states a specific action and resource: 'Unsigned transactions to buy Monday-gap cover on a stock.' It also scopes the timing ('while the market is shut') and the payoff direction, which distinguishes it from siblings such as buy_option or open_short.

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 clearly implies when to use the tool: while the market is shut, until an hour before reopen, and for short versus long gap exposure. It does not explicitly name alternative tools or exclusions, so it falls short of full when/when-not guidance.

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