Skip to main content
Glama

GET_DEPOSIT_CHANCE

Check deposit availability for specific cryptocurrencies on Upbit exchange. Verify if deposits are enabled for a currency and network type before transferring funds.

Instructions

Get deposit availability information for a currency (private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
net_typeNo

Implementation Reference

  • The execute function implementing the core logic of the GET_DEPOSIT_CHANCE tool. It authenticates with Upbit API using JWT, queries the deposit chance endpoint for the given currency and optional net_type, and returns the JSON response.
    execute: async ({ currency, net_type }: Params) => { ensurePrivateEnabled(); const baseURL = `${config.upbit.baseUrl}${config.upbit.apiBasePath}`; const client = createHttpClient(baseURL); const query = { currency, net_type }; const token = signJwtToken(query); const data = await fetchJson<unknown>(client, "/deposits/chance/coin", { params: query, headers: { Authorization: `Bearer ${token}` }, }); return JSON.stringify(data, null, 2); },
  • Zod schema defining the input parameters for the tool: 'currency' (string, required) and 'net_type' (string, optional).
    const paramsSchema = z .object({ currency: z.string(), net_type: z.string().optional(), }) .strict();
  • src/index.ts:44-44 (registration)
    Registers the getDepositChanceTool with the FastMCP server instance.
    server.addTool(getDepositChanceTool);

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