Skip to main content
Glama
alex1092

Up Banking MCP Server

up_get_account

Retrieve account details including current balance and information by providing the account ID through the Up Banking MCP Server integration.

Instructions

Get details for a specific account by ID, including current balance and account information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYesThe unique identifier for the account

Implementation Reference

  • Tool handler case that parses arguments, calls UpApiClient.getAccount, and returns the JSON-formatted result.
    case "up_get_account": {
      const args = request.params.arguments as { accountId: string };
      const result = await client.getAccount(args.accountId);
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • Core implementation that makes the API request to retrieve the specific account details from Up API.
    async getAccount(accountId: string): Promise<{ data: AccountResource }> {
      return this.makeRequest(`/accounts/${accountId}`);
    }
  • src/index.ts:247-261 (registration)
    Registers the tool in the TOOLS array with name, description, and input schema.
    {
      name: "up_get_account",
      description:
        "Get details for a specific account by ID, including current balance and account information.",
      inputSchema: {
        type: "object",
        properties: {
          accountId: {
            type: "string",
            description: "The unique identifier for the account",
          },
        },
        required: ["accountId"],
      },
    },
  • Defines the input schema requiring accountId string.
    inputSchema: {
      type: "object",
      properties: {
        accountId: {
          type: "string",
          description: "The unique identifier for the account",
        },
      },
      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/alex1092/up-bank-mcp-server'

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