Skip to main content
Glama

Autodocument MCP Server

by PARS-DOE
testplan-tool.d.ts2 kB
import { AnalysisResult } from '../analyzer/index.js'; import { BaseTool, AutoToolResult, BaseToolConfig } from './base-tool.js'; /** * Configuration for the test plan tool */ export interface TestPlanToolConfig extends BaseToolConfig { systemPrompt: string; topLevelPrompt: string; withChildrenPrompt: string; } /** * Tool for generating test plans */ export declare class TestPlanTool extends BaseTool<TestPlanToolConfig> { readonly name = "autotestplan"; readonly description = "Generates a test plan for code in a repository by recursively analyzing directories and files"; private openRouterClient; /** * Creates a new test plan tool * @param apiKey OpenRouter API key (optional) * @param model LLM model to use (optional) * @param updateExisting Whether to update existing files */ constructor(apiKey?: string, model?: string, updateExisting?: boolean); /** * Generates a test plan for a directory * @param directoryPath Path to the directory * @param analysisResult Results of file analysis * @param isTopLevel Whether this is the top level directory * @param childrenContent Test plans from child directories * @returns Test plan generation result */ generate(directoryPath: string, analysisResult: AnalysisResult, isTopLevel?: boolean, childrenContent?: Array<{ path: string; content: string; }>): Promise<AutoToolResult>; /** * Creates fallback content for directories that exceed limits * @param directoryPath Path to the directory * @param analysisResult Analysis result with limitation information * @returns Content for the fallback file */ createFallbackContent(directoryPath: string, analysisResult: AnalysisResult): Promise<string>; /** * Reads an existing file if it exists * @param filePath Path to the file * @returns Content of the file or null if it doesn't exist */ private readExistingFile; }

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/PARS-DOE/autodocument'

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