MCP tools reference
Tools and prompts exposed by Axiom MCP Server, with example prompts for AI agents.
Axiom MCP Server exposes tools and prompts that AI agents can call.
For setup, see Axiom MCP Server.
Every organization-scoped tool accepts an optional orgId parameter to override the session’s default organization. Call listOrganizations to find available organization IDs.
Tools at a glance
| Category | Read | Write |
|---|---|---|
| Organizations | listOrganizations | — |
| Query | queryDataset, getSavedQueries | — |
| Datasets | listDatasets, getDatasetFields | createDataset, deleteDatasetFields |
| API tokens | listTokens, prepareApiToken | — |
| Metrics | listMetrics, listMetricTags, getMetricTagValues, searchMetrics, queryMetrics, getMetricsSpec | — |
| Annotations | getAnnotations | manageAnnotations |
| Dashboards | listDashboards, getDashboard | createDashboard, replaceDashboard, updateDashboardChart, deleteDashboard |
| Monitors and notifiers | checkMonitors, getMonitor, getMonitorHistory, listNotifiers | createMonitor, updateMonitor, deleteMonitor, createNotifier, updateNotifier, deleteNotifier |
| Labels | listLabels | manageLabels, setLabels |
| Service map | services-getMap, services-getChanges, services-getEdgeHistory | — |
OpenTelemetry (?with-otel=1) | otel-listServices, otel-listOperations, otel-getErrorBreakdown, otel-getServiceMetrics, otel-getOperationMetrics, otel-getTraceSpans, otel-findTraces, otel-findSimilarTraces, otel-getTraceCriticalPath, otel-findTraceAnomalies, genai-getOverview, genai-analyzeTokenUsage, genai-getModelPerformance, genai-analyzeCosts, genai-findErrors, genai-compareModels, genai-analyzeToolUsage, genai-getCapabilityMetrics | — |
| Documentation | searchAxiomDocs, readAxiomDoc | — |
| Feedback | — | sendFeedback |
Organizations
listOrganizationsReadList organizations the current credentials can access. Use an organization’s ID as the optional orgId parameter on other tools to override the session’s default organization.
Example: “List the Axiom organizations I can access.”
Query
queryDatasetReadRun an APL query (apl) against an events or traces dataset, or pass queryId to load the APL or MPL query and time range of a stored query from an Axiom URL’s qid parameter. Pass saveResults: true to save the query results and return a shareable Open in Axiom link. For metrics datasets, use queryMetrics instead.
Example: “Show the top 10 status codes in logs for the last 30 minutes and give me a link to the results.”
getSavedQueriesReadList saved APL queries in your organization.
Example: “List my saved queries.”
Datasets
listDatasetsReadList available Axiom datasets.
Example: “List datasets.”
getDatasetFieldsReadList fields in an events or traces dataset, including field names and types. For metrics datasets, use listMetrics and listMetricTags instead.
Example: “List the fields in the dataset logs.”
createDatasetWriteCreate a new dataset in the current organization.
Example: “Create an events dataset named app-logs.”
deleteDatasetFieldsWriteQueue deletion of fields from an events dataset. The tool asks you to confirm the dataset and the fields before it deletes anything. If your client can’t show the confirmation, or you decline, nothing is deleted. Use exact field names from getDatasetFields, up to 50 fields per call. You can queue one deletion per dataset every 5 minutes. The deletion is asynchronous and can take several hours.
The tool can’t delete system fields such as _time and _sysTime, map fields, or fields in datasets that are metrics datasets, shared, schema-locked, or managed by Axiom such as axiom-audit. Deleting fields can’t be undone. For more information, see Delete fields.
Example: “Delete the fields debug_blob and tmp_id from the dataset logs.”
API tokens
listTokensReadList active API-token metadata. Pass a token ID to inspect its permissions. Token secrets are omitted.
Example: “List API tokens with access to checkout-traces.”
prepareApiTokenReadPrepare a prefilled API-token creation form in Console. The user creates the token. The tool does not return token secrets.
Example: “Prepare an ingest-only token for checkout-traces that expires in 30 days.”
Metrics
listMetricsReadList available metric names in a dataset.
Example: “List metrics in the metrics dataset.”
listMetricTagsReadList tags available for filtering metrics in a dataset.
Example: “What tags can I filter on in the metrics dataset?”
getMetricTagValuesReadGet values for a specific metric tag in a dataset.
Example: “List values for the service.name tag in metrics.”
searchMetricsReadSearch for metrics that match a known tag value.
Example: “Find metrics tagged with service.name = api-gateway.”
queryMetricsReadRun an MPL query against an Axiom metrics dataset.
Example: “Show CPU usage for api-gateway over the last hour.”
getMetricsSpecReadGet the MPL reference for a metrics dataset.
Example: “Show the MPL reference for the metrics dataset.”
Annotations
getAnnotationsReadList annotations in a time range.
Example: “Show deployment annotations for logs from the last hour.”
manageAnnotationsWriteCreate, update, or delete an annotation. To create an annotation, pass the datasets whose charts show it and its type, such as deploy or incident. If you omit the time, the annotation marks the current time. To update or delete an annotation, pass its ID from getAnnotations. An update changes only the fields you pass. Deleting an annotation can’t be undone.
Example: “Add a deploy annotation to logs for the checkout release that went out 10 minutes ago.”
Dashboards
listDashboardsReadList dashboards in your organization.
Example: “List my dashboards.”
getDashboardReadGet details for a dashboard by UID.
Example: “Show the configuration for dashboard abc123.”
createDashboardWriteCreate a dashboard from a JSON document.
Example: “Create a dashboard that charts error rate for logs over the last 24 hours.”
replaceDashboardWriteReplace the whole document of a dashboard by UID. Use it to add or remove charts, or to change the layout, sections, or dashboard settings.
Example: “Add a chart for p99 latency to dashboard abc123.”
updateDashboardChartWriteChange a single chart in an existing dashboard by chart ID. Only the fields you change are sent.
Example: “Change the time range on chart chart-1 in dashboard abc123 to the last 6 hours.”
deleteDashboardWriteDelete a dashboard by UID.
Example: “Delete dashboard abc123.”
Monitors and notifiers
checkMonitorsReadCheck monitors and their current statuses.
Example: “Which monitors are currently alerting?”
getMonitorReadGet a monitor’s full definition by ID, including the complete query text.
Example: “Show the full configuration for monitor mon_123.”
getMonitorHistoryReadGet a monitor’s history between startTime and endTime, newest first. Set kind to notification (default) to list notifications sent, one row per delivery. Set kind to run to list every run, one row per run and group, whether or not a notification was sent. Pass one value for kind, not both.
For runs, the API returns at most the newest 1,000 runs in the range, and the tool notes when that limit is reached. By default, the tool shows only the newest 100 rows for both kinds. Set truncate: false to show all rows received.
Example: “Show every run of monitor mon_123 in the last 24 hours, including errored runs.”
listNotifiersReadList configured notifiers.
Example: “List notifiers.”
createMonitorWriteCreate a new monitor.
Example: “Create a monitor that alerts when error rate in logs exceeds 5%.”
updateMonitorWriteUpdate an existing monitor by ID.
Example: “Update monitor mon_123 to use a 5-minute threshold window.”
deleteMonitorWriteDelete a monitor by ID.
Example: “Delete monitor mon_123.”
createNotifierWriteCreate an email notifier. For other notifier types such as Slack or webhooks, the tool doesn’t create the notifier. Instead, it gives you a link to the Notifiers page in the Axiom Console where you configure and save the notifier yourself. This keeps credentials such as tokens and webhook URLs out of the conversation with the agent.
Example: “Create an email notifier that sends alerts to oncall@example.com.”
updateNotifierWriteUpdate an existing email notifier by ID. For other notifier types, the tool doesn’t update the notifier. Instead, it gives you a link to the notifier in the Axiom Console where you edit and save it yourself.
Example: “Update notifier ntf_123 to send alerts to oncall@example.com.”
deleteNotifierWriteDelete a notifier by ID.
Example: “Delete notifier ntf_123.”
Labels
listLabelsReadList organization resource labels (id, name, description, color), with an optional name filter.
Example: “List all resource labels in this organization.”
manageLabelsWriteCreate, update, or delete a label in the organization catalog. Deleting a label removes it from every resource. This tool doesn’t assign labels to resources; use setLabels for that.
Example: “Create a label named production with description Production resources.”
setLabelsWriteReplace all labels on one dataset, dashboard, monitor, notifier, or integration dashboard. Pass the complete set of label IDs to keep on the resource; omitted IDs are removed, and an empty list clears all labels.
Example: “Assign the production label to the logs dataset.”
Service map
These tools are available when service map is enabled for your organization.
services-getMapReadGet the service dependency graph, including call volume, errors, and approximate latency.
Example: “Show the service map for the last hour.”
services-getChangesReadReport what changed in the service dependency graph, such as new or missing dependencies and latency regressions.
Example: “What changed in the service map in the last 6 hours?”
services-getEdgeHistoryReadGet time-series history for a service’s dependency edges.
Example: “Show edge history from api-gateway to checkout over the last day.”
OpenTelemetry
These OpenTelemetry and GenAI tools are available on header-based authentication connections when ?with-otel=1 is set on the MCP URL. They aren’t exposed on OAuth sessions.
OpenTelemetry tracing and service metrics
otel-listServicesReadList available OpenTelemetry services in a traces dataset.
Example: “List OpenTelemetry services in traces over the last hour.”
otel-listOperationsReadList available OpenTelemetry operations for a service.
Example: “List operations for the checkout service in traces.”
otel-getErrorBreakdownReadBreak down errors for an OpenTelemetry service or operation.
Example: “Show the error breakdown for checkout over the last 2 hours.”
otel-getServiceMetricsReadGet latency percentiles, error rates, and throughput over time for an OpenTelemetry service by operation.
Example: “Show service metrics for api-gateway over the last hour.”
otel-getOperationMetricsReadGet detailed latency, error rate, and throughput metrics for a specific service operation.
Example: “Show operation metrics for POST /orders on checkout.”
otel-getTraceSpansReadFetch all spans for a trace ID.
Example: “Get all spans for trace 4bf92f3577b34da6a3ce929d0e0e4736.”
otel-findTracesReadSearch for traces matching filters such as service, operation, duration, or error status.
Example: “Find slow traces over 2 seconds in checkout from the last hour.”
otel-findSimilarTracesReadFind traces with a similar structure or behavior to a reference trace.
Example: “Find traces similar to 4bf92f3577b34da6a3ce929d0e0e4736.”
otel-getTraceCriticalPathReadFind the critical path (longest blocking chain) through a trace.
Example: “Find the critical path for trace 4bf92f3577b34da6a3ce929d0e0e4736.”
otel-findTraceAnomaliesReadDetect anomalous traces in a dataset based on latency or error behavior.
Example: “Find trace anomalies for checkout over the last 6 hours.”
GenAI observability
genai-getOverviewReadSummarize GenAI request volume, latency, token usage, errors, and estimated cost across models and providers.
Example: “Give me a GenAI overview from traces for the last 24 hours.”
genai-analyzeTokenUsageReadAnalyze input and output token usage across GenAI models, providers, or capabilities.
Example: “Analyze token usage by model in traces over the last day.”
genai-getModelPerformanceReadEvaluate latency percentiles, throughput, and error rates for GenAI models.
Example: “Show model performance in traces over the last 6 hours.”
genai-analyzeCostsReadEstimate GenAI token costs by model, provider, or capability.
Example: “Break down estimated GenAI costs by model for the last 7 days.”
genai-findErrorsReadFind and group errors across GenAI spans.
Example: “Find GenAI errors in traces from the last hour.”
genai-compareModelsReadCompare latency, token usage, error rates, and cost across GenAI models.
Example: “Compare GenAI models used in traces over the last 7 days.”
genai-analyzeToolUsageReadAnalyze GenAI tool call frequency, latency, and error rates.
Example: “Analyze GenAI tool usage in traces over the last 24 hours.”
genai-getCapabilityMetricsReadGet latency, token usage, cost, and error metrics grouped by gen_ai.capability.name and gen_ai.step.name.
Example: “Show GenAI capability metrics from traces for the last 24 hours.”
Documentation
searchAxiomDocsReadSearch the Axiom documentation by topic.
Example: “Find the docs for creating a threshold monitor.”
readAxiomDocReadRead an Axiom documentation page by path or URL.
Example: “Read the threshold monitor guide at /docs/monitor-data/threshold-monitors.”
Feedback
sendFeedbackWriteSend feedback to the Axiom team about MCP tool descriptions, results, errors, or missing capabilities.
Example: “Report that the queryDataset time-range description is unclear.”
Prompts
Axiom MCP Server also ships prebuilt prompts for clients that support MCP prompts.
explore-unknown-datasetPromptExplore an unknown dataset to understand its structure, content, and potential use cases.
Example: “Explore the otel-demo dataset and summarize what it’s for.”
detect-anomalies-in-eventsPromptDetect anomalies using statistical analysis and pattern recognition across a dataset.
Example: “Look for anomalies in logs over the last 6 hours.”
correlate-events-across-datasetsPromptFind patterns and correlations between events across multiple datasets.
Example: “Correlate errors in logs with deploys in cicd for the last day.”
data-quality-investigationPromptInvestigate data quality issues such as missing data, inconsistencies, and collection problems.
Example: “Check logs for gaps or schema inconsistencies in the last 24 hours.”
establish-performance-baselinePromptEstablish performance baselines for a dataset to support monitoring and anomaly detection.
Example: “Establish a latency baseline for api over the last 7 days.”
monitor-health-analysisPromptAnalyze monitor health, alert patterns, and effectiveness.
Example: “Analyze which monitors flap the most this week.”
investigate-service-topologyPromptWalk a system’s service dependency graph to find what talks to what, which dependency is at fault, and when it changed. Available when service map is enabled for your organization.
Example: “Investigate the topology around api-gateway.”
The following OpenTelemetry prompts are available on header-based authentication connections when ?with-otel=1 is set on the MCP URL:
investigate-service-outagePromptFollow a systematic workflow to investigate service outages and performance degradation.
Example: “Run investigate-service-outage for checkout in traces.”
performance-degradation-analysisPromptAnalyze service performance issues and identify optimization opportunities against a baseline period.
Example: “Run performance-degradation-analysis for api-gateway in traces.”
new-service-health-baselinePromptEstablish performance baselines and a monitoring strategy for a new service.
Example: “Run new-service-health-baseline for billing-api in traces.”
trace-analysis-workflowPromptFollow a structured workflow to analyze a distributed trace and identify bottlenecks.
Example: “Run trace-analysis-workflow for trace 4bf92f3577b34da6a3ce929d0e0e4736.”
distributed-system-health-checkPromptRun a health check across all services in a distributed system.
Example: “Run distributed-system-health-check on traces for the last 24 hours.”
Axiom plans to support MCP resources in the future.