Skip to main content
Glama
paperinvest

Paper MCP Server

by paperinvest

get_account

Retrieve account details by providing the account ID on the Paper MCP Server, enabling AI assistants to access and manage trading platform data through natural language interactions.

Instructions

Get account details by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYesAccount ID

Implementation Reference

  • Handler implementation for the 'get_account' tool. Makes a GET request to the API endpoint `/accounts/{accountId}` to fetch account details.
    case 'get_account': response = await api.get(`/accounts/${args.accountId}`); break;
  • Tool definition including name, description, and input schema for 'get_account'. Used for tool discovery and validation.
    name: 'get_account', description: 'Get account details by ID', inputSchema: { type: 'object', properties: { accountId: { type: 'string', description: 'Account ID' } }, required: ['accountId'] } },

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

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