Skip to main content
Glama

get_studio

Retrieve detailed information about a studio using its AniList ID or name, enabling quick access to essential data via the AniList MCP server.

Instructions

Get information about a studio by its AniList ID or name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioYesThe studio ID or name

Implementation Reference

  • tools/misc.ts:147-177 (registration)
    Full registration of the 'get_studio' MCP tool, including name, description, Zod input schema for 'studio' parameter (ID or name), tool hints, and inline handler function that uses anilist.studio() to fetch data and returns formatted JSON or error.
    "get_studio", "Get information about a studio by its AniList ID or name", { studio: z .union([z.string(), z.number()]) .describe("The studio ID or name"), }, { title: "Get Studio Information", readOnlyHint: true, openWorldHint: true, }, async ({ studio }) => { try { const studioInfo = await anilist.studio(studio); return { content: [ { type: "text", text: JSON.stringify(studioInfo, null, 2), }, ], }; } catch (error: any) { return { content: [{ type: "text", text: `Error: ${error.message}` }], isError: true, }; } }, );
  • The handler function for 'get_studio' tool. It takes the studio input, calls anilist.studio(studio), stringifies the result as JSON text content, or returns an error response.
    async ({ studio }) => { try { const studioInfo = await anilist.studio(studio); return { content: [ { type: "text", text: JSON.stringify(studioInfo, null, 2), }, ], }; } catch (error: any) { return { content: [{ type: "text", text: `Error: ${error.message}` }], isError: true, }; } },
  • Zod input schema for the 'studio' parameter, accepting either string (name) or number (ID).
    studio: z .union([z.string(), z.number()]) .describe("The studio ID or name"),

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