Skip to main content
Glama
deslicer

MCP Server for Splunk

get_spl_reference

Retrieve detailed reference documentation for any SPL command, including syntax, examples, and usage patterns, directly from your Splunk environment.

Instructions

Get detailed reference documentation for specific SPL (Search Processing Language) commands. Returns comprehensive documentation with syntax, examples, and usage patterns as an embedded resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesSPL command name. Use list_spl_commands() to see common commands. Examples: - 'stats' - Statistical aggregation command - 'eval' - Field calculation and manipulation - 'search' - Search filtering command - 'timechart' - Time-based charting - 'rex' - Regular expression field extraction - 'lookup' - Data enrichment from lookups
versionNoSplunk version for documentation. Examples: - '9.4' - Splunk 9.4 documentation - '9.3' - Splunk 9.3 documentation - 'latest' - Latest version (default)latest
auto_detect_versionNoWhether to auto-detect Splunk version from connected instance. Defaults to True.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It describes the tool as returning documentation, but does not disclose behavioral traits such as whether it is a read-only operation, authentication needs, rate limits, or any side effects. The term 'embedded resource' is vague.

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 a single sentence that conveys the core purpose and return type. It is relatively concise, though it could be slightly more structured (e.g., bullet points for the return content). No unnecessary words.

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?

Given the absence of an output schema, the description partially explains the return value ('comprehensive documentation with syntax, examples, and usage patterns') but does not specify the format (e.g., text, structured object). With many sibling documentation tools, clearer differentiation and context would improve completeness. The description is adequate but not thorough.

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?

The input schema has 100% description coverage with detailed examples for the 'command' parameter and clear descriptions for 'version' and 'auto_detect_version'. The description adds that the return includes 'syntax, examples, and usage patterns', which provides context beyond the schema but does not deeply elaborate on parameter semantics.

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 retrieves detailed reference documentation for specific SPL commands, including syntax, examples, and usage patterns. It distinguishes from sibling tools like 'list_spl_commands' (which lists commands) and 'get_splunk_documentation' (general docs).

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

Usage Guidelines4/5

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

The description implies usage for getting detailed docs on a specific SPL command, but does not explicitly provide when-not-to-use guidance or mention alternatives like 'list_spl_commands' for discovering command names. The mention of 'embedded resource' hints at the return type.

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