Skip to main content
Glama

get_tool_documentation

Retrieve detailed documentation for Azure DevOps tools including parameters and examples to understand functionality and usage requirements.

Instructions

Gets detailed documentation for a specific tool including parameters and examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tool_nameYesThe name of the tool to get documentation for.

Implementation Reference

  • The core handler function that executes the 'get_tool_documentation' tool logic by finding the matching tool in self.tools and returning its metadata.
    def _get_tool_documentation(self, tool_name: str) -> Dict[str, Any]: """Get documentation for a specific tool.""" tool = next((t for t in self.tools if t.name == tool_name), None) if tool: return { "name": tool.name, "description": tool.description, "inputSchema": tool.inputSchema, } else: return {"error": f"Tool '{tool_name}' not found."}
  • Registers the 'get_tool_documentation' tool with the MCP server via the self.tools list, which is returned by list_tools() handler.
    types.Tool( name="get_tool_documentation", description="Gets detailed documentation for a specific tool including parameters and examples.", inputSchema={ "type": "object", "properties": { "tool_name": { "type": "string", "description": "The name of the tool to get documentation for." }, }, "required": ["tool_name"], "additionalProperties": False } ),
  • Defines the input schema for the 'get_tool_documentation' tool, requiring a 'tool_name' string parameter.
    inputSchema={ "type": "object", "properties": { "tool_name": { "type": "string", "description": "The name of the tool to get documentation for." }, }, "required": ["tool_name"], "additionalProperties": False
  • Tool dispatch logic in _execute_tool method that routes 'get_tool_documentation' calls to the handler.
    elif name == "get_tool_documentation": return self._get_tool_documentation(arguments.get("tool_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/xrmghost/mcp-azure-devops'

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