Skip to main content
Glama

Borro

Prepare: repay USDG

repay
Read-onlyIdempotent

Unsigned transactions to repay USDG borrowed against a stock (part, or all with all: true).

Input Schema

NameRequiredDescriptionDefault
allNoRepay everything owed
amountNoUSDG to repay, 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnly/idempotent/non-destructive, which would be puzzling for a 'repay' tool; the description resolves this by stating it returns unsigned transactions rather than executing a repayment. Missing are failure conditions (e.g., amount exceeding debt) and whether signing/submission is the caller's responsibility beyond what the wallet param implies.

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?

One sentence, front-loaded with the key fact that these are unsigned transactions, followed by the scope qualifier. No filler or redundancy.

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

Completeness3/5

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

No output schema exists, and the description does not say what the unsigned transaction payload looks like, how it should be signed/submitted, or how amount and all interact when both are supplied. For a prepare-and-return tool this leaves meaningful gaps, though annotations and a fully described schema carry much of the load.

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 are already documented, giving a baseline of 3. The description's parenthetical restates the all/partial distinction already present in the 'all' and 'amount' schema descriptions, adding little beyond what is structured.

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?

States a specific verb (repay), resource (USDG borrowed against a stock), and scope (part or all via all: true). It does not differentiate from the similar sibling credit_repay or clarify how it relates to borrow/release_collateral, so an agent must infer which repay tool applies.

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: use it when you want to return borrowed USDG against a stock, choosing the all: true variant to close the debt entirely. There is no explicit when-not guidance, no prerequisites (existing borrow position, token approval), and no naming of the alternative repay flow (credit_repay).

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