MCPX Metrics
The MCPX server exposes detailed Prometheus metrics about tool calls available at mcpx:3000/metrics
Histogram: tool_call_duration_ms
This is a Prometheus histogram reporting the duration of each tool call in milliseconds.
Labels​
All labels are in kebab-case
and are included only if they are non-empty:
Label | Description |
---|---|
tool-name | Name of the tool being called |
error | "true" if the call resulted in error, "false" otherwise |
agent | The agent or service name handling the request |
llm (optional) | Name of the LLM provider, if available |
model (optional) | Model ID, if available |
consumer-tag (optional) | Consumer tag, if available |
Example​
tool_call_duration_ms_bucket{le=“50”,tool-name=“maps_directions”,error=“false”,agent=“mcpx”} 2 tool_call_duration_ms_count{tool-name=“maps_directions”,error=“false”,agent=“mcpx”} 2 tool_call_duration_ms_sum{tool-name=“maps_directions”,error=“false”,agent=“mcpx”} 67