How to Build Lab Result Tools with Copilot
Build blood test interpretation tools with Copilot and ToolRouter.
ToolLab ResultsCopilot makes biomarker reference data available in your IDE for building health tracking applications, clinical decision support tools, and patient education platforms. The structured marker data includes reference ranges and clinical significance for each biomarker.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Lab Results tool:
- In Copilot Chat: "Look up the HbA1c biomarker using lab-results"
- Copilot returns reference ranges, clinical significance, and marker explanation
- Ask: "Generate a TypeScript interface for the biomarker lookup response"
- Request: "Write a function that classifies a biomarker value as normal, borderline, or abnormal"
Example Prompt
Try this with Copilot using the Lab Results tool
Look up the following biomarkers using lab-results: HbA1c, fasting glucose, total cholesterol, LDL, HDL. Return as JSON with marker name, normal range, units, and clinical significance.
Tips
- Build a result classifier that maps values to traffic-light status (normal/borderline/abnormal)
- Use gender-specific reference ranges where available — many markers differ by sex
- Combine with a trends chart to show how values change over multiple test dates