fiber
v1.4.0Optical ops MCP for AI data centers: telemetry, RUL, digital twin, NCCL, SPARQL.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fiber_health
Check FIBER platform health — returns status of ClickHouse and PostgreSQL backends. Use this first to confirm the platform is reachable before making other queries.
fiber_info
Get FIBER API version, supported features list, scale benchmarks and ML validation metrics. Use this to understand what capabilities are available in the current deployment.
fiber_cluster_overview
Cluster-wide optical health summary: total ports, normal/warning/critical counts, average risk score, active UFM predictions, speed distribution (400G / 800G / 400ZR / 1.6T CPO / 1.6T LPO). Use this for a single-glance assessment of fleet state.
fiber_list_ports
List monitored optical ports with real-time telemetry, risk scores, and severity. Filter by vendor (Coherent / Finisar / II-VI / Lumentum / InnoLight / NVIDIA / Credo / Macom / Semtech), severity (critical / warning / normal), or speed (400G / 800G / 400ZR / CPO / LPO / 1.6T). Coherent ports include SNR/OSNR/CD/PMD/pre-FEC BER. CPO ports include fau_alignment_loss / cpo_die_temp / cpo_bank_id. LPO ports include lpo_link_margin_db / lpo_host_pcb_temp / lpo_sfi_isi_margin.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer | |
severity | string | |
sort_by | string | |
speed | string | 400G / 800G / 400ZR / CPO / LPO / 1.6T |
vendor | string | Optional vendor filter |
fiber_port_detail_history
Retrieve time-series telemetry history for a specific port over the last 1 / 6 / 24 hours. Returns rx_power, tx_power, temperature, bias_current, voltage, FEC counters, and optics-type-specific metrics (SNR for coherent, FAU/die_temp for CPO, margin/PCB/ISI for LPO). Use this to investigate trends before deciding on maintenance.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | e.g., Ethernet1/1 |
switch_name * | string | |
hours | integer |
fiber_list_alerts
List risk alerts from the 3-tier scoring engine. Filter by severity or alert type. Alert types include rule_rx_power_low, rule_temperature_high, rule_fec_uncorrectable, rule_snr_low (coherent), rule_fau_alignment_critical (CPO), rule_cpo_shared_laser_bank_failure (CPO correlated), rule_lpo_link_margin_critical (LPO), iqr_*, ufm_prediction, ml_failure_prediction.
| Parameter | Type | Description |
|---|---|---|
alert_type | string | |
limit | integer | |
offset | integer | |
severity | string |
fiber_top_risky_ports
Return the ports with the highest current risk scores across the fleet. Use this to prioritize investigation — the highest scores typically have multiple concurrent issues (rule violations, IQR outliers, UFM predictions, ML anomalies).
fiber_ml_rul_info
Return metadata about the LSTM-based Remaining Useful Life model: validation MAE in hours, training/validation sample counts, sequence length, feature names. No auth required.
fiber_ml_predict_rul
Return the LSTM-predicted remaining useful life (in hours) for a specific port. Uses the last 24 optical readings (2-min window) as input. Urgency buckets: imminent (< 6h), soon (< 24h), normal (< 48h), healthy (>= 48h). Use this to decide whether a port needs emergency replacement or can wait for the next maintenance window.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string |
fiber_ml_anomaly_scan
Run the VAE (Variational Autoencoder) anomaly scan across all ports. Returns ports whose reconstruction error exceeds the learned p99 threshold, sorted by severity_ratio (anomaly_score / threshold). Catches degradation patterns without labeled failures — useful when no explicit threshold has triggered but something is off.
fiber_cpo_bank_status
Return per-switch, per-bank status for CPO (Co-Packaged Optics, NVIDIA Spectrum-X Photonics) switches. Each switch has 8 shared laser banks × 6 ports. Flags banks where >= 3 ports are stressed (laser_bank_failure — check/replace the bank's external laser source (ELS) module, which is field-replaceable on current CPO switches), die temperature > 95°C (die_thermal_throttle), or FAU alignment loss > 3.5 dB (fau_alignment_critical — optical engine, switch-level RMA). Neither is fixed by replacing a port optic.
fiber_simulate_link_failure
Simulate a single link failure on a specific switch port. Returns affected GPU nodes, running jobs, hourly cost estimate, and alternative paths through the spine-leaf topology.
| Parameter | Type | Description |
|---|---|---|
port * | string | |
switch_name * | string |
fiber_digital_twin_monte_carlo
Run Monte Carlo what-if analysis on the fabric. Samples link failures probabilistically and returns p50/p95/p99 distributions of GPU-hours lost and USD cost (checkpoint rollback + recovery overhead). Use to quantify fabric robustness to random failures. fixed_links pin specific failures to include in every iteration.
| Parameter | Type | Description |
|---|---|---|
checkpoint_interval_min | number | |
failure_rate_per_link | number | |
fixed_links | array | |
iterations | integer | |
recovery_overhead_min | number |
fiber_digital_twin_compare
Compare multiple link-failure scenarios side by side. Each scenario defines a list of (switch, port) links assumed to fail simultaneously. Returns per-scenario impact, GPU-hours lost, and USD cost — useful for deciding which maintenance ordering minimizes blast radius.
| Parameter | Type | Description |
|---|---|---|
scenarios * | array |
fiber_counterfactual_port
'If this port had been healthy' — computes GPU-hours and USD that would have been avoided over the past N hours, based on historical critical alert segments × current affected GPUs × (checkpoint rollback + recovery overhead).
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string | |
hours | integer |
fiber_counterfactual_cluster
Top N ports ranked by avoidable cost. Sums across ports to estimate total GPU-hours and USD the cluster could have avoided had those ports been healthy. Ideal for monthly infra ROI reporting.
| Parameter | Type | Description |
|---|---|---|
hours | integer | |
top_n | integer |
fiber_nccl_summary
Aggregate NCCL collective statistics over the last N minutes: mean/p50/p05 bandwidth, p95/p99 duration, low-bandwidth event count. Requires NCCL Inspector events previously ingested via ingest_nccl_events.
| Parameter | Type | Description |
|---|---|---|
minutes | integer |
fiber_nccl_optical_correlation
Correlate low-bandwidth NCCL events with optical telemetry anomalies on the GPU-node's upstream port. For each low-bw event, fetches ±60s optical samples and flags whether rx_power / temperature / FEC were anomalous. Produces the 'NCCL drop ↔ optical root cause' evidence that closes the loop between GPU performance and the physical layer — FIBER's flagship cross-layer diagnosis capability.
| Parameter | Type | Description |
|---|---|---|
low_bw_threshold | number | GB/s below which event is slow |
minutes | integer |
fiber_run_benchmark_harness
Run the synthetic-failure benchmark across 14 failure scenarios (thermal_precursor, fiber_loose, voltage_instab, coherent_snr_drop, cpo_die_thermal, cpo_laser_bank, lpo_sfi_closure, intermittent_flap, fec_flood, cpo_fau_drift, hyperscale_saturation, multi_link_concurrent, coherent_multipath_ber, stream_silence), scoring FIBER against six modelled baselines: UFM Cyber-AI, CloudVision, Apstra, Nexus Dashboard, Cisco Nexus One and a PyOD-style single-channel z-score stand-in. Returns per-scenario and overall precision / recall / F1 plus the first-detection stage. Reproducible via seed (seed=42 is…
| Parameter | Type | Description |
|---|---|---|
samples | integer | |
seed | integer |
fiber_sustainability
Cluster ESG metrics: instantaneous power in kW, kWh/year, CO2e/year (Scope 2), RMA-driven e-waste CO2e (Scope 3), avoided emissions from preventive maintenance (vs emergency technician dispatch). Per-optics power breakdown (CPO is the most efficient at 5W/port, Coherent is the densest at 21W/port).
fiber_checkpoint_aware_windows
Compute per-job next-checkpoint micro maintenance windows. Each running job is assumed to checkpoint every checkpoint_interval_min minutes (default 15); the micro-window is the 3-min slot immediately after each checkpoint. Replacing optics there minimizes rollback cost. Returns ordered upcoming windows within next N hours.
| Parameter | Type | Description |
|---|---|---|
hours_ahead | integer |
fiber_list_diagnosis_reports
List recent auto-generated diagnosis reports (one per incident, with root cause category and evidence).
| Parameter | Type | Description |
|---|---|---|
limit | integer |
fiber_get_diagnosis_report
Fetch a specific diagnosis report by its UUID — includes root cause, evidence, impact, recommended actions, ETA to failure, and (for 800G leaf-spine links) a link_verdict that compares both link ends: remote/local transmitter degraded (module replacement candidate), path loss increase (clean connectors first, cable and connector are not distinguished), or a hold reason.
| Parameter | Type | Description |
|---|---|---|
report_id * | string |
fiber_postmortem_timeline
Build a deterministic (no LLM) incident postmortem timeline for a port. Pure SQL aggregation: critical events window, rx/temp/fec extremes, related alerts, affected jobs, estimated incident cost. Use when ANTHROPIC_API_KEY is not configured or for audit-grade deterministic reports.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string | |
hours | integer |
fiber_postmortem_gala
GALA-style iterative graph-augmented RCA (arXiv:2508.12472, +42% accuracy vs single-LLM). Walks the topology graph: optical → CPO bank → NCCL/GCM events → adjacent ports → similar past incidents. Returns deterministic hypothesis + (if ANTHROPIC_API_KEY set) LLM narrative. Use this when you need a defensible root-cause beyond the legacy single-pass postmortem.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string | |
hours | integer | |
use_llm | boolean |
fiber_integrations_status
Check which W9 integrations are enabled: Splunk HEC, Datadog OTLP, Meta GCM ingest, NVIDIA DCGM correlation. Returns one boolean per integration.
fiber_gcm_summary
Aggregate Meta GCM (facebookresearch/gcm) GPU events ingested in the last N minutes — GPU temperature alerts, NVLink recovery errors, XID events, ECC counters, SM throttle. Pairs with fiber_gcm_optical_correlation to close the GPU↔optical loop NVIDIA's NCCL Inspector exporter never connects.
| Parameter | Type | Description |
|---|---|---|
minutes | integer |
fiber_gcm_optical_correlation
Correlate Meta GCM critical/warning GPU events with optical telemetry on the GPU's upstream leaf port (±60s window). Returns hit rate and per-event evidence. The defensible 'GPU + Optical fused fault chain' that no other tool ships post Meta GCM open-source release (2026-02-24).
| Parameter | Type | Description |
|---|---|---|
minutes | integer |
fiber_dcgm_correlation
Correlate NVIDIA dcgm-exporter Prometheus metrics (GPU temp, NVLink recovery, XID errors) with optical telemetry (±60s) on the GPU's leaf port. Requires FIBER_DCGM_PROMETHEUS_URL to be set. Returns hit-rate and per-event evidence. Mission Control 2.3.0 + dcgm-exporter alone shows only the GPU half — this tool adds the optical half.
| Parameter | Type | Description |
|---|---|---|
minutes | integer |
fiber_ml_anomaly_conformal
Inductive conformal anomaly detection on a single port — provides a **finite-sample, distribution-free** false-positive guarantee (P(p < α | normal) ≤ α under exchangeability). Differs from VAE threshold gating which is a single learned cut-off — conformal returns a calibrated p-value against an empirical null built from recent normal readings. Reference: arXiv:2604.20122.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string | |
alpha | number |
fiber_digital_twin_deterministic_trace
Pure SQL/graph reachability proof — given a list of failed (switch, port) links, walk the topology BFS from spines outward and emit each hop. Output is byte-identical for the same (topology snapshot, failed_links) input — no probability, no LLM. Forward Networks-style deterministic query. Use for audit / compliance, root-cause closure, or as a reproducible baseline against Monte Carlo distributions.
| Parameter | Type | Description |
|---|---|---|
failed_links | array |
fiber_governance_status
Return the current MCP server governance posture: write-enabled flag, tool allowlist (if any), exposed tool count, and per-tool RBAC role hints. Use this to verify that an agent has been correctly scoped to a minimum tool set.
fiber_ml_rul_with_heatmap
Like fiber_ml_predict_rul but also returns a 24-timestep × 10-feature saliency heatmap (gradient × input, signed). Useful to explain in DiagnosisPage exactly which channel/timestep drove the RUL prediction down. New in W9.
| Parameter | Type | Description |
|---|---|---|
port_name * | string | |
switch_name * | string |
fiber_sparql_query
Execute SPARQL SELECT/ASK/DESCRIBE/CONSTRUCT against the FIBER optics ontology. Backed by Apache Jena Fuseki (same engine ETRI validated). Use cases: cross-resource topology queries, ad-hoc analytics, multi-hop relationship discovery. Returns: SELECT/ASK → JSON results; DESCRIBE/CONSTRUCT → turtle string. Forbidden ops (INSERT/DELETE/DROP/CLEAR/LOAD/CREATE/etc.) are blocked. Requires FIBER_SPARQL_ENABLED=1 on the API side. Ontology namespace: <https://fiber.ac/ontology/optics#> (fiber:Switch, fiber:Port, fiber:Transceiver, fiber:OpticalLink, fiber:GpuNode, fiber:Job, fiber:Tenant, fiber:Al…
| Parameter | Type | Description |
|---|---|---|
query * | string | SPARQL query string. PREFIX fiber: <https://fiber.ac/ontology/optics#> recommended. |
fiber_topology_traverse
Multi-hop topology traversal starting from a given node (port, switch, gpu, or job). Automatically generates a SPARQL CONSTRUCT query using fiber:connectsTo / fiber:hasPort / fiber:linkedToGpu / fiber:runsJob property paths up to N hops. ETRI TDBService.java 3-hop pattern으로 영감을 받음. Returns: turtle graph + json node list. 예: '광 모듈 → 영향받는 GPU → 진행 중 K8s job' 자동 추적.
| Parameter | Type | Description |
|---|---|---|
start_uri * | string | 시작 노드 URI (예: 'https://fiber.ac/ontology/optics#sw-leaf-024' 또는 'port-sw01-arista-7050qx-Ethernet5') |
hops | integer | 탐색 최대 홉 수 (1~5) |
fiber_semantic_search
자연어 → SPARQL 자동 변환 + 실행. 운영자가 SPARQL 문법을 몰라도 '어떤 leaf 스위치가 critical 상태인가?' 같은 질문 가능. Anthropic API 가 ontology TBox (8 classes/24 props) 를 컨텍스트로 받아 SPARQL 생성. Validation 통과 후만 실행. 결과는 JSON. Note: 베타. 복잡한 쿼리는 fiber_sparql_query 직접 사용 권장.
| Parameter | Type | Description |
|---|---|---|
natural_language * | string | 한국어/영어 자연어 질문. 예: 'critical 알람이 발생한 leaf 스위치 목록' |