Skip to main content
Glama

settings-preferences-get

Retrieve current user preferences to personalize AI agent interactions for job hunting, B2B sales, and resume optimization tasks.

Instructions

Get the current user's preferences.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'settings-preferences-get' tool, which fetches user preferences using the client.settings.getPreferences() method.
    server.tool(
      "settings-preferences-get",
      "Get the current user's preferences.",
      {},
      async () => {
        try {
          const result = await client.settings.getPreferences();
          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 };
        }
      },
    );

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