Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Platform overview

What is Axiom?QuickstartArchitectureFeatures
Fundamentals
Datasets
Edge deployments
Limits
Performance
Optimize usage
Requirements
Semantic conventions
Glossary
Tour
SecurityRoadmap

Send data

Reference architecturesMethods

Understand data

Console
Query
Builder
Editor
Query results
Visualize
Traces
Metrics
Correlations
Save queries
Stream
Dashboard
Create
Elements
Create
Configure
Element types
Gauge
Heatmap
Log stream
Monitor list
Note
Pie chart
Scatter plot
Statistic
Table
Time series
Sections
Configure
Filter
Monitor
Overview
View status
Configure
Examples
Monitor types
Anomaly
Match
New values
Threshold
Alerting
Overview
Configure
Notifier types
Amp
ChatGPT Workspace Agent
Claude Code
Cursor
Custom Webhook
Discord
Email
incident.io
Jira Service Management
Microsoft Teams
Opsgenie
PagerDuty
Slack
Annotations
Command Menu
Manage
Datasets
Overview
Views
Virtual fields
Access
RBAC
Tokens
CLI
Organization
Labels
Audit log
Settings
Usage and billing
Profile
Extend
Overview
AWS Lambda
AWS PrivateLink
Cloudflare Workers
Cloudflare Logpush
Convex
Grafana
Hex
Netlify
Supabase
Supabase metrics
Tailscale
Terraform
Unkey
Vercel
Intelligence
Overview
Spotlight
AI agents
Overview
MCP Server
Overview
Tools
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
SRE
Translate SPL to APL
Splunk
Overview
Splunk app
Install and configure
Commands
Traces
Examples
Portal
How it works
Set up standard mode
Set up transparent mode
Observability Cloud
OCSF data
OCSF as CIM
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
OCSF security data
Overview
Send data
Query data
LLM observability
Overview
Use Vercel AI SDK
Manual instrumentation
OpenAI Agents SDK
GenAI attributes
Redaction policies

Miscellaneous

LLMs
Overview
List of docs pages
Full docs
Query reference
FAQs
Legal
Acceptable use policy
Axiom for Startups terms
Committed use terms
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use
Understand data/AI agents

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

CategoryReadWrite
OrganizationslistOrganizations—
QueryqueryDataset, getSavedQueries—
DatasetslistDatasets, getDatasetFieldscreateDataset, deleteDatasetFields
API tokenslistTokens, prepareApiToken—
MetricslistMetrics, listMetricTags, getMetricTagValues, searchMetrics, queryMetrics, getMetricsSpec—
AnnotationsgetAnnotationsmanageAnnotations
DashboardslistDashboards, getDashboardcreateDashboard, replaceDashboard, updateDashboardChart, deleteDashboard
Monitors and notifierscheckMonitors, getMonitor, getMonitorHistory, listNotifierscreateMonitor, updateMonitor, deleteMonitor, createNotifier, updateNotifier, deleteNotifier
LabelslistLabelsmanageLabels, setLabels
Service mapservices-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—
DocumentationsearchAxiomDocs, readAxiomDoc—
Feedback—sendFeedback

Organizations

listOrganizationsRead

List 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

queryDatasetRead

Run 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.”

getSavedQueriesRead

List saved APL queries in your organization.

Example: “List my saved queries.”

Datasets

listDatasetsRead

List available Axiom datasets.

Example: “List datasets.”

getDatasetFieldsRead

List 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.”

createDatasetWrite

Create a new dataset in the current organization.

Example: “Create an events dataset named app-logs.”

deleteDatasetFieldsWrite

Queue 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

listTokensRead

List 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.”

prepareApiTokenRead

Prepare 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

listMetricsRead

List available metric names in a dataset.

Example: “List metrics in the metrics dataset.”

listMetricTagsRead

List tags available for filtering metrics in a dataset.

Example: “What tags can I filter on in the metrics dataset?”

getMetricTagValuesRead

Get values for a specific metric tag in a dataset.

Example: “List values for the service.name tag in metrics.”

searchMetricsRead

Search for metrics that match a known tag value.

Example: “Find metrics tagged with service.name = api-gateway.”

queryMetricsRead

Run an MPL query against an Axiom metrics dataset.

Example: “Show CPU usage for api-gateway over the last hour.”

getMetricsSpecRead

Get the MPL reference for a metrics dataset.

Example: “Show the MPL reference for the metrics dataset.”

Annotations

getAnnotationsRead

List annotations in a time range.

Example: “Show deployment annotations for logs from the last hour.”

manageAnnotationsWrite

Create, 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

listDashboardsRead

List dashboards in your organization.

Example: “List my dashboards.”

getDashboardRead

Get details for a dashboard by UID.

Example: “Show the configuration for dashboard abc123.”

createDashboardWrite

Create a dashboard from a JSON document.

Example: “Create a dashboard that charts error rate for logs over the last 24 hours.”

replaceDashboardWrite

Replace 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.”

updateDashboardChartWrite

Change 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.”

deleteDashboardWrite

Delete a dashboard by UID.

Example: “Delete dashboard abc123.”

Monitors and notifiers

checkMonitorsRead

Check monitors and their current statuses.

Example: “Which monitors are currently alerting?”

getMonitorRead

Get a monitor’s full definition by ID, including the complete query text.

Example: “Show the full configuration for monitor mon_123.”

getMonitorHistoryRead

Get 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.”

listNotifiersRead

List configured notifiers.

Example: “List notifiers.”

createMonitorWrite

Create a new monitor.

Example: “Create a monitor that alerts when error rate in logs exceeds 5%.”

updateMonitorWrite

Update an existing monitor by ID.

Example: “Update monitor mon_123 to use a 5-minute threshold window.”

deleteMonitorWrite

Delete a monitor by ID.

Example: “Delete monitor mon_123.”

createNotifierWrite

Create 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.”

updateNotifierWrite

Update 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.”

deleteNotifierWrite

Delete a notifier by ID.

Example: “Delete notifier ntf_123.”

Labels

listLabelsRead

List organization resource labels (id, name, description, color), with an optional name filter.

Example: “List all resource labels in this organization.”

manageLabelsWrite

Create, 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.”

setLabelsWrite

Replace 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-getMapRead

Get the service dependency graph, including call volume, errors, and approximate latency.

Example: “Show the service map for the last hour.”

services-getChangesRead

Report 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-getEdgeHistoryRead

Get 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-listServicesRead

List available OpenTelemetry services in a traces dataset.

Example: “List OpenTelemetry services in traces over the last hour.”

otel-listOperationsRead

List available OpenTelemetry operations for a service.

Example: “List operations for the checkout service in traces.”

otel-getErrorBreakdownRead

Break down errors for an OpenTelemetry service or operation.

Example: “Show the error breakdown for checkout over the last 2 hours.”

otel-getServiceMetricsRead

Get 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-getOperationMetricsRead

Get detailed latency, error rate, and throughput metrics for a specific service operation.

Example: “Show operation metrics for POST /orders on checkout.”

otel-getTraceSpansRead

Fetch all spans for a trace ID.

Example: “Get all spans for trace 4bf92f3577b34da6a3ce929d0e0e4736.”

otel-findTracesRead

Search 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-findSimilarTracesRead

Find traces with a similar structure or behavior to a reference trace.

Example: “Find traces similar to 4bf92f3577b34da6a3ce929d0e0e4736.”

otel-getTraceCriticalPathRead

Find the critical path (longest blocking chain) through a trace.

Example: “Find the critical path for trace 4bf92f3577b34da6a3ce929d0e0e4736.”

otel-findTraceAnomaliesRead

Detect 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-getOverviewRead

Summarize 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-analyzeTokenUsageRead

Analyze input and output token usage across GenAI models, providers, or capabilities.

Example: “Analyze token usage by model in traces over the last day.”

genai-getModelPerformanceRead

Evaluate latency percentiles, throughput, and error rates for GenAI models.

Example: “Show model performance in traces over the last 6 hours.”

genai-analyzeCostsRead

Estimate GenAI token costs by model, provider, or capability.

Example: “Break down estimated GenAI costs by model for the last 7 days.”

genai-findErrorsRead

Find and group errors across GenAI spans.

Example: “Find GenAI errors in traces from the last hour.”

genai-compareModelsRead

Compare latency, token usage, error rates, and cost across GenAI models.

Example: “Compare GenAI models used in traces over the last 7 days.”

genai-analyzeToolUsageRead

Analyze GenAI tool call frequency, latency, and error rates.

Example: “Analyze GenAI tool usage in traces over the last 24 hours.”

genai-getCapabilityMetricsRead

Get 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

searchAxiomDocsRead

Search the Axiom documentation by topic.

Example: “Find the docs for creating a threshold monitor.”

readAxiomDocRead

Read an Axiom documentation page by path or URL.

Example: “Read the threshold monitor guide at /docs/monitor-data/threshold-monitors.”

Feedback

sendFeedbackWrite

Send 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-datasetPrompt

Explore 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-eventsPrompt

Detect anomalies using statistical analysis and pattern recognition across a dataset.

Example: “Look for anomalies in logs over the last 6 hours.”

correlate-events-across-datasetsPrompt

Find patterns and correlations between events across multiple datasets.

Example: “Correlate errors in logs with deploys in cicd for the last day.”

data-quality-investigationPrompt

Investigate 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-baselinePrompt

Establish 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-analysisPrompt

Analyze monitor health, alert patterns, and effectiveness.

Example: “Analyze which monitors flap the most this week.”

investigate-service-topologyPrompt

Walk 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-outagePrompt

Follow a systematic workflow to investigate service outages and performance degradation.

Example: “Run investigate-service-outage for checkout in traces.”

performance-degradation-analysisPrompt

Analyze service performance issues and identify optimization opportunities against a baseline period.

Example: “Run performance-degradation-analysis for api-gateway in traces.”

new-service-health-baselinePrompt

Establish performance baselines and a monitoring strategy for a new service.

Example: “Run new-service-health-baseline for billing-api in traces.”

trace-analysis-workflowPrompt

Follow a structured workflow to analyze a distributed trace and identify bottlenecks.

Example: “Run trace-analysis-workflow for trace 4bf92f3577b34da6a3ce929d0e0e4736.”

distributed-system-health-checkPrompt

Run 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.

What’s next

  • Set up Axiom MCP Server
  • AI agents
Was this page helpful?
Suggest edits on GitHub
PreviousAxiom MCP ServerNextSet query cost limits for AI agents
On this page
Tools at a glanceOrganizationsQueryDatasetsAPI tokensMetricsAnnotationsDashboardsMonitors and notifiersLabelsService mapOpenTelemetryOpenTelemetry tracing and service metricsGenAI observabilityDocumentationFeedbackPromptsWhat’s next