Skip to main content
Glama
DeepTempo

Splunk MCP for SOC Operations

by DeepTempo

run_splunk_query

Execute arbitrary SPL queries on Splunk to fetch search results. Set custom time range and result limits for targeted investigations.

Instructions

Execute arbitrary SPL query (alias for search_splunk, for compatibility with label harvester).

Args: query: The SPL query to execute earliest_time: Start time for the search (default: 24 hours ago) latest_time: End time for the search (default: now) max_results: Maximum number of results to return (default: 100)

Returns: List of search results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
latest_timeNonow
max_resultsNo
earliest_timeNo-24h

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool executes arbitrary SPL, defines parameters and defaults, and returns a list of results. However, it does not explicitly warn about potential side effects of arbitrary SPL or mention error behavior, leaving some ambiguity.

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

Conciseness5/5

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

The description is a compact docstring with the purpose in the first line, followed by an Args list and Returns line. Every sentence adds necessary information with no filler.

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?

The description covers the alias relationship, all parameters, and return type, making it sufficient for basic selection and invocation. However, it lacks guidance on error handling, authentication, or performance implications of arbitrary queries, which would be useful for a tool this powerful.

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?

Schema description coverage is 0%, so the description fully compensates by explaining every parameter: query, earliest_time, latest_time, and max_results, each with a clear meaning and default values drawn from the 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 states a clear verb and resource: 'Execute arbitrary SPL query.' It also distinguishes itself from siblings by explicitly identifying as an alias for search_splunk, which differentiates it from the near-duplicate sibling tool.

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 gives clear context for when to use this tool: it is an alias for search_splunk, intended for compatibility with the label harvester. This implies using search_splunk for new integrations, though it does not explicitly exclude other cases.

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/DeepTempo/splunk-mcp-soc'

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