Skip to main content
Glama

settings-profile

Retrieve current user profile details including email, name, plan, and credit balance for account management.

Instructions

Get the current user's profile. Returns email, name, plan, and credit balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the "settings-profile" tool, which calls client.settings.getProfile().
    async () => {
      try {
        const result = await client.settings.getProfile();
        return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
      } catch (err) {
        const message = err instanceof Error ? err.message : String(err);
        return { content: [{ type: "text", text: `Error: ${message}` }], isError: true };
      }
    },
  • Registration of the "settings-profile" tool in the MCP server.
    server.tool(
      "settings-profile",
      "Get the current user's profile. Returns email, name, plan, and credit balance.",
      {},

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/ebenezer-isaac/llmconveyors-mcp'

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