Dependencies
A dependency is something one of your agents calls that is not itself one of your agents' steps: an MCP server, or a remote agent reached over the Agent2Agent (A2A) protocol.
Agent Ping measures each one from the calling side. That is the only view there is of a third-party server or another company's agent, and it is the view that answers the question you have during an incident: which of my agents are affected, how often is it failing for them, and since when.
What a dependency is not
A dependency is not an agent. An agent reports its own runs, so it has cost, checks, a schedule and alerts. A dependency reports nothing. Everything Agent Ping knows about it comes from the calls your agents made, so a dependency has no runs, no cost and no checks of its own.
The dependencies list
Dependencies in the dashboard lists every MCP server and remote agent your team's agents have called, with these numbers for the range you choose:
| Column | Meaning |
|---|---|
| Called by | How many of your agents called it |
| Calls | Tool calls to it. Bookkeeping around a call (an MCP tools/list, an A2A task poll) is not counted |
| Fail % | The share of those calls that failed |
| p95 | 95th-percentile call latency |
| Last call | When it was last called in the range |
Dependencies with failures sort first. One that nobody called in the range stays listed, without numbers.
A dependency's page
- Headline numbers for the range: calls, failure rate, p95 latency and calling agents.
- Calls over time, per hour or day, with failed calls marked.
- Called by: each calling agent with its own calls, failure rate and p95.
- Tools (MCP servers): the same numbers per tool.
- Recent calls: each opens the run it was made in. A filter shows failed calls only.
- Version (remote agents): the version from the agent's Agent Card. When it changes, the page says what it changed from and when, and the day is marked on the chart.
The agent page lists that agent's own dependencies, and each tool call on a run's timeline links to the dependency it went to.
How a call is recognised
OpenTelemetry
Nothing to set up. Spans that follow the OpenTelemetry conventions for MCP
(mcp.*) and A2A (a2a.*) are recognised on ingest. The
OpenTelemetry page
has the full mapping. In short:
| Span | Becomes | Dependency identified by |
|---|---|---|
| MCP client span with a tool name | Tool call | agentping.mcp.server if set, else server.address (with server.port) |
A2A client span, SendMessage or SendStreamingMessage |
Tool call named after the remote agent | gen_ai.agent.name, else server.address |
A local stdio MCP server has no address. Set agentping.mcp.server on the span
to name it.
Runs API
Put a target object on a tool_call event:
{
"external_id": "evt_eu_018f3a2b9c1d7e8fa4b9c2d7e8f1a3b9",
"type": "tool_call",
"ts": "2026-11-28T14:32:03.500Z",
"data": {
"tool": "search_docs",
"latency_ms": 182,
"target": { "kind": "mcp_server", "name": "docs-search", "address": "mcp.docs.internal:443" }
}
}
target field |
Notes |
|---|---|
kind |
mcp_server or agent. Anything else is ignored. |
name |
What to call it. Identifies the dependency when present. |
address |
Host, with port if you have one. Identifies the dependency when there is no name. |
version |
For a remote agent, the version from its Agent Card. |
An MCP server and a remote agent with the same name are two dependencies.
What counts as a failure
A call is a failure when its event has status of error or failed, or an
error field. Over OpenTelemetry that covers:
- a span with error status;
- a span that sets
error.type, which is how an MCP tool result withisErroris reported (tool_error); - an A2A task that comes back
failedorrejected.
A2A tasks that fail later
An A2A task is often asynchronous: the call returns working and a later poll
reports the outcome. Send the task id on both (a2a.task.id over OpenTelemetry,
data.a2a.task_id over the runs API) and a failure reported by a later poll
counts against the call that started the task, whichever arrives first.
A remote agent that also reports to Agent Ping
When a remote agent's name matches the slug of one of your own agents (the name
is lowercased and spaces become hyphens, so Research Agent matches
research-agent), the two pages link to each other. The dependency page is how
its callers see it. The agent page has its own runs, cost and checks.
Limits
- No cost. Neither protocol reports what a call cost the other side.
- The retention window applies. Call history is kept as long as the runs it belongs to. See Retention.
- Naming is yours to keep consistent. A server reported by name in one place and by address in another is two dependencies.