Skip to main content
Glama

smart_status

Check if Outline Wiki's AI features are enabled and view index statistics for content management.

Instructions

Check if smart features are enabled and get index statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'smart_status' tool. It retrieves statistics from the brain (vector store) and returns whether smart features are enabled and the number of indexed chunks.
    async smart_status() { const stats = await brain.getStats(); return { enabled: stats.enabled, indexedChunks: stats.chunks, message: stats.enabled ? `Smart features are enabled with ${stats.chunks} indexed chunks.` : ERROR_MESSAGES.SMART_FEATURES_DISABLED, }; },
  • Zod schema definition for 'smart_status' tool input (no parameters required).
    export const smartStatusSchema = z.object({});
  • Inclusion of smartStatusSchema in the toolSchemas map under 'smart_status' key.
    smart_status: smartStatusSchema,
  • Registration of the 'smart_status' tool in the allTools array using createTool, which converts the Zod schema to JSON Schema for MCP.
    createTool( 'smart_status', 'Check if smart features are enabled and get index statistics.', 'smart_status' ),

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-wiki-mcp'

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