Mind the Metrics: Patterns for Telemetry-Aware In-IDE AI Application Development using the Model Context Protocol (MCP)
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
AI development environments are evolving into observability first platforms that integrate real time telemetry, prompt traces, and evaluation feedback into the developer workflow. This paper introduces telemetry aware integrated development environments (IDEs) enabled by the Model Context Protocol (MCP), a system that connects IDEs with prompt metrics, trace logs, and versioned control for real time refinement. We present design patterns for local prompt iteration, CI based optimization, and autonomous agents that adapt behavior using telemetry. Rather than focusing on a single algorithm, we describe an architecture that supports integration with frameworks like DSPy, PromptWizard, and Prompts as Programs. We demonstrate this through Opik, an open source MCP server for LLM telemetry, and position our approach within the emerging LLMOps ecosystem. This work lays a foundation for future research on prompt optimization, IDE agent tooling, and empirical benchmarking in telemetry rich AI development workflows.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 7 of its 18 references that are in the map. First posted on arXiv 14 May 2025.
Builds on
7 of 18 references.
References · 7
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
- 2024PromptWizard: Task-Aware Prompt Optimization Frameworkcited by 36
- 2021Documentation Matters: Human-Centered AI System to Assist Data Science Code Documentation in Computational Notebookscited by 17
- 2024In-IDE Human-AI Experience in the Era of Large Language Models; A Literature Reviewcited by 6
- 2024Prompt Bakingcited by 5
- 2024Maximizing User Experience with LLMOps-Driven Personalized Recommendation Systemscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2026ClawHub Security Signals: When VirusTotal, Static Analysis, and SkillSpector Disagreecited by 6
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programmingcited by 2
- 2026How to Dogfood Your AI Chat Agent: A Three-Layer Evaluation Framework with Goal-Directed NPC Simulationcited by 0
- 2026How to Dogfood Your AI Chat Agent: A Three-Layer Evaluation Framework with Goal-Directed NPC Simulation8 Jun 2026
- 2026ClawHub Security Signals: When VirusTotal, Static Analysis, and SkillSpector Disagree31 May 2026
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programming24 Nov 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026REGAL: A Registry-Driven Architecture for Deterministic Grounding of Agentic AI in Enterprise Telemetry
- 2026Bridging Protocol and Production: Design Patterns for Deploying AI Agents with Model Context Protocol
- 2026Understanding How Enterprises Adopt the Model Context Protocol for LLM-Driven Software Engineering
- 2025LiveMCP-101: Stress Testing and Diagnosing MCP-enabled Agents on Challenging Queries
- 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choices
- 2026ComplexMCP: Evaluation of LLM Agents in Dynamic, Interdependent, and Large-Scale Tool Sandbox
- 2025ETOM: A Five-Level Benchmark for Evaluating Tool Orchestration within the MCP Ecosystem
- 2026EPOCH: An Agentic Protocol for Multi-Round System Optimization