SmartGridBench: MCP Latency vs Plan-Execute in Industrial Agents

SmartGridBench (arXiv:2612.00963, Columbia University) evaluates 2,420 trajectories across 36 smart-grid power transformer scenarios spanning IoT telemetry, IEC/IEEE fault standards (FMSR), forecasting (TSFM), and work orders (WO). Controlled A100 runs show MCP adds 3.7s p50 overhead without lifting quality, while Verified Plan-Execute boosts pass rates from 36.8% to 55.5%.
SmartGridBench: MCP Latency vs Plan-Execute in Industrial Agents: SmartGridBench (arXiv:2612.00963, Columbia University) evaluates 2,420 trajectories across 36 smart-grid power transformer scenarios spanning IoT telemetry, IEC/IEEE fault standards (FMSR), forecasting (TSFM), and work orders (WO). Controlled A100 runs show MCP adds 3.7s p50 overhead without lifting quality, while Verified Plan-Execute boosts pass rates from 36.8% to 55.5%. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Isolates MCP Overhead From Orchestration: Direct Agent-as-Tool runs at 8.51s p50 (43.2% pass) vs MCP Agent-as-Tool at 12.22s p50 (36.8% pass).
- Verified Plan-Execute Gains +18.7 pp: Moving from MCP Agent-as-Tool (36.8%) to Verified Plan-Execute raises pass rate to 55.5% (86/155 trials) on Llama-3.1-8B-Instruct.
- Four Unified Transformer Domains: Binds IoT telemetry, dissolved-gas-analysis (DGA) fault standards, TSFM forecasting, and Work Orders via a shared transformer_id key.
- Auditable Mitigation Ladder: Separates evidence guard, repair, and fault-risk adjudication, proving repair is the narrowest consistently positive fix.
import { createAgent } from '@smoke-monkey/harness';// Industrial Verified Plan-Execute agent coordinating IoT, DGA FMSR, TSFM, and Work Ordersconst agent = createAgent({agentId: 'smartgrid-transformer-planner',provider: 'openai',model: 'gpt-4o',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});interface TransformerEvidence {transformerId: string;dgaHydrogenPpm: number;forecastAnomalyScore: number;workOrderPriority?: 'P1' | 'P2' | 'P3';}function verifyEvidenceContract(ev: TransformerEvidence): boolean {// Enforce cross-tool transformer_id consistency and IEC/IEEE DGA threshold boundsreturn Boolean(ev.transformerId) && ev.dgaHydrogenPpm >= 0 && ev.forecastAnomalyScore <= 1;}async function main() {const sample: TransformerEvidence = {transformerId: 'XFMR-SUB04-T2',dgaHydrogenPpm: 420,forecastAnomalyScore: 0.87,workOrderPriority: 'P1',};if (!verifyEvidenceContract(sample)) throw new Error('Invalid transformer evidence contract');const res = await agent.run(`Run Verified Plan-Execute over transformer ${sample.transformerId}: correlate DGA H2=${sample.dgaHydrogenPpm}ppm with TSFM score ${sample.forecastAnomalyScore} before issuing WO.`);console.log(res.summary);}main().catch(console.error);
Watch: Related Video Guides
Model Context Protocol Clearly Explained | MCP Beyond the Hype
What is MCP? Integrate AI Agents with Databases & APIs
Does MCP Standardization Improve Agent Quality or Only Add Latency?
SmartGridBench (Columbia University) extends AssetOpsBench to 36 power-transformer maintenance scenarios across four domains—IoT telemetry, fault and maintenance standards (FMSR), time-series forecasting (TSFM), and work orders (WO)—exposing identical tools over both direct Python calls and Model Context Protocol (MCP) servers.
Across 2,420 judged trajectories using Llama-3.1-8B-Instruct on A100 GPUs (scored by Llama-4-Maverick-17B-128E-Instruct), MCP standardization does not improve answer quality—it actually lowers pass rate from 43.2% (direct) to 36.8% (MCP) while increasing median latency from 8.51s to 12.22s. Switching the orchestration pattern to Verified Plan-Execute raises the core 31-scenario pass rate to 55.5% (and 73.3% on the final-six A100 cohort).
| Cell / Orchestration Strategy | Trials (31-Scenario) | Judge Mean | Pass Rate | Matched Cohort p50 | Matched Cohort p95 |
|---|---|---|---|---|---|
| Agent-as-Tool Direct (AT-I) | 155 | 0.474 | 43.2% (67/155) | 8.51s | 20.73s |
| Agent-as-Tool MCP (AT-M) | 155 | 0.442 | 36.8% (57/155) | 12.22s | 13.99s |
| Agent-as-Tool Optimized MCP | 155 | 0.473 | 39.4% (61/155) | 12.01s | 14.58s |
| Plan-Execute MCP (PE-M) | 155 | 0.582 | 49.0% (76/155) | 29.62s | 60.74s |
| Plan-Execute + Self-Ask | 155 | 0.606 | 50.3% (78/155) | 20.26s | 41.70s |
| Verified Plan-Execute (Z) | 155 | 0.599 | 55.5% (86/155) | 37.92s | 94.93s |
| Verified PE + Self-Ask (ZS) | 155 | 0.620 | 51.6% (80/155) | 27.30s | 75.22s |
Separating Transport Optimization From Failure Mitigation
SmartGridBench enforces a single artifact contract (config.json, summary.json, latencies.jsonl, and raw traces under benchmarks/cell_<X>/raw/<run-id>/) so teams can audit latency and failure modes independently:
- Optimized Transport Helps PE Latency, Not AaT Quality: Optimized MCP transport cuts Plan-Execute + Self-Ask p50 latency to 20.26s (vs 29.62s baseline PE-M), yet optimized serving in Agent-as-Tool (
AT-TPQ) still stays at 3/30 pass in the final-six cohort. - Repair Beats Heavy Guarding: Across SmartGridBench's mitigation ladder (evidence guard, repair, fault-risk adjudication), targeted schema/argument repair is the cleanest positive intervention, whereas aggressive evidence guards create quality-vs-completion trade-offs.
- Cross-Domain Asset Linking: Every scenario binds all four tools through one
transformer_idkey and checks DGA gas readings against IEC/IEEE limits.
Key Takeaway for Production MCP Architectures
Adopt MCP for standardized tool governance and cross-team interoperability, not as a magic quality booster—accuracy gains come from Plan-Execute verification and schema repair.
Auditing MCP Latency vs Orchestration Overhead Locally
When evaluating MCP servers in Smoke Monkey Harness or custom benchmarks, always record per-cell latencies.jsonl separating transport serialization from model planning turns.
# Inspect p50 and p95 latency percentiles from an MCP benchmark latencies.jsonl log
python3 -c '
import json, statistics
latencies = [12.22, 8.51, 29.62, 37.92, 20.26]
print("Sample p50s (s):", latencies, "| Mean:", round(statistics.mean(latencies), 2))
'Frequently Asked Questions
Q:Why did MCP Agent-as-Tool underperform direct Python tools on SmartGridBench?
MCP introduces protocol serialization and round-trip transport overhead (12.22s vs 8.51s p50) without changing the underlying 8B model’s planning capability, resulting in 36.8% vs 43.2% pass rate.
Q:Which orchestration strategy performed best on SmartGridBench?
Verified Plan-Execute achieved the highest pass rate at 55.5% (86/155 trials) on the 31-scenario core matrix and 22/30 in the final-six A100 cohort.
Q:Does adding Self-Ask always improve Verified Plan-Execute?
No. Self-Ask raised the mean judge score slightly (0.620 vs 0.599) and lowered p50 latency when paired with optimized MCP (27.30s vs 37.92s), but dropped the 31-scenario pass rate from 55.5% to 51.6%.
Q:What four tool domains are included in SmartGridBench?
SmartGridBench models IoT transformer telemetry, Fault & Maintenance Standards Reasoning (FMSR for dissolved-gas analysis), Time-Series Forecasting (TSFM), and Work Order management (WO).
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.