Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_replay_saved_search

Re-execute a saved search over a custom historical time range to reproduce past results or investigate incidents.

Instructions

Replay and re-execute a saved search query over a custom historical time range.

Args: name: Saved search name. earliest_time: Historical start time (e.g. '-7d@d', '1710000000'). latest_time: Historical end time (e.g. 'now', '-1d@d').

Input Schema

NameRequiredDescriptionDefault
nameYes
latest_timeNonow
earliest_timeNo-7d@d

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

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does not disclose whether the replay blocks until completion, returns a job/sid, consumes scheduler/concurrency resources, or whether it requires the saved search to be enabled — all material for a tool that launches a search.

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 core sentence is front-loaded and wastes no words; the Args block is compact and example-driven. Slightly redundant with the schema's parameter list, but still efficient.

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 needn't be explained, and parameters are documented. What's missing for a re-execution tool is disclosure of execution behavior (blocking, job handle, result retrieval) and how it relates to sibling search-dispatch tools.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: each of the three parameters is explained, and both time parameters get concrete format examples ('-7d@d', '1710000000', 'now', '-1d@d') that the bare schema lacks. Defaults are only in the schema, but the semantics are well covered.

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?

States a specific verb pair ('Replay and re-execute') and resource ('saved search query') with a scope qualifier ('custom historical time range'), so the action is unambiguous. However, it gives no differentiation from close siblings such as splunk_dispatch_saved_search, which presumably also executes a saved search.

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

Usage Guidelines3/5

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

'over a custom historical time range' implies the use case (backfilling/re-running against past data) versus a normal live run, but the description never says when to prefer this over splunk_dispatch_saved_search or splunk_search. No prerequisites or exclusions are given.

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