Skip to main content
Glama
amansk

LibreLink MCP Server

by amansk

LibreLink MCP Server

License: MIT Node.js Version TypeScript

A local Model Context Protocol (MCP) server that provides Claude Desktop with secure access to your FreeStyle LibreLink continuous glucose monitoring (CGM) data.

LibreLink MCP Demo

🌟 Features

  • Real-time glucose monitoring - Get current readings with trend arrows

  • Historical data analysis - Retrieve glucose history over customizable periods

  • Comprehensive analytics - Time-in-range, GMI, variability metrics

  • Pattern recognition - Dawn phenomenon, meal responses, stability analysis

  • Privacy-first design - All data stays local on your machine

  • Secure credential management - Local encrypted storage

  • Cross-platform health integration - Works alongside other health MCP servers

Related MCP server: Garmin Health MCP Server

šŸ“‹ Prerequisites

  • LibreLink Account: Active FreeStyle LibreLink account with glucose data

  • Compatible Sensor: FreeStyle Libre 2 or 3 with data sharing enabled

  • Node.js: Version 18.0.0 or higher

  • Claude Desktop: For MCP integration

šŸš€ Quick Start

1. Installation

# Clone the repository
git clone https://github.com/yourusername/librelink-mcp-server.git
cd librelink-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

2. Configuration

# Configure your LibreLink credentials
npm run configure

You'll be prompted for:

  • Email: Your LibreLink account email

  • Password: Your LibreLink account password

  • Region: US or EU (based on your location)

  • Target ranges: Glucose target ranges (default: 70-180 mg/dL)

3. Test Connection

# Test your LibreLink connection
node test-real-connection.js

4. Claude Desktop Integration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "librelink": {
      "command": "node",
      "args": ["/path/to/librelink-mcp-server/dist/index.js"]
    }
  }
}

5. Restart Claude Desktop

Restart Claude Desktop to load the new MCP server.

🩸 Usage Examples

Once integrated with Claude Desktop, you can ask:

Basic Glucose Queries

  • "What's my current glucose level?"

  • "Show me my glucose readings from the past 6 hours"

  • "What's my average glucose today?"

Analytics & Insights

  • "Calculate my time in range for this week"

  • "Analyze my glucose patterns and trends"

  • "Do I have dawn phenomenon?"

  • "How stable are my overnight glucose levels?"

Health Correlations

When combined with other health MCP servers:

  • "How does my sleep quality affect my glucose control?"

  • "Compare my glucose variability with my stress levels"

  • "Show the impact of my supplements on glucose stability"

šŸ›  Available MCP Tools

Tool

Description

Parameters

get_current_glucose

Real-time glucose reading with trend

None

get_glucose_history

Historical glucose data

hours (default: 24)

get_glucose_stats

Statistics and time-in-range

days (default: 7)

get_glucose_trends

Pattern analysis

period (daily/weekly/monthly)

get_sensor_info

Sensor status and info

None

configure_credentials

Update LibreLink credentials

email, password, region

configure_ranges

Set target glucose ranges

target_low, target_high

validate_connection

Test LibreLink connection

None

šŸ“Š Sample Output

Current Glucose Reading

{
  "current_glucose": 105,
  "timestamp": "2025-07-14T21:19:24.000Z",
  "trend": "Flat",
  "status": "Normal",
  "color": "green"
}

Glucose Statistics

{
  "analysis_period_days": 7,
  "average_glucose": 93.46,
  "glucose_management_indicator": 5.55,
  "time_in_range": {
    "target_70_180": 100.0,
    "below_70": 0.0,
    "above_180": 0.0
  },
  "variability": {
    "standard_deviation": 7.52,
    "coefficient_of_variation": 8.04
  }
}

Trend Analysis

{
  "period": "daily",
  "patterns": [
    "Good postprandial glucose control",
    "Excellent overnight glucose stability"
  ],
  "dawn_phenomenon": false,
  "meal_response_average": 0,
  "overnight_stability": 2.08
}

šŸ”§ Development

Running Tests

# Run all tests
npm test

# Test MCP protocol
npm run test:mcp

# Test analytics with mock data
npm run test:analytics

# Test with real LibreLink data (requires configuration)
node test-real-data.js

Building

# Build TypeScript
npm run build

# Type checking
npm run typecheck

# Development mode
npm run dev

Project Structure

librelink-mcp-server/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts              # Main MCP server
│   ā”œā”€ā”€ librelink-client.ts   # LibreLink API wrapper
│   ā”œā”€ā”€ glucose-analytics.ts  # Analytics and statistics
│   ā”œā”€ā”€ config.ts             # Configuration management
│   ā”œā”€ā”€ configure.ts          # CLI configuration tool
│   └── types.ts              # TypeScript definitions
ā”œā”€ā”€ config/
│   └── default.json          # Default configuration
ā”œā”€ā”€ test-*.js                 # Test suites
ā”œā”€ā”€ package.json
└── README.md

šŸ”’ Security & Privacy

Data Privacy

  • Local processing only - No data sent to external servers

  • Your data stays on your machine - Complete privacy control

  • No analytics or tracking - Zero telemetry

Credential Security

  • Local storage - Credentials stored in ~/.librelink-mcp/config.json

  • File permissions - Automatically set to user-only access (600)

  • No cloud storage - Never uploaded or shared

Security Best Practices

# Verify file permissions
ls -la ~/.librelink-mcp/config.json
# Should show: -rw------- (user read/write only)

# Optional: Encrypt config directory
# (Implementation details in documentation)

āš ļø Important Notes

  • This project uses an unofficial API through reverse engineering

  • Not affiliated with Abbott or FreeStyle Libre

  • Use at your own discretion and ensure compliance with LibreLink terms

  • API may change - community maintained compatibility

Data Sharing Requirements

  • Ensure your LibreLink app has data sharing enabled

  • Your sensor must be active and transmitting data

  • LibreLink account (not LibreLinkUp) credentials required

Sensor Compatibility

  • āœ… FreeStyle Libre 2

  • āœ… FreeStyle Libre 3

  • ā“ FreeStyle Libre 1 (may work, not tested)

šŸ› Troubleshooting

Common Issues

"No connections found"

  • Verify you're using LibreLink (not LibreLinkUp) credentials

  • Check that data sharing is enabled in your LibreLink app

  • Ensure your sensor is active and connected

"Authentication failed"

  • Double-check email and password

  • Verify correct region (US/EU)

  • Try logging into LibreLink app to confirm credentials

"Connection timeout"

  • Check internet connection

  • Verify LibreLink service status

  • Try again after a few minutes

Getting Help

  1. Run diagnostics:

    node diagnose-account.js
  2. Check logs: Look for error messages in the console output

  3. Test connection:

    node test-real-connection.js
  4. Open an issue: Include diagnostic output and error messages

šŸ¤ Contributing

We welcome contributions! Please:

  1. Fork the repository

  2. Create a feature branch: git checkout -b feature/amazing-feature

  3. Make your changes with tests

  4. Follow the existing code style

  5. Submit a pull request

Development Guidelines

  • TypeScript required - Maintain type safety

  • Test coverage - Add tests for new features

  • Documentation - Update README for new functionality

  • Security first - Never commit credentials or sensitive data

šŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

  • libre-link-unofficial-api - Community-maintained LibreLink API client

  • MCP Protocol - Anthropic's Model Context Protocol

  • FreeStyle Libre Community - Inspiration and reverse engineering efforts

  • Open Source Diabetes Projects - Nightscout, OpenAPS, and others

⭐ Support

If this project helps you manage your diabetes with AI assistance, please:

  • ⭐ Star the repository

  • šŸ› Report issues you encounter

  • šŸ’” Suggest improvements

  • šŸ¤ Contribute to the project


Disclaimer: This is an unofficial project not affiliated with Abbott or FreeStyle Libre. Use responsibly and in compliance with applicable terms of service. Always consult healthcare professionals for medical decisions.

Available Tools

8 tools
configure_credentialsA

Set up or update your LibreLink account credentials for data access. Required before using any glucose reading tools. Credentials are stored securely on your local machine only.

ParametersJSON Schema
NameRequiredDescriptionDefault
emailYesYour LibreLink account email address (same as used in the LibreLink app)
regionNoYour LibreLink account region. US for United States, EU for Europe. Default: US
passwordYesYour LibreLink account password

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses that credentials are stored securely and only on the local machine, a valuable privacy detail not available from annotations. It also hints that the tool can create or update credentials, but doesn't elaborate on validation or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact: two sentences that cover purpose, usage prerequisite, and security. It front-loads the main action and avoids redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations or output schema, the description covers the core essentials: what it does, when to use, and a security property. It lacks details on outcomes or confirmation, but this is acceptable for a simple configuration tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all parameters with 100% description coverage, so the description adds no extra parameter semantics. The baseline of 3 applies since schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb ('Set up or update') and resource ('LibreLink account credentials'), linked to data access. It distinguishes itself from sibling tools that retrieve glucose data, making its purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states that credentials are required before using any glucose reading tools, establishing a clear prerequisite. While it doesn't mention alternatives (there are none for credential setup), the context is strong enough to guide the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

configure_rangesA

Customize your target glucose range for personalized time-in-range calculations. Standard range is 70-180 mg/dL, but your healthcare provider may recommend different targets based on your individual needs.

ParametersJSON Schema
NameRequiredDescriptionDefault
target_lowYesLower bound of target range in mg/dL. Common values: 70 (standard), 80 (tighter control), 60 (athletic)
target_highYesUpper bound of target range in mg/dL. Common values: 180 (standard), 140 (tighter control), 200 (relaxed)

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It explains the effect on personalized time-in-range calculations and mentions the standard range, but it does not disclose whether the setting persists, whether there is validation (e.g., target_low < target_high), or what happens after the range is set. This is a moderate disclosure but leaves key operational details unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, with the primary action stated first and supporting context second. There is no fluff or repetition, making it highly concise and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter configuration tool, the description provides purpose, context, and the standard range reference. It lacks details about validation or persistence, but given the simplicity and fully-described schema, the information is mostly sufficient for an agent to select and invoke the tool. A higher score would require more operational detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with detailed descriptions for both target_low and target_high, including common values. The tool description's mention of the standard range (70-180) duplicates what the schema already provides, so it adds no additional parameter semantics. Baseline 3 is appropriate given full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Customize your target glucose range for personalized time-in-range calculations.' It uses a specific verb ('customize') and resource ('target glucose range'), and the phrase 'time-in-range calculations' differentiates it from sibling read/connection tools and configure_credentials.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it: when a healthcare provider recommends different targets than the standard 70-180 mg/dL range. It doesn't explicitly list alternatives or exclusions, but there are no direct sibling tools that compete with this configuration action, making the usage context clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_current_glucoseA

Get the most recent glucose reading from your FreeStyle Libre sensor. Returns current glucose value in mg/dL, trend direction (rising/falling/stable), and whether the value is in target range. Use this for real-time glucose monitoring.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It does this well by explaining what the tool returns: current glucose in mg/dL, trend direction, and in-target status. It doesn't discuss side effects or error scenarios, but for a read-only getter, the behavior is transparent and the output is clearly specified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, both valuable. It front-loads the primary action ('Get the most recent glucose reading') and then immediately provides the key return details and the intended use case. There is no redundant or filler content; every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no parameters, no annotations, no output schema), the description is complete. It explains what it returns, the unit of measurement, and the use case. It also positions the tool among siblings by focusing on 'most recent' and 'real-time,' covering all necessary context for an agent to select and invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the description is not required to explain parameter semantics. The baseline for zero parameters is 4, and the description appropriately focuses on the output rather than input. No additional parameter clarification is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb and resource: 'Get the most recent glucose reading from your FreeStyle Libre sensor.' It further distinguishes itself from siblings by focusing on the current reading, not history, stats, or trends. It also enumerates the returned data (value, trend, target range), making the purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly identifies the use case: 'Use this for real-time glucose monitoring.' This gives clear context for when to use the tool. It doesn't mention alternatives or exclusions, but the real-time focus implicitly differentiates it from historical tools like get_glucose_history or aggregation tools like get_glucose_stats.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_glucose_historyA

Retrieve historical glucose readings for analysis. Returns an array of timestamped glucose values. Useful for reviewing past glucose levels, identifying patterns, or checking overnight values. Default retrieves 24 hours of data.

ParametersJSON Schema
NameRequiredDescriptionDefault
hoursNoNumber of hours of history to retrieve (1-720). Default: 24. Examples: 1 for last hour, 8 for overnight, 168 for one week

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the return format ('array of timestamped glucose values') and the default behavior ('Default retrieves 24 hours of data'). This is sufficient for a simple read-only operation, though it does not disclose details like chronological ordering or unit of measure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three succinct sentences, each adding distinct value: purpose, return type, and common use cases with the default behavior. There is no redundancy or fluff, and the most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one optional parameter and no output schema, the description is complete: it explains what the tool does, what it returns, and the default window. It omits minor details like timezone or units, but these are not critical for a basic history retrieval tool given the clarity of the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description covers 100% of parameters with detailed information: range (1-720), default (24), and examples (1, 8, 168). The description adds only a reinforcement of the default, providing no additional semantic value beyond the schema. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves historical glucose readings, using a specific verb ('retrieve') and resource ('historical glucose readings'). This distinguishes it from sibling tools like get_current_glucose, which focuses on current readings, and get_glucose_stats, which provides statistical summaries rather than raw data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit use cases: 'reviewing past glucose levels, identifying patterns, or checking overnight values.' This gives clear context for when to use the tool, but it does not explicitly mention alternatives or exclusion rules, such as 'for current glucose, use get_current_glucose.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_glucose_statsA

Calculate comprehensive glucose statistics including average glucose, GMI (estimated A1C), time-in-range percentages, and variability metrics. Essential for diabetes management insights and identifying areas for improvement.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to analyze (1-90). Default: 7. Common periods: 7 (weekly report), 14 (two weeks), 30 (monthly), 90 (quarterly)

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the calculation nature but doesn't mention any potential caveats, preconditions (e.g., connection), output format, or error handling. The description adds no behavioral context beyond the obvious read-only calculation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, first is a clear action statement, second adds context. No filler, front-loaded with the verb.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has one optional param, no output schema, no annotations. The description lists the metrics computed, but misses any note on output structure or preconditions. It's adequate for a simple stats tool but leaves some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema fully describes the days parameter with default and range. The description doesn't mention parameters but that's unnecessary given 100% coverage. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool calculates glucose statistics with specific metrics (average, GMI, TIR, variability). It distinguishes from sibling tools like get_current_glucose (single reading) and get_glucose_history (raw data).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says it's 'essential for diabetes management insights' but doesn't explicitly contrast with sibling tools or state when to use it instead of history/trends. Usage is implied by the nature of the tool, but no direct alternatives are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_sensor_infoA

Get information about your active FreeStyle Libre sensor including activation date, remaining lifetime, and connection status. Use this to check if sensor is working properly or needs replacement.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It does indicate the kind of information returned (activation date, remaining lifetime, connection status) and implies a read-only operation, but it does not disclose how the tool behaves if no sensor is active, if connection fails, or whether it requires prior configuration. This is a moderate level of transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the primary purpose and followed by a clear use case. Every word contributes meaning, with no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only tool, the description covers the essential context: what the tool does, what data it returns, and when to use it. It lacks details about error states or return format, but given the simplicity and the absence of an output schema, the description is adequately complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4. The description adds no parameter-specific details, but none are needed. The information about what data is retrieved compensates for the lack of parameters in explaining what the tool does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: to retrieve information about the active FreeStyle Libre sensor, listing specific data points (activation date, remaining lifetime, connection status). The verb 'Get' is specific and the resource is well-defined, and this distinguishes it from sibling tools that focus on glucose data or configuration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit context for when to use the tool: 'Use this to check if sensor is working properly or needs replacement.' This gives clear usage guidance, though it does not explicitly mention alternatives or when not to use it. The sibling tool names imply other tools for glucose-specific tasks, but the description does not cross-reference them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

validate_connectionA

Test the connection to LibreLink servers and verify your credentials are working. Use this if you encounter errors or after updating credentials. Returns success/failure status.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must carry the transparency burden. It discloses that the tool returns a success/failure status and tests connectivity/credentials. However, it does not mention potential error types, latency, or whether any state changes occur, which would be valuable but not critical for a simple test operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three short, front-loaded sentences: what it does, when to use it, and what it returns. Every sentence earns its place, with no filler or repetition of schema information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parameterless, simple diagnostic tool, the description is sufficiently complete: it states the purpose, usage scenario, and return value. Lacking an output schema, the mention of 'success/failure status' is adequate. It could be slightly more detailed about what 'success' means, but this is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the schema coverage is 100% (vacuous). The baseline for zero-parameter tools is 4, and the description does not need to explain parameters. It correctly focuses on the tool's action and return value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool tests the connection to LibreLink servers and verifies credentials. It uses a specific verb ('Test') and resource ('connection to LibreLink servers'), and distinguishes itself from sibling tools by focusing on connection validation rather than data retrieval or configuration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool: 'if you encounter errors or after updating credentials'. It does not explicitly name alternatives, but this usage context is clear and distinguishable from sibling tools like configure_credentials or get_current_glucose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv1.0.0
    • First observedconfigure_credentials
    • First observedconfigure_ranges
    • First observedget_current_glucose
    • First observedget_glucose_history
    • First observedget_glucose_stats
    • First observedget_glucose_trends
    • First observedget_sensor_info
    • First observedvalidate_connection

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have distinct purposes: current glucose, history, stats, trends, sensor info, credentials, ranges, and connection validation. However, get_glucose_stats and get_glucose_trends both perform analysis on glucose data and could be confused by an agent, though their descriptions clarify the difference.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with lowercase and underscores: get_* for data retrieval, configure_* for setup, and validate_connection for testing. No mixed conventions or inconsistent verb styles.

Tool Count5/5

The 8 tools are well-scoped for a glucose monitoring server. Each tool addresses a distinct need: current reading, history, statistics, trends, sensor information, credential setup, range configuration, and connection validation. No redundant or unnecessary tools.

Completeness4/5

The tool set covers core glucose monitoring workflows: reading current values, retrieving history, calculating stats, analyzing trends, and checking sensor status. Configuration and connection validation are also included. A minor gap is the lack of a tool to filter history by specific time ranges, but the default 24-hour window is likely sufficient for most use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables Claude Desktop to access and analyze Garmin wearable health data including sleep, HRV, Body Battery, and activity metrics. Users can query their health trends, track recovery, and generate interactive HTML dashboards using natural language.
    9
    6
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables reading real-time continuous glucose monitor data from Dexcom sensors via the Share API, allowing Claude to access glucose levels, trends, and statistics.
    -