Skip to main content
Glama
deslicer

MCP Server for Splunk

create_config

Add or modify settings in Splunk app configuration files. Specify the conf file, stanza, and key-value pairs to create or update.

Instructions

Creates or updates a stanza in a Splunk .conf file at the app level. Uses REST first, with SDK fallback. Defaults to the current session owner and app 'search' when not provided. Will only overwrite existing keys when overwrite=true; otherwise, only new keys are added.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conf_fileYesConfiguration file name without .conf (e.g., 'props', 'transforms').
stanzaYesStanza name to create/update.
settingsYesKey/value settings to apply in the stanza.
appNoApp namespace for the config (defaults to 'search' if not provided).
ownerNoOwner namespace (defaults to current session user if available).
overwriteNoOverwrite existing keys if True; otherwise skip them.
Behavior4/5

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

With no annotations provided, the description fully carries the burden. It discloses the fallback mechanism, default values for owner and app, and the conditional overwrite behavior. This gives the agent a good understanding of the tool's side effects and non-obvious behavior.

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?

Three concise sentences, each serving a distinct purpose. The first sentence states the core function, the second describes the implementation method, and the third covers defaults and conditional behavior. No redundant information, well front-loaded.

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 full schema coverage and no output schema, the description covers the essential behavioral aspects: create/update distinction, defaults, overwrite behavior, and implementation approach. It is mostly complete, though it could explicitly mention that a new stanza is created if it doesn't exist, which is implied but not stated.

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 coverage is 100%, so baseline is 3. The description adds value beyond schema by explaining default behavior for owner and app ('Defaults to the current session owner and app 'search''), and clarifies the effect of the overwrite parameter. This improves parameter understanding.

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?

Description clearly states 'Creates or updates a stanza in a Splunk .conf file at the app level', specifying the verb (creates/updates), resource (stanza in .conf file), and scope (app level). It effectively distinguishes from sibling tools like create_dashboard which operate on different resources.

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?

Provides guidance on implementation strategy ('Uses REST first, with SDK fallback'), defaults for owner and app, and overwrite behavior. While it doesn't explicitly state when not to use this tool or list alternatives, the description gives clear context for typical usage.

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