Skip to main content
Glama

get_api_key_information

Retrieve detailed API key information for managing and configuring Bybit cryptocurrency trading accounts. Use this tool to access essential data for integration, security, and trading automation.

Instructions

Get API key information

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • Core implementation of getApiKeyInformation tool - makes authenticated API request to Bybit /v5/user/query-api endpoint to retrieve API key details.
    async getApiKeyInformation(): Promise<BybitResponse<ApiKeyInfo> | { error: string }> { return this.makeBybitRequest('/v5/user/query-api', 'GET', {}); }
  • MCP server tool handler (switch case) that executes the tool by calling the BybitService method and returns JSON-formatted response.
    case 'get_api_key_information': { const result = await this.bybitService.getApiKeyInformation(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
  • src/index.ts:450-456 (registration)
    Registration of the MCP tool in the tools list, including name, description, and empty input schema (no parameters required).
    name: 'get_api_key_information', description: 'Get API key information', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the tool (empty object, no input parameters).
    type: 'object', properties: {}, }, },

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/kondisettyravi/mcp-bybit-node'

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