Skip to main content
Glama

solknife_ct_deposit_build

Build the Deposit tx (public → confidential pending). amount in base units (u64 string).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "owner": "<owner>",
      "mint": "<mint>",
      "amount": "<amount>",
      "decimals": "<decimals>"
    },
    "name": "solknife_ct_deposit_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYesA Solana address in base58, 32-44 chars.
ownerYesA Solana address in base58, 32-44 chars.
amountYesAmount in base units as a decimal string (not a float). For a 6-decimal mint, "1000000" is 1 token.
decimalsYesThe mint's decimals. Must match the mint exactly or the transfer fails on-chain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / decimals / maximum
      Previous value: -255New value: +9
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says this builds a transaction and moves funds to a 'pending' state, but does not clarify whether anything is submitted on-chain, what the output is, whether signing is required, or how to proceed to application.

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?

The description is two compact sentences and front-loads the core purpose. There is no filler or redundant explanation.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a build step in a confidential-transfer workflow with four required parameters, no output schema, and no annotations. The description omits the transaction lifecycle context, such as how the built transaction is submitted or when the pending deposit is applied.

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 description coverage is 100%, and the schema already documents owner, mint, amount, and decimals in detail. The description only reiterates that `amount` is in base units as a u64 string, adding little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Build') and resource ('Deposit tx') and adds the state transition 'public → confidential pending.' It distinguishes the deposit operation from siblings like transfer and withdraw by name, though it does not explicitly state those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this build tool versus alternatives, no prerequisites, and no indication of what to do after building. The only usage hint is implicit in the name and the phrase 'confidential pending.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources