Skip to main content
Glama
ainote-dev

AI Note MCP Server

by ainote-dev

list_categories

Retrieve all available task categories within AI Note MCP Server to organize and manage tasks effectively using natural language commands.

Instructions

List all categories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for 'list_categories' tool. Proxies the tool call to the backend API client.
    handler: async (_args, { apiClient }) => { const result = await apiClient.callTool('list_categories', {}); return result; // Return full result with { content: [...] } }
  • Schema definition for the 'list_categories' tool, including name, description, and input schema (no parameters).
    function listCategoriesDefinition() { return { name: 'list_categories', description: 'List all categories', inputSchema: { type: 'object', properties: {} } }; }
  • Top-level registration of shared tools (including 'list_categories') to the ToolRegistry.
    function registerTools(registry, { includeChatGpt }) { registry.registerMany(getSharedTools()); if (includeChatGpt) { registry.registerMany(getChatGptTools()); } }
  • Specific registration entry for 'list_categories' tool in getSharedTools() array.
    { definition: listCategoriesDefinition(), handler: async (_args, { apiClient }) => { const result = await apiClient.callTool('list_categories', {}); return result; // Return full result with { content: [...] } } }

Other Tools

Related Tools

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/ainote-dev/ainote-mcp'

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