Skip to main content
Glama
deslicer

MCP Server for Splunk

create_config

Create or update a stanza in a Splunk .conf file at the app level, adding or overwriting key-value settings with REST-first approach.

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?

No annotations provided, so description carries full burden. It discloses REST-first approach, SDK fallback, defaults for owner/app, and overwrite behavior. Does not detail permissions or side effects, but covers key behavioral aspects for a config tool.

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 sentences, front-loaded with the main action. Each sentence provides distinct information (what, how, defaults, conditions). No redundancy or fluff.

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?

No output schema, but description covers the essential: what it does, how it works, defaults, and key condition (overwrite). Lacks error handling or examples, but for a write tool with 6 params, it is sufficiently complete.

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% with descriptions for all 6 parameters. Description adds value by explaining defaults for 'app' and 'owner', and clarifying overwrite behavior beyond schema. This helps the agent understand parameter usage.

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 it creates or updates a stanza in a Splunk .conf file at the app level. The verb 'creates or updates' and resource 'stanza in .conf file' are specific. It distinguishes from sibling tools like 'create_dashboard' or 'create_kvstore_collection' which handle 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 when to use (create/update config), default behaviors (owner, app), and overwrite condition. Could be improved by explicitly stating when not to use or comparing with other create tools, but current info is adequate.

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