Skip to main content
Glama

get_todays_birthday_staff

Retrieve a list of AniList staff members celebrating their birthday today by querying the AniList MCP server. Specify the search page to organize results efficiently.

Instructions

Get all staff members whose birthday is today

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoWhat page in the search to target

Implementation Reference

  • The handler function that executes the tool's logic: fetches staff members with today's birthday from AniList API using the provided page, stringifies the result as JSON text content, or returns an error.
    async ({ page }) => { try { const staffMembers = await anilist.people.getBirthdayStaff(page); return { content: [ { type: "text", text: JSON.stringify(staffMembers, null, 2), }, ], }; } catch (error: any) { return { content: [{ type: "text", text: `Error: ${error.message}` }], isError: true, }; } }, );
  • Input schema defining the optional 'page' parameter for pagination in the tool call.
    { page: z .number() .optional() .default(1) .describe("What page in the search to target"), },
  • Registers the get_todays_birthday_staff MCP tool with server.tool(), including name, description, input schema, and metadata (title, hints). The handler is provided as the next argument.
    server.tool( "get_todays_birthday_staff", "Get all staff members whose birthday is today", { page: z .number() .optional() .default(1) .describe("What page in the search to target"), }, { title: "Get Today's Birthday Staff Members", readOnlyHint: true, openWorldHint: 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/yuna0x0/anilist-mcp'

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