Skip to main content
Glama
deslicer

MCP Server for Splunk

get_splunk_documentation

Retrieve Splunk documentation content by URI pattern for cheat sheets, troubleshooting guides, SPL references, and admin guides. Returns embedded markdown resources compatible with agentic frameworks.

Instructions

Retrieve any Splunk documentation by URI pattern. This tool wraps existing documentation resources and returns embedded resources with actual content, making them compatible with agentic frameworks that don't support MCP resources natively. Supports all documentation types including cheat sheets, troubleshooting guides, SPL references, and admin guides.

Args: doc_uri (str): Documentation URI pattern. Use list_available_topics() to see all available URI patterns and topics. Examples: - 'splunk-docs://cheat-sheet' - Splunk SPL cheat sheet - 'splunk-docs://discovery' - Available documentation discovery - 'splunk-docs://9.4/spl-reference/stats' - SPL stats command - 'splunk-docs://latest/troubleshooting/metrics-log' - Troubleshooting guide - 'splunk-docs://9.3/admin/indexes' - Admin guide for indexes - 'splunk-cim://authentication' - CIM data model (latest version) - 'splunk-cim://6.1/network-traffic' - CIM data model (specific version) - 'splunk-cim://discovery' - CIM discovery index - 'dashboard-studio://cheatsheet' - Dashboard Studio cheatsheet - 'dashboard-studio://discovery' - Dashboard Studio discovery - 'splunk-spec://props.conf' - Config file specification auto_detect_version (bool, optional): Whether to auto-detect Splunk version for dynamic resources. Defaults to True.

Returns embedded resource with actual documentation content in markdown format.

šŸ’” Tip: Use list_available_topics() to discover all available URI patterns and topics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_uriYes
auto_detect_versionNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it 'returns embedded resources with actual content in markdown format', mentions support for 'all documentation types', and explains the auto_detect_version parameter's default behavior. However, it doesn't cover error conditions, rate limits, or authentication requirements that might be relevant for a documentation retrieval tool.

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 well-structured with a clear purpose statement, parameter documentation, return value explanation, and usage tip. While comprehensive, it's appropriately sized for a tool with complex parameter semantics. The examples are valuable but make the description longer than minimal - every sentence earns its place by providing necessary context for proper tool use.

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 the tool's complexity (2 parameters with 0% schema coverage, no output schema, no annotations), the description does an excellent job of providing context. It explains what the tool does, how to use it, parameter semantics, return format, and references a sibling tool for discovery. The main gap is lack of output schema documentation, but the description states it 'Returns embedded resource with actual documentation content in markdown format' which provides basic return information.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by providing extensive parameter documentation. It explains doc_uri as 'Documentation URI pattern' with 10 specific examples showing different patterns and use cases, and describes auto_detect_version as 'Whether to auto-detect Splunk version for dynamic resources' with its default value. This adds substantial meaning beyond the bare schema.

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: 'Retrieve any Splunk documentation by URI pattern' with specific verb ('Retrieve') and resource ('Splunk documentation'). It distinguishes from siblings by mentioning it 'wraps existing documentation resources and returns embedded resources with actual content', differentiating from tools like get_admin_guide or get_spl_reference that might fetch specific documentation types.

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 provides explicit guidance on when to use this tool: 'Use list_available_topics() to see all available URI patterns and topics' and includes a tip reinforcing this. It also distinguishes from alternatives by explaining this tool 'makes them compatible with agentic frameworks that don't support MCP resources natively', indicating when this wrapper approach is needed versus direct resource access.

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