Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_export_search_results

Export Splunk search results as JSON, CSV, or raw events to save query output for analysis and reporting.

Instructions

Export search results in structured format (JSON, CSV, or raw events).

Args: spl: SPL search query. output_format: 'json', 'csv', or 'raw'. earliest_time: Optional earliest time. count: Maximum count of events to export.

Input Schema

NameRequiredDescriptionDefault
splYes
countNo
earliest_timeNo
output_formatNojson

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 carries the full behavioral burden. It mentions output formats and a maximum event count but does not disclose whether the tool executes a new search, whether it is read-only, what permissions are required, or any execution limits or side effects.

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 description is short and front-loaded with the core purpose, followed by a compact argument list. It is efficient, though the Args list repeats parameter names already present in the schema.

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 explained. However, for a tool with no annotations and four parameters, the description should clarify execution semantics, permissions, and limits; it covers the parameter surface but leaves important behavioral context unspecified.

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 description must compensate for all four parameters. It documents each parameter name and adds some meaning, such as the allowed output_format values and the purpose of count and earliest_time, but it omits the default count value (500), the expected format of earliest_time, and any constraints.

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: exporting search results in JSON, CSV, or raw format. This clearly distinguishes it as an export tool, but it does not explicitly differentiate it from close siblings such as splunk_search_results or splunk_search_events.

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 description provides no explicit guidance on when to use this tool versus alternatives like splunk_search_results or splunk_search_events. Usage is only implied by the word 'Export', leaving the agent to infer the appropriate context.

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