Skip to main content
Glama
Floe-Labs

Floe Payments and Credit

Official
by Floe-Labs

repay_loan

Repay a loan by generating an unsigned transaction with auto-approval and slippage protection. Provide the borrower wallet address and loan ID to create the transaction.

Instructions

Build unsigned tx to repay a loan with auto-approval and slippage protection. Requires any Floe API key (agent floe_... or developer floe_live_...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loan_idYesLoan ID
slippage_bpsNoSlippage tolerance (500 = 5%)
wallet_addressYesBorrower wallet
Behavior3/5

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

No annotations are present, so the description carries the full burden. It discloses the unsigned-transaction nature, auto-approval behavior, slippage protection, and auth requirements. However, it does not explain what happens with the built transaction (e.g., broadcast) or the detailed effects on the loan state, leaving gaps in behavioral understanding.

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?

Two sentences, front-loaded with the core purpose, no filler or redundant information. Each sentence earns its place.

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?

Given there is no output schema, the description should specify the return value and any follow-up steps. It says 'Build unsigned tx', which implies an unsigned transaction output, but does not clarify its format or how to broadcast it. With many transaction-related sibling tools, a bit more context would be helpful, but the description is minimally adequate.

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 documents all three parameters. The description adds 'slippage protection' which links to slippage_bps, but does not enrich understanding of wallet_address or loan_id beyond their schema definitions. Baseline 3 is appropriate.

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 clearly states 'Build unsigned tx to repay a loan', a specific verb and resource, distinguishing it from liquidation or collateral management siblings. The mention of 'auto-approval and slippage protection' adds further specificity.

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 notes the API key requirement but gives no explicit when/when-not guidance or alternatives to other loan transaction tools. Usage context is implied by the tool name and description, but no exclusions or comparisons are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Floe-Labs/floe-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server