Skip to main content
Glama

Borro

Prepare: take back a writer's lock

release_collateral
Read-onlyIdempotent

Unsigned transaction giving a writer back the lock of a settled series less what its written options pay, once: stock vault shares for a call, Steakhouse USDG vault shares for a put.

Input Schema

NameRequiredDescriptionDefault
walletYesThe wallet's address (0x...); the transactions are built for it to sign
series_idYesThe series id (position lists them)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the agent knows the safety profile and that the call changes no state. The description adds that the output is an unsigned transaction the wallet must sign (a real operational detail), but 'less what its written options pay' is ambiguous about what the caller actually receives and says nothing about prerequisites such as the series being settled.

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

Conciseness2/5

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

It is a single run-on sentence whose core claim is interrupted by an ambiguous trailing clause ('once: stock vault shares for a call, Steakhouse USDG vault shares for a put'). Short, but the clause order buries the operative meaning instead of front-loading it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and this is a transaction-preparation tool, yet the description does not state the preconditions (series must be settled, caller must be the writer), what the returned transaction contains beyond a vague collateral reference, or what to do with it after signing. For a two-parameter, no-output-schema tool the description should close these gaps and does not.

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 wallet and series_id are already fully documented, including the hint that the wallet must sign. The description adds no per-parameter meaning beyond what the schema says; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does identify the action (build an unsigned transaction returning a writer's collateral after a settled series) and the resource, and the payout composition distinguishes it from siblings like write_option or settle_series. But the wording 'giving a writer back the lock of a settled series less what its written options pay, once' is convoluted jargon that forces the agent to decode the purpose rather than read it.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternatives. The agent must infer from 'settled series' that this is a post-settlement step, and nothing tells it how this differs from settle_series, withdraw, or position, all of which appear in the sibling list.

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