This document outlines the specification for tools within the Telemetry module that are intended to be integrated with the Model Context Protocol (MCP).
The Telemetry module provides OpenTelemetry-compatible tracing and observability tools including trace context management, span processing (batch and simple), OTLP export, alerting, and sampling strategies for internal use by other Codomyrmex modules. These functions are primarily for programmatic integration within the application lifecycle and are not suited for exposure as Model Context Protocol (MCP) tools.
MCP tools are typically designed for discrete, invocable actions or queries that an external agent (like an LLM) would trigger. The internal tracing, span collection, and telemetry export mechanisms do not fit this paradigm.
If future enhancements to this module introduce features that are appropriate for MCP (e.g., querying active trace summaries, retrieving span statistics on demand, or triggering a telemetry export flush), this document will be updated accordingly.
For details on how to use the telemetry functionalities within your Python code, please refer to the module's README.md and API_SPECIFICATION.md.
- Parent: Project Overview
- Module Index: All Agents
- Documentation: Reference Guides
- Home: Root README