Skip to main content
Glama

get_account_info

Extract account details by parsing Next.js flight data from rendered pages to access user information in the school portal.

Instructions

Extract account information by parsing Next.js flight data from a rendered page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for get_account_info: fetches account info via API and returns JSON response or error message.
    case "get_account_info": try { const accountInfo = await this.api.getAccountInfoFromScript(); return { content: [ { type: "text", text: JSON.stringify(accountInfo, null, 2), }, ], }; } catch (error) { return { content: [ { type: "text", text: `Error: ${error instanceof Error ? error.message : "Unknown error"}\n\nEnsure valid authentication cookies are set with the set_cookies tool.`, }, ], }; }
  • src/server.ts:204-212 (registration)
    Registration of the get_account_info tool in ListToolsRequestHandler, defining name, description, and empty input schema.
    { name: "get_account_info", description: "Extract account information by parsing Next.js flight data from a rendered page", inputSchema: { type: "object", properties: {}, }, },
  • Input schema for get_account_info tool: empty object (no parameters required).
    inputSchema: { 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/minagishl/nlobby-mcp'

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