Skip to main content
Glama

get_ai_tool_documentation

Retrieve documentation for DEVONthink AI tools, including examples and use cases, to understand their functionality and applications.

Instructions

Get detailed documentation for DEVONthink AI tools including examples and use cases. Optionally specify a toolName to get docs for a single tool; omit to get docs for all four.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNameNoOptional name of the specific AI tool to document. One of: get_ai_tool_documentation, check_ai_health, ask_ai_about_documents, create_summary_document.

Implementation Reference

  • Implementation of the get_ai_tool_documentation MCP tool, including definition, schema, and run handler.
    export const getAiToolDocumentationTool = defineTool({
      name: "get_ai_tool_documentation",
      description:
        "Get detailed documentation for DEVONthink AI tools including examples and use cases. " +
        "Optionally specify a toolName to get docs for a single tool; omit to get docs for all four.",
      schema: z.object({
        toolName: z
          .enum(AI_TOOL_NAMES)
          .optional()
          .describe(
            "Optional name of the specific AI tool to document. " +
              "One of: get_ai_tool_documentation, check_ai_health, " +
              "ask_ai_about_documents, create_summary_document."
          ),
      }),
      run: async (args, _executor) => {
        const { toolName } = args;
    
        if (toolName) {
          const doc = AI_TOOL_DOCS[toolName];
          if (!doc) {
            return { error: `No documentation found for tool: ${toolName}` };
          }
          return doc;
        }
    
        // Return all tool docs as an array
        return AI_TOOL_NAMES.map((name) => AI_TOOL_DOCS[name]);
      },
    });

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/mnott/Devon'

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