• METRICS
  • REPORTS
  • PATTERNS
  • HUMAN

How to calculate glycemic metrics with your agent

Connect your CGM data once. Your agent handles the math and organizes the results into a clinical report.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I get TIR and GMI from my CGM data using AI?

Your agent uses the Time in Range Analyzer to pull raw sensor logs and calculate TIR, GMI, and CV. You get a structured clinical report instead of a list of raw numbers.

The results you get

Clinical data outputs

Your agent turns raw sensor logs into these specific metrics.

METRICS

Calculated glycemic values

Your agent calculates your TIR, GMI, and CV. You get the exact numbers needed for clinical review.

REPORTS

Structured clinical summaries

Your agent reorganizes raw data into a clean report. This makes it easy to read or share with a doctor.

PATTERNS

Glucose trend analysis

Your agent identifies where your levels spent the most time. It highlights specific patterns in your glucose fluctuations.

HUMAN

Clinical interpretation

Your agent provides the math, but you or your doctor must interpret the results. It doesn't make medical decisions.

The workflow

What your agent does when the data arrives.

Your agent handles the math and formatting so you don't have to do it manually.

  1. Data ingestion

    Your agent reads the raw CGM sensor logs from your data export.

    analyze_glycemic_metrics
  2. Metric calculation

    Your agent runs the formulas for TIR, GMI, and CV using the sensor data.

    analyze_glycemic_metrics
  3. Report structuring

    Your agent organizes the calculated values into a standard clinical report format.

    analyze_glycemic_metrics
  4. Summary generation

    Your agent creates a summary of the key findings from the metrics.

    analyze_glycemic_metrics

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Time in Range Analyzer tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts once the Time in Range Analyzer is connected.

Starting points

These are opening lines. Swap out the file names or date ranges to match your specific CGM export.

Time in Range Analyzer Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_5Ocma3mKj6swRn5UBRWA03lyFKOh3Jlyw6JkLdb8/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Time in Range Analyzer capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "time-in-range-analyzer-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_5Ocma3mKj6swRn5UBRWA03lyFKOh3Jlyw6JkLdb8/mcp"
    }
  }
}
Copy into chat04
  • 01

    Analyze this CGM export from my Dexcom sensor and give me the TIR and GMI.

  • 02

    Calculate the CV and generate a clinical report from this glucose data file.

  • 03

    Look at my CGM data from last week and summarize my Time in Range.

  • 04

    Create a structured report from this CSV file including GMI and CV metrics.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Time in Range Analyzer once, then ask.

Link the MCP to your client. Your login stays encrypted, and the full capability list is on the Connector page.

Connect Time in Range Analyzer to your agent

FAQ

How this task behaves

  • 01

    Can your agent change my glucose settings?

    No. Your agent only reads and analyzes data. It cannot change settings on your CGM device or pump.

  • 02

    Does your agent provide medical diagnoses?

    No. Your agent calculates metrics and organizes data. All clinical interpretations must be done by a human professional.

  • 03

    What file types can I use?

    Your agent works with standard CGM data exports like CSV files containing glucose readings.

  • 04

    Can your agent delete my historical data?

    No. Your agent has no permission to delete or modify your original data files.

  • 05

    How accurate are the GMI calculations?

    The calculations follow standard clinical formulas for GMI and TIR based on the raw data provided.

  • More questions about Time in Range Analyzer? The Connector page answers them. See everything the Time in Range Analyzer Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Time in Range Analyzer to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Time in Range Analyzer plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Time in Range Analyzer to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.