Skip to main content
Glama

list-categories

Retrieve all available categories from note.com to organize content, filter articles by topic, and navigate the platform's content structure effectively.

Instructions

カテゴリー一覧を取得する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Full tool registration including the handler function that fetches category list from `/v2/categories` API endpoint and handles errors using shared utilities.
    "list-categories", "カテゴリー一覧を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/categories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "カテゴリー取得"); } } );
  • Calls registerUserTools which registers the list-categories tool among others.
    registerUserTools(server);
  • Static schema definition for tools/list response in HTTP transport.
    name: "list-categories", description: "note.comのカテゴリー一覧を取得", inputSchema: { type: "object", properties: {}, required: [] }
  • Fallback handler implementation for list-categories in HTTP/SSE transport JSON-RPC handling.
    } else if (name === "list-categories") { // list-categoriesツールの実装 const data = await noteApiRequest( `/v2/categories`, "GET", null, true ); result = { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };

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/shimayuz/note-com-mcp'

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