Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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")])
  • 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"
  • The @mcp.tool() decorator registers the list_guidelines function as an MCP tool with FastMCP.
    @mcp.tool()

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/geneontology/noctua-mcp'

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