Skip to main content
Glama

get_myself

Retrieve authenticated user details via integration with Backlog project management tools, enabling efficient access to user-specific information.

Instructions

Returns information about the authenticated user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Defines the 'get_myself' tool including its schema, description, output schema, and handler function that retrieves user information via backlog.getMyself().
    export const getMyselfTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getMyselfSchema>, (typeof UserSchema)['shape'] > => { return { name: 'get_myself', description: t( 'TOOL_GET_MYSELF_DESCRIPTION', 'Returns information about the authenticated user' ), schema: z.object(getMyselfSchema(t)), outputSchema: UserSchema, importantFields: ['id', 'userId', 'name', 'roleType'], handler: async () => backlog.getMyself(), }; };
  • Defines the input schema for the get_myself tool, which takes no parameters.
    const getMyselfSchema = buildToolSchema((_t) => ({}));
  • Registers the getMyselfTool as part of the 'space' toolset in the allTools function.
    { name: 'space', description: 'Tools for managing Backlog space settings and general information.', enabled: false, tools: [ getSpaceTool(backlog, helper), getUsersTool(backlog, helper), getMyselfTool(backlog, helper), ], },
  • Imports the getMyselfTool for use in tool registration.
    import { getMyselfTool } from './getMyself.js';

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/nulab/backlog-mcp-server'

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