Skip to main content
Glama
deslicer

MCP Server for Splunk

create_config

Create or update configuration stanzas in Splunk .conf files at the app level using REST API or SDK fallback. Manage settings with optional overwrite control for existing keys.

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.

Args: conf_file (str): Configuration file name without .conf (e.g., 'props', 'transforms'). stanza (str): Stanza name to create/update. settings (dict): Key/value settings to apply in the stanza. app (str, optional): App namespace for the config (defaults to 'search' if not provided). owner (str, optional): Owner namespace (defaults to current session user if available). overwrite (bool, optional): Overwrite existing keys if True; otherwise skip them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conf_fileYes
stanzaYes
settingsYes
appNo
ownerNo
overwriteNo
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing: the REST/SDK fallback approach, default values for app and owner, the conditional overwrite behavior, and the fact it operates at the app level. It doesn't mention authentication requirements, rate limits, or error conditions, but provides substantial operational context.

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?

Perfectly structured with a clear purpose statement followed by detailed parameter documentation. Every sentence adds value: the first explains what the tool does and its operational approach, the second covers defaults and overwrite behavior, and the parameter section provides essential usage details without redundancy.

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?

For a complex mutation tool with 6 parameters, 0% schema coverage, no annotations, and no output schema, the description does remarkably well. It covers purpose, behavior, parameters, and defaults comprehensively. The main gap is lack of information about return values or error responses, which would be helpful given the absence of an output schema.

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?

With 0% schema description coverage, the description must compensate and does so effectively. It explains all 6 parameters with clear examples (e.g., 'props', 'transforms' for conf_file), clarifies optional vs required parameters, documents default values, and explains the nuanced behavior of the 'overwrite' parameter. The only gap is that 'settings' is described generically as 'Key/value settings' without format specifics.

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 specific action ('creates or updates a stanza'), target resource ('Splunk .conf file at the app level'), and method ('Uses REST first, with SDK fallback'). It distinguishes itself from sibling tools like 'get_configurations' or 'list_config_files' by focusing on creation/modification rather than retrieval.

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 provides clear context about when to use it (creating/updating config stanzas) and includes important behavioral defaults (owner/app defaults, overwrite behavior). However, it doesn't explicitly mention when NOT to use it or name specific alternatives among the many sibling tools for different configuration-related tasks.

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