Skip to main content
Glama

get-my-member-info

Retrieve your Dooray member profile and ID to authenticate and enable task management operations like filtering by assignee.

Instructions

Get information about the authenticated user.

This tool retrieves your Dooray member profile using your API token. Most importantly, it returns your member ID which is needed for other operations like filtering tasks by assignee.

No parameters needed - it automatically uses your authentication token.

Examples:

  • Get my info: {} (empty parameters)

  • "What's my Dooray member ID?"

  • "Show my Dooray profile"

Returns your complete member profile including:

  • id: Your member ID (important for task queries)

  • name, email, organization

  • locale, timezone settings

  • display preferences

This is often the first tool to call to get your member ID for use in other tools like list-tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic: calls the common API to retrieve the authenticated user's member information, returns it as formatted JSON in the MCP content format, or an error message if failed.
    export async function getMyMemberInfoHandler(args: GetMyMemberInfoInput) { try { const result = await commonApi.getMyMemberInfo(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error: ${formatError(error)}`, }, ], isError: true, }; } }
  • Zod schema for input validation. This tool takes no parameters (empty object).
    export const getMyMemberInfoSchema = z.object({});
  • src/index.ts:45-45 (registration)
    Registration of the tool in the central toolRegistry, mapping the tool name to its handler and schema functions for execution and validation.
    'get-my-member-info': { handler: getMyMemberInfoHandler, schema: getMyMemberInfoSchema },
  • Core API helper function that makes the HTTP GET request to Dooray's /common/v1/members/me endpoint to fetch the current authenticated member's information.
    export async function getMyMemberInfo(): Promise<MyMemberInfo> { const client = getClient(); return client.get(`${COMMON_BASE}/members/me`); }
  • src/index.ts:70-70 (registration)
    The tool object is added to the tools list array used for listing available tools in MCP (list_tools request).
    getMyMemberInfoTool,

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/jhl8041/dooray-mcp'

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