Skip to main content
Glama
deslicer

MCP Server for Splunk

by deslicer

Create Config

create_config

Create or update a stanza in a Splunk .conf file at the app level, using REST with SDK fallback. Add or modify keys, with overwrite control to preserve existing settings.

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
appNoApp namespace for the config (defaults to 'search' if not provided).
ownerNoOwner namespace (defaults to current session user if available).
stanzaYesStanza name to create/update.
settingsYesKey/value settings to apply in the stanza.
conf_fileYesConfiguration file name without .conf (e.g., 'props', 'transforms').
overwriteNoOverwrite existing keys if True; otherwise skip them.
Install Server

TDQS

A4.2/5.0
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 transparently explains the overwrite logic (only overwrites when overwrite=true, otherwise adds new keys), the default to current session owner and app 'search', and the fallback mechanism. It does not mention permission requirements or potential side effects beyond the stated behavior, but the core semantics are well covered.

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 three concise sentences with each serving a purpose: what it does, implementation/defaults, and overwrite semantics. No fluff or redundant information. Perfectly front-loaded and structured.

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 has 6 parameters, a nested object, no output schema, and no annotations, the description adequately explains the key behaviors: the overwrite policy, defaults, and fallback. It does not describe return values or failure modes, but for a configuration mutation tool, the essential context is present. Slightly more detail on authentication or side effects could be added, but it is reasonably complete.

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

Parameters3/5

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

Schema coverage is 100%, and each parameter already has a description (conf_file, stanza, settings, app, owner, overwrite). The description repeats the defaults and overwrite behavior, which adds little beyond the schema. It does not elaborate on the settings object structure or edge cases, so it meets the baseline for well-documented 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 creates or updates a stanza in a Splunk .conf file at the app level. This is specific and distinguishes it from sibling read-only tools like get_configurations and get_config_spec.

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 explains the implementation approach (REST first, SDK fallback), default behavior for owner and app, and the overwrite parameter semantics. While it does not explicitly name alternatives, the context clearly implies its use for writing config versus reading, and the defaults are useful. It lacks explicit when-not-to-use guidance but provides sufficient context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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