Skip to main content
Glama

list_collections

Retrieve all available collections from Outline wiki for document organization and management.

Instructions

Get list of all collections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the list_collections tool by calling the Outline API endpoint '/collections.list' and formatting the results using formatCollections.
    async list_collections() { const { data } = await apiCall(() => apiClient.post<OutlineCollection[]>('/collections.list') ); return formatCollections(data || []); },
  • Zod schema definition for the list_collections tool input, which takes no parameters.
    export const listCollectionsSchema = z.object({});
  • src/lib/tools.ts:46-50 (registration)
    Registers the list_collections tool in the MCP tool definitions array, providing name, description, and schema reference.
    createTool( 'list_collections', 'Get list of all collections.', 'list_collections' ),

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/huiseo/outline-smart-mcp'

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