list_guidelines
Retrieve available GO-CAM guideline documents to access biological modeling standards and protocols for Gene Ontology Causal Activity Models.
Instructions
List all available GO-CAM guideline documents.
Returns a list of available guideline names that can be accessed using the get_guideline_content tool.
Returns: Dictionary with 'guidelines' key containing list of available guidelines
Examples: # List all available guidelines result = list_guidelines() for guide in result['guidelines']: print(guide)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/noctua_mcp/mcp_server.py:1879-1902 (handler)The handler function for the 'list_guidelines' MCP tool. It lists available GO-CAM guideline Markdown files from the guidelines directory by calling the helper _get_available_guidelines() and formats the result as a dictionary.@mcp.tool() async def list_guidelines() -> Dict[str, Any]: """List all available GO-CAM guideline documents. Returns a list of available guideline names that can be accessed using the get_guideline_content tool. Returns: Dictionary with 'guidelines' key containing list of available guidelines Examples: # List all available guidelines result = list_guidelines() for guide in result['guidelines']: print(guide) """ guidelines = _get_available_guidelines() return { "guidelines": guidelines, "count": len(guidelines), "note": "Use get_guideline_content(guideline_name) to fetch any guideline" }
- Helper utility function that returns a sorted list of available guideline filenames (without .md extension) by globbing the GUIDELINES_DIR directory.def _get_available_guidelines() -> List[str]: """Get list of available guideline files.""" if not GUIDELINES_DIR.exists(): return [] return sorted([f.stem for f in GUIDELINES_DIR.glob("*.md")])
- src/noctua_mcp/mcp_server.py:27-28 (helper)Definition of GUIDELINES_DIR path, used by list_guidelines and related tools to locate the guideline Markdown files.# Path to guidelines directory GUIDELINES_DIR = Path(__file__).parent / "guidelines"
- src/noctua_mcp/mcp_server.py:1879-1879 (registration)The @mcp.tool() decorator registers the list_guidelines function as an MCP tool with FastMCP.@mcp.tool()