Skip to main content
Glama
Floe-Labs

Floe Payments and Credit

Official
by Floe-Labs

create_lend_intent

Create a lending offer by building an unsigned transaction that a solver matches with borrowers.

Instructions

Build unsigned tx to create a lending offer. Solver matches it with borrowers. Requires any Floe API key (agent floe_... or developer floe_live_...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in raw token units
market_idNoMarket ID (bytes32). Omit to use the USDC/USDC same-token market on Base Mainnet — the recommended default for AI agents (no price risk, only interest-accrual liquidation).
max_ltv_bpsYesMax LTV in bps (the liquidation threshold on the resulting loan). Volatile-collateral markets (USDC/WETH, USDC/cbBTC) cap at 9500 (95%). Same-token markets (e.g. USDC/USDC) cap at 9950 (99.5%) — values above 9500 are the aggressive opt-in, only safe for short-duration loans because the interest-accrual headroom shrinks.
wallet_addressYesLender wallet
max_duration_daysYesMax duration in days
min_duration_daysYesMin duration in days
min_interest_rate_bpsYesMin annual rate in bps (500 = 5%)
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses key behaviors: builds an unsigned transaction (not broadcasting), requires an API key, and relies on a solver for matching. This adds meaningful context beyond the schema.

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 with the primary action front-loaded. Every word earns its place; no fluff or repetition.

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 7-parameter tool with no output schema, the description covers purpose, authentication, and the matching workflow. It doesn't explicitly describe the response or next steps (like broadcasting), but the sibling list includes broadcast_transaction, and the 'unsigned tx' wording implies the follow-up. Overall 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?

The input schema has 100% description coverage with detailed parameter explanations (e.g., max_ltv_bps limits). The tool description itself adds no additional parameter semantics, so the baseline of 3 applies.

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 explicitly states 'Build unsigned tx to create a lending offer' with a specific verb ('Build') and resource ('unsigned tx for lending offer'), clearly distinguishing it from sibling tools like create_borrow_intent and create_counter_intent.

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?

Provides useful context: this is for creating a lending offer, a solver matches it with borrowers, and it requires any Floe API key. While it doesn't explicitly name alternatives or exclusions, the workflow is clear enough for an agent to decide when to use it.

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