Scout Monitoring (local)
v2026.10.20Run Scout Monitoring's MCP tools locally with an API key: endpoints, traces, errors, N+1 insights.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_scout_setup_instructions
Get step-by-step instructions to instrument Scout APM in a framework. Always use this tool first when asked to setup/instrument/configure Scout APM in an application. This provides official, tested configuration instructions that should be followed exactly. Supported frameworks: - Web: bottle, dash, django, falcon, fastapi, flask, hug, rails, starlette - Background Jobs: celery, dramatiq, huey, rq - Database: sqlalchemy Args: framework: The framework or library name (e.g., "fastapi", "django", "celery") Returns: Complete setup instruction…
| Parameter | Type | Description |
|---|---|---|
framework * | string |
list_apps
List available Scout APM applications. Provide an optional `active_since` ISO 8601 to filter to only apps that have reported data since that time. Defaults to the metric retention period of thirty days. Args: active_since (str): ISO 8601 datetime string to filter apps active since that time.
| Parameter | Type | Description |
|---|---|---|
active_since |
get_app_metrics
Get individual metric data for a specific application. Args: app_id (int): The ID of the Scout APM application. metric (str): The metric to retrieve (e.g., "response_time", "throughput"). from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
metric * | string | |
to * | string |
get_app_endpoints
Get all endpoints for a specific application. Also gets aggregated performance metrics withing the window of "from_" to "to". Useful for identifying high throughput, high latency or high error rate endpoints accross the application with a single call. These endpoints can be used in other tools to fetch endpoint-specific metrics, traces or errors. Args: app_id (int): The ID of the Scout APM application. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
to * | string |
get_app_jobs
Get all background jobs for a specific application. Also gets aggregated performance metrics within the window of "from_" to "to". Useful for identifying high throughput, high latency or high error rate jobs across the application with a single call. Each job includes: full_name, name, queue, job_id, throughput, execution_time, time_consumed, latency. Args: app_id (int): The ID of the Scout APM application. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
to * | string |
get_job_metrics
Get a single timeseries metric for a specific background job in an application. Valid job metrics: throughput, execution_time, latency, errors, allocations. Args: app_id (int): The ID of the Scout APM application. job_id (str): The Base64-encoded job ID. metric (str): The metric to retrieve (e.g., "execution_time", "throughput"). from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
job_id * | string | |
metric * | string | |
to * | string |
get_app_job_traces
Get recent traces for an app filtered to a specific background job. Each trace includes: id, time, duration, name, queue, metric_name, context. Args: app_id (int): The ID of the Scout APM application. job_id (str): The Base64-encoded job ID. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
job_id * | string | |
to * | string |
get_endpoint_metrics
Get a single timeseries metric for a specific endpoint in an application. Args: app_id (int): The ID of the Scout APM application. endpoint (str): The endpoint path (e.g., "/users", "/orders"). metric (str): The metric to retrieve (e.g., "response_time", "throughput"). from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
endpoint * | string | |
from_ * | string | |
metric * | string | |
to * | string |
get_app_endpoint_traces
Get recent traces for an app filtered to a specific endpoint. Args: app_id (int): The ID of the Scout APM application. endpoint_id (str): The ID of the endpoint to filter traces. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
endpoint_id * | string | |
from_ * | string | |
to * | string |
get_app_trace
Get an individual trace with all spans. Args: app_id (int): The ID of the Scout APM application. trace_id (int): The ID of the trace to retrieve.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
trace_id * | integer |
get_app_error_groups
Get recent error_groups for an app, optionally filtered to a specific endpoint or group. Args: app_id (int): The ID of the Scout APM application. endpoint_id (str | None): The ID of the endpoint to filter errors. If None, fetches all errors for the app. error_group_id (str | None): The ID of the error group to filter errors.
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
to * | string | |
endpoint_id | ||
error_group_id |
get_app_anomaly_events
List anomaly events for a Scout APM application within a timeframe. Anomaly events flag statistically significant deviations in a metric (e.g. response time spike, throughput drop) detected against a learned baseline. Args: app_id: The ID of the Scout APM application. from_: Start datetime in ISO 8601 format. to: End datetime in ISO 8601 format. state: Filter by state - "open", "closed", or "all". metric: Filter by metric (e.g. response_time, throughput, error_rate). endpoint: Filter by endpoint (controller path).
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
from_ * | string | |
to * | string | |
endpoint | ||
metric | ||
state |
get_app_anomaly_event
Get a single anomaly event by ID, with smart_monitor and deploy context.
| Parameter | Type | Description |
|---|---|---|
anomaly_event_id * | integer | |
app_id * | integer |
get_usage
Get usage and billing data for the current billing period. Returns billing period dates, pricing style, APM transaction counts (with limit if applicable), node counts (for per-node pricing), error counts (if error monitoring is enabled), and log bytes used (if logs integration is enabled).
get_app_insights
Get or generate all insights for an application (cached for 5 minutes). Returns performance insights including N+1 queries, memory bloat, and slow queries. Each insight type includes count, new_count, and items array with specific details. If insight_type is provided, only that type will be returned. Args: app_id (int): The ID of the Scout APM application. insight_type: (str | None): Type of insight to filter (n_plus_one, memory_bloat, slow_query) If None (the default), all types will…
| Parameter | Type | Description |
|---|---|---|
app_id * | integer | |
insight_type | ||
limit |