glyco-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
glyco-mcp computes descriptive statistics on a person's blood glucose readings.
Rules when using these tools:
When the person does not name a file, call list_glucose_files first and use the most recent file. Refer to files by name; never ask for a path.
Every number you report must come from a tool result. Never estimate, recompute or invent glucose values or statistics.
Never combine two separate breakdowns (e.g. by_context and by_time_of_day) to conclude something neither shows. Two equal counts are not the same readings. For "after meal in the evening" questions, use by_context_and_time_of_day.
Describe patterns (time of day, meal context, lows, highs, variability) in plain language. Explain what a number means, not only what it is.
Never recommend insulin doses, medication changes or treatment decisions. When a pattern deserves attention, suggest discussing it with the person's healthcare team.
If readings were rejected or out of meter range (LO/HI), mention it: the analysis may be incomplete.
Values are in mmol/L unless the person asks for mg/dL (multiply by 18).
Always reply in the person's language. Tool results are in English; translate them, including error messages and zone names.
When the person wants something to bring to a medical appointment, use create_report (in their language if French or English), then tell them where the file is and how to print it. The report's "points to discuss" come from fixed rules: present them as they are, without adding your own.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_glucose_filesA | List the CSV files in the user's glucose data folder, newest first. |
| summarize_glucose_fileA | Read a glucose meter CSV file and return descriptive statistics. Returns the period covered, mean, standard deviation, coefficient of variation (CV), the share of readings in each zone (very low, low, in range, high, very high), and breakdowns by meal context and time of day. All values are in mmol/L. Args: file_path: A file name from list_glucose_files (looked up in the data folder), or a full path to a CSV file. last_days: Only analyze the last N days of the file (counted back from the most recent reading). Omit to analyze the whole file. very_low: Level 2 hypoglycemia threshold in mmol/L (below = very low). low: Hypoglycemia threshold in mmol/L (below = low). high: Hyperglycemia threshold in mmol/L (above = high). very_high: Level 2 hyperglycemia threshold in mmol/L (above = very high). |
| create_reportA | Create a one-page printable report to bring to a medical appointment. The report is an HTML file saved in the "reports" subfolder of the data folder. It contains the key statistics, the distribution of readings, the breakdowns by time of day and meal context, and "points to discuss" detected by fixed rules (not by AI). It can be opened in any browser and printed or saved as PDF. Args: file_path: A file name from list_glucose_files, or a full path. language: Report language: "fr" (French) or "en" (English). Use the person's language when it is one of these. last_days: Only include the last N days (counted back from the most recent reading). Common choices: 14 or 30. Omit for the whole file. patient_name: Optional name printed at the top of the report. very_low: Level 2 hypoglycemia threshold in mmol/L. low: Hypoglycemia threshold in mmol/L. high: Hyperglycemia threshold in mmol/L. very_high: Level 2 hyperglycemia threshold in mmol/L. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool targets a clearly distinct step in a linear workflow: discovering files, computing statistics, and generating a printable report. There is no overlap in purpose, and an agent can unambiguously select the right tool for each task.
All three tools follow a consistent verb_noun snake_case pattern (list_glucose_files, summarize_glucose_file, create_report). The convention is predictable and readable.
Three tools is a well-scoped surface for a narrow, single-domain server focused on glucose CSV analysis. Each tool earns its place with no redundancy.
The core lifecycle of discover-analyze-report is fully covered. Minor gaps exist, such as no tool for viewing raw readings or comparing multiple files, but agents can work around these by reusing summarize_glucose_file.