Skip to main content
Glama
Pulmonary Dynamic Flow-Volume Loop (FEF25-75) Skill

Pulmonary Dynamic Flow-Volume Loop (FEF25-75) Skill

Pulmonary Dynamic Flow-Volume Loop (FEF25-75) Skill

License Python OpenClaw GenPark MCP

Dynamic Spirometry Flow-Volume Loop and Maximum Mid-Expiratory Flow ($\text{FEF}_{25-75%} / \text{MMEF}$) Analyzer based on respiratory mechanics.

flowchart TD
    A[Maximal Flow-Volume Loop: FVC, FEV1, FEF25-75] --> B[Compute FEV1/FVC % & % Predicted FEF25-75]
    A --> C[Calculate FEF50 / FIF50 Ratio]
    B & C --> D{Pattern Evaluation}
    D -- FEV1/FVC < 70% --> E[Classical Obstructive Defect]
    D -- FEF50/FIF50 > 1.5 --> F[Variable Extrathoracic Obstruction]
    D -- FEF25-75 < 65% & Normal FEV1/FVC --> G[Isolated Small Airway Disease]

Features

  • Zero PIP Dependencies: Implemented strictly with Python Standard Library (math, json, sys, typing).

  • Small Airway Sensitivity: Detects subtle peripheral bronchiolar narrowing overlooked by standard $\text{FEV}_1$.

  • Anatomical Differential: Discriminates extrathoracic vs intrathoracic upper airway limitations.

  • Dual Architecture: Native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio server.

Related MCP server: respiratory-muscle-strength

Quickstart

python example_usage.py

License

Apache-2.0

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables evaluation of pulmonary gas diffusion by calculating hemoglobin-adjusted DLCO, percent predicted DLCO, transfer coefficient (KCO), and a pulmonary diffusion resilience score from clinical inputs.
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables assessment of maximal inspiratory and expiratory pressures against normative predictions, calculation of a diaphragmatic resilience score, and generation of inspiratory muscle training prescriptions.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables deterministic calculation of HCVR slope, central respiratory chemosensitivity, and CO2 tolerance from end-tidal CO2 and spirometry inputs. It also provides chemoreflex loop-gain stratification for personal-agent actions.
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables deterministic calculation and classification of respiratory impedance, peripheral airway resistance (R5–R20), and reactance from oscillometry measurements through JSON-RPC tools for LLM and agent workflows.
      MIT