Skip to main content
Glama

LIST_DEPOSITS

Retrieve your deposit history from the Upbit exchange to track incoming cryptocurrency transfers and verify transaction status.

Instructions

List deposits (requires private API)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNo
stateNo
pageNo
limitNo

Implementation Reference

  • The execute handler function for the LIST_DEPOSITS tool, which authenticates with Upbit API and fetches deposit list.
    execute: async ({ currency, state, page, limit }: Params) => { ensurePrivateEnabled(); const baseURL = `${config.upbit.baseUrl}${config.upbit.apiBasePath}`; const client = createHttpClient(baseURL); const query = { page, limit, currency, state, }; const token = signJwtToken(query); const data = await fetchJson<unknown>(client, "/deposits", { params: query, headers: { Authorization: `Bearer ${token}` }, }); return JSON.stringify(data, null, 2); },
  • Input parameters schema using Zod for validation.
    const paramsSchema = z .object({ currency: z.string().optional(), state: z.string().optional(), page: z.number().int().min(1).default(1), limit: z.number().int().min(1).max(100).default(50), }) .strict();
  • src/index.ts:49-49 (registration)
    Registration of the listDepositsTool in the MCP server.
    server.addTool(listDepositsTool);

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/IQAIcom/mcp-upbit'

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