Skip to main content
Glama
deslicer

MCP Server for Splunk

workflow_runner

Execute Splunk troubleshooting workflows by ID with parameter control and parallel processing for automated diagnostic analysis.

Instructions

Execute any available workflow by ID with comprehensive parameter control and parallel execution.

This tool provides a flexible interface to execute both core (built-in) and contrib (user-contributed) workflows with full control over execution parameters and diagnostic context. It leverages the same parallel execution engine used by the dynamic troubleshoot agent for optimal performance.

Core Capabilities:

  • Universal Execution: Run any workflow by ID - core or contrib workflows

  • Parameter Flexibility: Full control over time ranges, focus areas, and complexity levels

  • Parallel Processing: Dependency-aware parallel task execution for optimal performance

  • Comprehensive Results: Detailed execution results with performance metrics and summaries

  • Progress Tracking: Real-time progress reporting during workflow execution

Key Parameters:

  • workflow_id (required): ID of workflow to execute (use list_workflows to discover)

  • problem_description (optional): Context about the specific issue being investigated

  • earliest_time/latest_time (optional): Time range for diagnostic searches (default: "-24h" to "now")

  • focus_index/focus_host/focus_sourcetype (optional): Specific focus areas for targeted analysis

  • complexity_level (optional): "basic", "moderate", "advanced" analysis depth (default: "moderate")

  • enable_summarization (optional): AI-powered result summarization (default: True)

Supported Workflows:

  • Core Workflows: missing_data_troubleshooting, performance_analysis

  • Contrib Workflows: Any custom workflows from contrib/workflows/ directory

Benefits:

  • Consistent interface for all workflow types

  • Optimized parallel execution with dependency management

  • Flexible parameter control for different scenarios

  • Comprehensive result analysis and reporting

  • Integration with existing workflow infrastructure

When to use

  • Use when you know the workflow ID to run (discover via list_workflows)

  • Use for executing core or contrib workflows with custom time windows and focus context

  • Use in automation pipelines that orchestrate troubleshooting by workflow ID

Arguments

  • See Key Parameters list above. All are optional except workflow_id.

Outputs

  • Detailed execution results, task results, summary, and metadata including execution timing

Perfect for executing specific workflows when you know exactly which diagnostic procedure you need to run, or for building automated troubleshooting pipelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes
problem_descriptionNo
earliest_timeNo-24h
latest_timeNonow
focus_indexNo
focus_hostNo
focus_sourcetypeNo
complexity_levelNomoderate
enable_summarizationNo
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses behavioral traits: parallel execution with dependency management, real-time progress tracking, detailed results with performance metrics, and integration with existing infrastructure. It mentions 'optimal performance' but lacks specifics on rate limits, authentication needs, or error handling. However, it provides substantial context beyond basic functionality.

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

Conciseness3/5

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

The description is well-structured with sections (Core Capabilities, Key Parameters, Supported Workflows, Benefits, When to use, Arguments, Outputs) but is overly verbose. Sentences like 'Perfect for executing specific workflows...' are redundant after the 'When to use' section. It could be more front-loaded; the first sentence captures the essence, but subsequent sections add bulk without always earning their place.

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

Completeness4/5

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

Given complexity (9 parameters, no annotations, no output schema), the description is largely complete. It explains purpose, usage, parameters, supported workflows, and outputs (detailed execution results with timing). However, without an output schema, it could better detail the structure of 'detailed execution results' (e.g., format, keys). It compensates well for missing structured data but has minor gaps in output specifics.

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. It includes a 'Key Parameters' section explaining all 9 parameters with semantics: workflow_id (required, use list_workflows to discover), problem_description (context for investigation), time ranges (for diagnostic searches), focus parameters (for targeted analysis), complexity_level (analysis depth options), and enable_summarization (AI-powered summarization). It adds meaning beyond the bare schema, though some details like format examples could be enhanced.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Execute any available workflow by ID with comprehensive parameter control and parallel execution.' It specifies the verb ('execute'), resource ('workflow by ID'), and distinguishes from siblings like 'list_workflows' (for discovery) and 'workflow_builder' (likely for creation). The opening sentence is specific and comprehensive.

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

Usage Guidelines5/5

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

The description includes an explicit 'When to use' section with three bullet points: use when you know the workflow ID (discover via list_workflows), use for executing core/contrib workflows with custom parameters, and use in automation pipelines. It clearly distinguishes from sibling tools by referencing list_workflows for discovery and provides context for when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deslicer/mcp-for-splunk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server