Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

getLeverageBrackets

Retrieve notional and leverage brackets for cryptocurrency trading positions to manage risk and margin requirements on the Aster exchange.

Instructions

Get notional and leverage brackets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo

Implementation Reference

  • The handler logic for the 'getLeverageBrackets' tool. It invokes a signed GET request to the Binance Futures API endpoint '/fapi/v1/leverageBracket' using the generic makeRequest function.
    case 'getLeverageBrackets': return makeRequest('GET', '/fapi/v1/leverageBracket', args, true);
  • Input schema for the 'getLeverageBrackets' tool, defining 'symbol' as a required string property.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, }, },
  • src/index.ts:490-499 (registration)
    Registration of the 'getLeverageBrackets' tool in the tools list provided to the MCP server.setTools method.
    { name: 'getLeverageBrackets', description: 'Get notional and leverage brackets.', inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, }, }, },

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/questflowai/aster-mcp-server'

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