Skip to main content
Glama
NautilusOSS

DorkFiMCP

by NautilusOSS

liquidate_txn

Build unsigned transactions to liquidate an undercollateralized position by repaying debt and seizing collateral at a bonus. Returns base64-encoded transactions for signing.

Instructions

Build unsigned transactions to liquidate an undercollateralized position. The liquidator repays part of the debt and receives collateral at a bonus. Returns base64-encoded transactions for signing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesBlockchain network
amountYesAmount of debt to repay in human-readable units
senderYesLiquidator wallet address
borrowerYesAddress of the borrower to liquidate
debt_symbolYesDebt token to repay
collateral_symbolYesCollateral token to seize
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It transparently discloses that the tool builds unsigned transactions, returns base64-encoded output for signing, and explains the economic mechanism (debt repayment + collateral bonus). This goes beyond the bare minimum, though it doesn't enumerate risks or edge cases.

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 purpose, and every clause contributes. It states what it does, explains the mechanism, and specifies the return format with zero wasted words.

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

Completeness5/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 covers the return format (base64-encoded transactions) and operational context. Combined with the rich 100% schema coverage, the tool is well defined for an agent to select and invoke correctly.

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% with descriptions for all 6 parameters, so the schema does the heavy lifting. The description reinforces that 'amount' refers to debt, but doesn't add semantic detail beyond what the schema already provides, making the baseline 3 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 uses a specific verb and resource: 'Build unsigned transactions to liquidate an undercollateralized position.' It clearly distinguishes from sibling transaction builders like repay_txn or deposit_txn by focusing on liquidation, so an agent can easily identify when to use it.

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?

The description clearly implies usage for undercollateralized positions, stating the liquidator repays debt and seizes collateral. While it doesn't explicitly list alternatives or when-not-to-use, the liquidation context is distinct enough from normal repayment or other operations to serve as clear guidance.

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/NautilusOSS/DorkFiMCP'

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