Based Loans is an MCP server published by io.github.0xVarius, hosted at mcp.based.loans. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 19 tools, including get_protocol_info, list_markets, get_market, get_risk_report, quote_borrow.
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
40 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Live protocol parameters: loan fee, the three loan terms with their durations and buyback costs, minimum loan and deposit sizes, per-token lending limit bounds, and whether the protocol is paused.
No parameters.
{
"name": "get_protocol_info",
"title": "Protocol info",
"description": "Live protocol parameters: loan fee, the three loan terms with their durations and buyback costs, minimum loan and deposit sizes, per-token lending limit bounds, and whether the protocol is paused.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Protocol info",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Every token currently accepted as collateral, with price, max loan-to-value, USDC available to borrow against it, active loans, and how it is priced. Set only_with_funds to see only tokens lenders are currently backing.
| Parameter | Type | Description |
|---|---|---|
| only_with_funds | boolean | Only tokens with USDC available to borrow right now |
{
"name": "list_markets",
"title": "List collateral tokens",
"description": "Every token currently accepted as collateral, with price, max loan-to-value, USDC available to borrow against it, active loans, and how it is priced. Set only_with_funds to see only tokens lenders are currently backing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"only_with_funds": {
"type": "boolean",
"description": "Only tokens with USDC available to borrow right now"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List collateral tokens",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.
| Parameter | Type | Description |
|---|---|---|
| asset * | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
{
"name": "get_market",
"title": "Get one collateral token",
"description": "Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get one collateral token",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Live risk data for lending against (or borrowing with) a token: how many price sources it has and whether they cross-check each other, how far back its pool price history goes, how much trading it would take to move its pool price 2x and 10x, USDC available to borrow against it, its active loan limit, and plain-language explanations of every flag. Use this before setting a lending limit on a token.
| Parameter | Type | Description |
|---|---|---|
| asset * | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| skip_depth | boolean | Skip the pool depth calculation (faster) |
{
"name": "get_risk_report",
"title": "Token risk report",
"description": "Live risk data for lending against (or borrowing with) a token: how many price sources it has and whether they cross-check each other, how far back its pool price history goes, how much trading it would take to move its pool price 2x and 10x, USDC available to borrow against it, its active loan limit, and plain-language explanations of every flag. Use this before setting a lending limit on a token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"skip_depth": {
"type": "boolean",
"description": "Skip the pool depth calculation (faster)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Token risk report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Exact loan quote using the same math the contract runs: USDC you receive after the fee, buyback cost, due date, and how much collateral is used. It replays the lender queue, so the funded amount matches what the loan would really get, and warns (with a suggested amount) when a loan would be funded short.
| Parameter | Type | Description |
|---|---|---|
| term * | any | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| asset * | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| loan_amount_usdc | string | Loan amount before the fee. Omit to borrow the most the collateral allows. |
| collateral_amount * | string | Collateral to offer, in token units, e.g. 0.5 |
{
"name": "quote_borrow",
"title": "Quote a loan",
"description": "Exact loan quote using the same math the contract runs: USDC you receive after the fee, buyback cost, due date, and how much collateral is used. It replays the lender queue, so the funded amount matches what the loan would really get, and warns (with a suggested amount) when a loan would be funded short.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset",
"collateral_amount",
"term"
],
"properties": {
"term": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string"
},
{
"type": "integer",
"maximum": 2,
"minimum": 0
}
],
"description": "Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info."
},
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"loan_amount_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Loan amount before the fee. Omit to borrow the most the collateral allows."
},
"collateral_amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Collateral to offer, in token units, e.g. 0.5"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Quote a loan",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.
| Parameter | Type | Description |
|---|---|---|
| loan_id * | any | Loan ID |
{
"name": "get_loan",
"title": "Get a loan",
"description": "Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_id"
],
"properties": {
"loan_id": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get a loan",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.
| Parameter | Type | Description |
|---|---|---|
| borrower * | string | Borrower wallet address on Base |
{
"name": "get_borrower_loans",
"title": "Borrower's loans",
"description": "Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"borrower"
],
"properties": {
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Borrower wallet address on Base"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Borrower's loans",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}A lender's deposit, USDC in active loans, USDC available to withdraw, per-token limits, and every loan they funded with any repaid USDC or defaulted collateral they can claim.
| Parameter | Type | Description |
|---|---|---|
| lender * | string | Lender wallet address on Base |
{
"name": "get_lender_position",
"title": "Lender position",
"description": "A lender's deposit, USDC in active loans, USDC available to withdraw, per-token limits, and every loan they funded with any repaid USDC or defaulted collateral they can claim.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Lender wallet address on Base"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Lender position",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check whether a token is accepted as collateral. If it is not, returns a pre-filled link to the Based Loans request form for the user to open and submit. Nothing is submitted automatically.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Token contract address on Base |
{
"name": "request_token_listing",
"title": "Request a new token",
"description": "Check whether a token is accepted as collateral. If it is not, returns a pre-filled link to the Based Loans request form for the user to open and submit. Nothing is submitted automatically.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token contract address on Base"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Request a new token",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}How Based Loans prices different kinds of collateral (regular tokens, two-hop priced tokens, staked and share tokens, escrowed tokens), with examples, and what each means for borrowers and lenders.
No parameters.
{
"name": "explain_collateral_types",
"title": "Collateral types explained",
"description": "How Based Loans prices different kinds of collateral (regular tokens, two-hop priced tokens, staked and share tokens, escrowed tokens), with examples, and what each means for borrowers and lenders.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Collateral types explained",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transactions to open a loan: an approval (only if needed) then openLoan. Includes the quote and warnings. The user's wallet must sign and send each step in order.
| Parameter | Type | Description |
|---|---|---|
| term * | any | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| asset * | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| borrower * | string | Wallet that will sign; used to skip unneeded approvals and check balances |
| loan_amount_usdc | string | Loan amount before the fee, in USDC. Omit to borrow the most the collateral allows |
| collateral_amount * | string | Collateral to offer, in token units, e.g. 0.5. It is a maximum: only what the loan needs is taken |
| max_shortfall_bps | integer | Max gap between requested and funded amount in basis points. Omit for the protocol default. |
{
"name": "build_borrow",
"title": "Prepare a loan",
"description": "Returns the unsigned transactions to open a loan: an approval (only if needed) then openLoan. Includes the quote and warnings. The user's wallet must sign and send each step in order.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset",
"collateral_amount",
"term",
"borrower"
],
"properties": {
"term": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string"
},
{
"type": "integer",
"maximum": 2,
"minimum": 0
}
],
"description": "Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info."
},
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Wallet that will sign; used to skip unneeded approvals and check balances"
},
"loan_amount_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Loan amount before the fee, in USDC. Omit to borrow the most the collateral allows"
},
"collateral_amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Collateral to offer, in token units, e.g. 0.5. It is a maximum: only what the loan needs is taken"
},
"max_shortfall_bps": {
"type": "integer",
"maximum": 10000,
"minimum": 0,
"description": "Max gap between requested and funded amount in basis points. Omit for the protocol default."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a loan",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transactions to pay back a loan and get collateral back: a USDC approval (only if needed) then buyback. Omit payment_usdc to pay the full remaining amount.
| Parameter | Type | Description |
|---|---|---|
| loan_id * | any | Loan ID |
| borrower * | string | Borrower wallet that will sign; must be the wallet that opened the loan |
| payment_usdc | string | USDC to pay. Omit to pay everything left and get all collateral back |
{
"name": "build_buyback",
"title": "Prepare a buyback",
"description": "Returns the unsigned transactions to pay back a loan and get collateral back: a USDC approval (only if needed) then buyback. Omit payment_usdc to pay the full remaining amount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_id",
"borrower"
],
"properties": {
"loan_id": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Borrower wallet that will sign; must be the wallet that opened the loan"
},
"payment_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "USDC to pay. Omit to pay everything left and get all collateral back"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a buyback",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transactions to deposit USDC for lending, optionally setting per-token lending limits in the same transaction (needed before a first deposit can be lent). Check get_risk_report for each token first.
| Parameter | Type | Description |
|---|---|---|
| lender * | string | Lender wallet that will sign; used to skip unneeded approvals and check balances |
| limits | array | Per-token lending limits to set in the same transaction. A first deposit needs at least one to be lent |
| amount_usdc * | string | USDC to deposit, e.g. 500 |
{
"name": "build_deposit",
"title": "Prepare a lending deposit",
"description": "Returns the unsigned transactions to deposit USDC for lending, optionally setting per-token lending limits in the same transaction (needed before a first deposit can be lent). Check get_risk_report for each token first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount_usdc",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Lender wallet that will sign; used to skip unneeded approvals and check balances"
},
"limits": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"limit_usdc"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"limit_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Max USDC to lend against this token; 0 removes it"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "Per-token lending limits to set in the same transaction. A first deposit needs at least one to be lent"
},
"amount_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "USDC to deposit, e.g. 500"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a lending deposit",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transaction to add, change or remove per-token lending limits. A limit cannot be set below what is already in active loans for that token.
| Parameter | Type | Description |
|---|---|---|
| lender * | string | Lender wallet that will sign |
| limits * | array | Tokens and the max USDC to lend against each |
{
"name": "build_set_limits",
"title": "Prepare per-token lending limits",
"description": "Returns the unsigned transaction to add, change or remove per-token lending limits. A limit cannot be set below what is already in active loans for that token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"limits",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Lender wallet that will sign"
},
"limits": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"limit_usdc"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"limit_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Max USDC to lend against this token; 0 removes it"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "Tokens and the max USDC to lend against each"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare per-token lending limits",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transaction to withdraw USDC that is not in active loans. Use "max" for everything available. as_musdc receives vault shares and skips the 0.25% withdrawal fee.
| Parameter | Type | Description |
|---|---|---|
| lender * | string | Lender wallet that will sign |
| as_musdc | boolean | Receive mUSDC vault shares instead of USDC, skipping the 0.25% withdrawal fee |
| amount_usdc * | any | USDC to withdraw, or "max" for everything not in active loans |
{
"name": "build_withdraw",
"title": "Prepare a withdrawal",
"description": "Returns the unsigned transaction to withdraw USDC that is not in active loans. Use \"max\" for everything available. as_musdc receives vault shares and skips the 0.25% withdrawal fee.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount_usdc",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Lender wallet that will sign"
},
"as_musdc": {
"type": "boolean",
"description": "Receive mUSDC vault shares instead of USDC, skipping the 0.25% withdrawal fee"
},
"amount_usdc": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
},
{
"type": "string",
"const": "max"
}
],
"description": "USDC to withdraw, or \"max\" for everything not in active loans"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a withdrawal",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transaction to claim repaid USDC from loans you funded (mode withdraw) or put it straight back into lending (mode redeploy). Get loan IDs from get_lender_position.
| Parameter | Type | Description |
|---|---|---|
| mode | string | withdraw sends the USDC to your wallet (default); redeploy puts it back into lending |
| loan_ids * | array | IDs of loans you funded, from get_lender_position (1 to 50) |
{
"name": "build_claim_proceeds",
"title": "Prepare a proceeds claim",
"description": "Returns the unsigned transaction to claim repaid USDC from loans you funded (mode withdraw) or put it straight back into lending (mode redeploy). Get loan IDs from get_lender_position.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_ids"
],
"properties": {
"mode": {
"enum": [
"withdraw",
"redeploy"
],
"type": "string",
"description": "withdraw sends the USDC to your wallet (default); redeploy puts it back into lending"
},
"loan_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"maxItems": 50,
"minItems": 1,
"description": "IDs of loans you funded, from get_lender_position (1 to 50)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a proceeds claim",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.
| Parameter | Type | Description |
|---|---|---|
| loan_ids * | array | IDs of past-due loans you funded, from get_lender_position (1 to 50) |
{
"name": "build_claim_collateral",
"title": "Prepare a collateral claim",
"description": "Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_ids"
],
"properties": {
"loan_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"maxItems": 50,
"minItems": 1,
"description": "IDs of past-due loans you funded, from get_lender_position (1 to 50)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a collateral claim",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.
| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to re-lend repaid principal automatically, false to keep it available to withdraw |
{
"name": "build_set_auto_redeploy",
"title": "Prepare auto re-lend setting",
"description": "Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "true to re-lend repaid principal automatically, false to keep it available to withdraw"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare auto re-lend setting",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Dry-runs one prepared transaction from a wallet against the latest block and explains the failure in plain language if it would revert. Steps that depend on an earlier approval only pass after that approval is mined.
| Parameter | Type | Description |
|---|---|---|
| to * | string | The step's to address, as returned by a build_ tool |
| data * | string | The step's calldata, as returned by a build_ tool |
| from * | string | Wallet that would send the transaction |
| value | string | Native value in wei. Always 0 for Based Loans calls |
{
"name": "simulate_transaction",
"title": "Simulate a transaction",
"description": "Dry-runs one prepared transaction from a wallet against the latest block and explains the failure in plain language if it would revert. Steps that depend on an earlier approval only pass after that approval is mined.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"to",
"data",
"from"
],
"properties": {
"to": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The step's to address, as returned by a build_ tool"
},
"data": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$",
"description": "The step's calldata, as returned by a build_ tool"
},
"from": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Wallet that would send the transaction"
},
"value": {
"type": "string",
"pattern": "^\\d+$",
"description": "Native value in wei. Always 0 for Based Loans calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Simulate a transaction",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Based Loans is a fixed-term lending protocol on Base with no liquidations. A borrower deposits a token as collateral and receives USDC right away. They can buy the collateral back at a fixed price any time before the due date. If they do not, they keep the USDC and the lenders who funded the loan receive the collateral instead. Prices can move as much as they like during the loan; nothing is ever sold off early. Lenders deposit USDC and choose which tokens they are willing to lend against, with a USDC limit per token. No lender is exposed to a token they did not choose. How to help a user: - To borrow: get_market or list_markets, then quote_borrow, then build_borrow. Always show the buyback cost and due date before they commit. - To lend: get_risk_report for every token they are considering, explain the flags in plain words, then build_deposit with limits. - To see positions: get_borrower_loans or get_lender_position. - If a token is not supported: request_token_listing returns a link for the user to submit. Never claim a request was submitted. Transaction tools return unsigned transactions in order (approval first when needed). This server never holds keys and never sends anything. The user's wallet signs each step. You can dry-run a step with simulate_transaction. All amounts are decimal strings in token units (USDC has 6 decimals). Every number is read live from Base mainnet. Risk reports describe the data; they are not advice.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.