Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_detect_anomalies

Detect statistical outliers in Splunk time-series data using standard deviation, with configurable index, sourcetype, metric field, and aggregation interval.

Instructions

Execute statistical anomaly detection (outliers based on standard deviation) over time series.

Args: index: Index to inspect. sourcetype: Optional sourcetype. field_to_analyze: Metric or field (default 'count'). time_span: Aggregation bucket (default '1h').

Input Schema

NameRequiredDescriptionDefault
indexYes
time_spanNo1h
sourcetypeNo
field_to_analyzeNocount

Output Schema

NameRequiredDescriptionDefault
dataNoOutput payload or results
errorNoError message if execution failed
successNoWhether the tool execution succeeded
metadataNoExecution timing, pagination and environment details
warningsNoOperational warnings or notices
request_idNoCorrelation ID for audit trail and observability

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must carry the full behavioral burden. It discloses the statistical method (standard deviation outliers), which is genuinely useful, but says nothing about whether this runs a search job, cost/permission implications, read-only safety, or how many anomalies are returned. A mutation-free read tool still needs more than algorithm hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded with the core purpose and the Args list is compact, with no filler. Slightly weakened by the Args entries being near-verbatim parameter names.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. However, for a detection tool with zero annotations and no usage guidance, the definition leaves the agent unsure when to call it and what operational side effects to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the Args block does real work: it explains that index is the index to inspect, sourcetype is optional, field_to_analyze defaults to 'count', and time_span is the aggregation bucket. It stops short of specifying time_span syntax (e.g. '1h', '5m') or the semantics of analyzing 'count' as a field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Execute statistical anomaly detection (outliers based on standard deviation) over time series,' and even names the technique. That is clear and actionable, but it never distinguishes itself from adjacent analytical siblings such as splunk_compare_time_periods or splunk_detect_data_quality_issues.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only content beyond the opening line is an Args block that restates the parameters. There is no statement of when to prefer this over splunk_search or splunk_compare_time_periods, no prerequisites, and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools