Skip to main content
Glama

prepare_kamino_supply

DestructiveIdempotent

Build a deposit transaction to supply assets to Kamino. Accepts human-readable amounts (e.g., '100' for USDC) and validates wallet initialization and mint listing.

Instructions

Build a Kamino deposit (supply) tx. Refuses if the wallet doesn't have Kamino userMetadata + obligation already initialized — run prepare_kamino_init_user first. Validates that the mint is listed on Kamino's main market; resolves decimals from the reserve's mint metadata so callers pass human amounts ("100" = 100 USDC, "0.5" = 0.5 SOL). DURABLE NONCE REQUIRED + same Ledger blind-sign treatment as prepare_kamino_init_user. The returned tx packs [computeBudget, ATA setup if needed, reserve refresh, obligation refresh, deposit, cleanup] under v0 + Kamino's market ALTs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYesSolana base58 wallet — funds the deposit + tx fee. Must have already run prepare_kamino_init_user.
mintYesBase58 SPL mint address of the asset to supply. Must be listed on Kamino's main market — refuses otherwise. Common Kamino reserves: USDC, USDT, SOL, JitoSOL, mSOL, JLP, JUP, BONK.
amountYesHuman-readable amount to supply (e.g. "100" for 100 USDC, "0.5" for 0.5 SOL). Decimals are resolved from the reserve's mint metadata; pass the human value, not raw base units.
Behavior5/5

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

Discloses important behaviors: refusal if not initialized, mint validation, decimal resolution, durable nonce requirement, blind-sign treatment, and transaction composition. These go well beyond the annotations which only provide destructive and idempotent hints.

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?

Four sentences, each packed with relevant information: purpose, constraints, input handling, and tx details. No wasted words, front-loaded with core purpose.

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 prerequisites, validation, input format, nonce, and tx structure. Lacks output format details, but given no output schema, the description reasonably implies a transaction object. Slight gap in specifying that the tool returns a serialized transaction.

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?

Each schema parameter is enriched with additional context: wallet must have run init user, mint must be listed with common examples, amount is human-readable with decimal resolution explained. This adds value beyond the schema descriptions.

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 tool builds a Kamino deposit transaction, distinguishes it from sibling tools like prepare_kamino_init_user by noting the prerequisite and validation conditions, and uses specific verb-resource pairing.

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?

Explicitly says to run prepare_kamino_init_user first, and validates mint listing. Provides good context on when to use, though does not directly compare with other Kamino tools beyond prerequisites.

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/szhygulin/vaultpilot-mcp'

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