enhance_tool_description
Improves MCP tool documentation by analyzing tool metadata to add detailed argument definitions, parameter examples, and usage patterns for better clarity.
Instructions
Analyzes existing MCP tools and enhances their descriptions with detailed argument definitions, parameter examples, and usage patterns. Use this tool when you need to improve or generate better documentation for a tool, such as adding examples or clarifying parameters. This tool examines the current tool's metadata, inspects its execute method signature, and generates comprehensive documentation improvements.
Args: tool_name (str): Name of the tool to enhance (e.g., 'get_configurations', 'list_indexes') generate_examples (bool, optional): Whether to generate parameter examples based on the tool's signature and category. Defaults to True. include_response_format (bool, optional): Whether to analyze and include expected response format information. Defaults to True.
Response Format: Returns a dictionary with 'status' field and 'data' containing:
tool_name: The analyzed tool's name
original_description: Original tool description
enhanced_description: Improved description with details
analysis: Detailed parameter and format analysis
recommendations: Suggestions for further improvements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| generate_examples | No | ||
| include_response_format | No |