Home / Directory / Apollo GraphOS / GetTopOperations
GetTopOperations
An MCP tool from the Apollo GraphOS server, run by Apollo.
Identify the most-used operations on a graph variant for a time range, with request counts, types, and signatures. Use to find high-traffic operations, detect unused operations, and prioritize findings by traffic impact. Provide graph ID, variant, and a from/to time range (ISO 8601 timestamps; `to` must be at least 6 hours before now), plus an optional limit (default 50). This report is rate limited.
Name on the gateway: apollo_graphos__GetTopOperations.
Parameters
| Name | Type | Description |
|---|---|---|
graphId required | string | |
variant required | string | |
from required | any | The starting timestamp for the report. - Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). - Must be within the last 549 days. - The duration between 'from' and 'to' must not exceed 31 days. |
to required | any | The ending timestamp for the report. - Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). - Must be at least 6 hours from the current time. - The duration between 'from' and 'to' must not exceed 31 days. |
limit | integer | Maximum number of records to return (default: 10) |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "apollo_graphos__GetTopOperations",
"arguments": {
"graphId": "…",
"variant": "…",
"from": "…",
"to": "…"
}
}The first call connects Apollo GraphOS to your account automatically; nothing to set up. About this server.
Try asking
Use the gettopoperations tool with graphId set to ….