Skip to main content
Glama
xraywu

Wegene Assistant MCP Server

by xraywu

wegene-get-report-info

Retrieve comprehensive genetic testing report data for analysis and management using custom URI schemes and OAuth authentication.

Instructions

Get all available report information

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler within the MCP call_tool function that executes the wegene-get-report-info tool by calling the get_report_info helper and returning the result as text content.
    elif name == "wegene-get-report-info": return [ types.TextContent( type="text", text=get_report_info() ) ]
  • Core implementation that loads genetic report metadata from a local JSON config file and returns it as a JSON string.
    def get_report_info() -> str: """ Retrieve all report info. Since WeGene does not have a report list API, prebuild with config file. :return: JSON string of all reports """ # Read config file reports_path = "config/reports.json" with open(reports_path, "r", encoding="utf-8") as f: reports = json.load(f) return json.dumps(reports, ensure_ascii=False)
  • Registers the wegene-get-report-info tool in the server's list_tools method, defining its name, description, and empty input schema.
    types.Tool( name="wegene-get-report-info", description="Get all available report information", inputSchema={ "type": "object", "properties": {} }, ),

Other Tools

Related Tools

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/xraywu/mcp-wegene-assistant'

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