Skip to main content
Glama

t2000_repay

Repay borrowed USDC or USDsui debts. Target a specific asset, repay highest-APY borrow, or clear all debt with an optional preview.

Instructions

Repay borrowed USDC or USDsui. Pass asset="USDC" or asset="USDsui" to target a specific debt; omit to repay the highest-APY borrow. Use "all" to repay entire debt across all assets. Set dryRun: true to preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount to repay (in units of the chosen asset), or "all"
assetNo"USDC" or "USDsui". When omitted, repays the highest-APY borrow first.
dryRunNoPreview without signing (default: false)
Behavior3/5

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

Given no annotations, the description covers key behaviors: repayment of debt, targeting specific assets or highest-APY, all-debt repayment, and dryRun preview. It does not disclose side effects like transaction execution or balance updates, which would be beneficial.

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 no extraneous words. Front-loaded purpose, then parameter guidance. Highly efficient.

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?

Covers purpose, parameter usage, and preview mode. Adequate for a repayment tool with 3 params and no output schema. Missing details on transaction outcome or error states, but not critical given brevity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond schema descriptions: asset omission behavior, 'all' for amount, and dryRun as preview mode. Schema coverage is 100%, and the description enriches each parameter's semantics.

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 the verb 'repay' and the resources 'USDC' or 'USDsui'. It also specifies behavior for omitted asset (highest-APY) and 'all' to repay entire debt, distinguishing it from other tools like borrow or withdraw.

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 explicit instructions on when to pass asset, omit it, or use 'all', plus the dryRun option. However, it lacks explicit when-not-to-use or differentiation from sibling tools beyond the core action.

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/mission69b/t2000'

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