Skip to main content
Glama

list-categories

Retrieve all available categories from note.com to organize content and filter articles by topic.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'list-categories' MCP tool. Includes empty input schema {}, description in Japanese, and handler function that calls the Note API `/v2/categories` endpoint to retrieve category list, formats response with createSuccessResponse, and handles errors.
    server.tool( "list-categories", "カテゴリー一覧を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/categories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "カテゴリー取得"); } } );
  • The handler function for 'list-categories' tool. Fetches categories via API and returns formatted success response or error.
    async () => { try { const data = await noteApiRequest(`/v2/categories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "カテゴリー取得"); } }

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