Skip to main content
Glama
deslicer

MCP Server for Splunk

by deslicer

Create Alert

create_alert

Set up Splunk alerts by scheduling saved searches with trigger conditions, multiple actions, thresholds, and severity levels.

Instructions

Create a Splunk alert (a scheduled saved search with trigger conditions). Actions can be any installed alert action, including custom ones, and more than one action is allowed. Call list_alert_actions first for custom action names and param keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoApp context (default: search)
nameYesUnique alert name (required)
searchYesSPL query (required)
actionsNo[{name, params, enabled}]. Empty means track-only. Custom action params use keys from list_alert_actions.
sharingNouser|app|global (default: user)user
alert_typeNoalways|number of events|number of hosts|number of sources|custom (default: number of events)number of events
is_visibleNo
alert_trackNoShow in Triggered Alerts (default: true)
descriptionNoDescription
latest_timeNoDispatch latest time, e.g. 'now'now
cron_scheduleYesCron schedule, e.g. '*/5 * * * *' (required)
earliest_timeNoDispatch earliest time, e.g. '-15m'-15m
alert_severityNo1-5 (default: 3)
alert_conditionNoRequired when alert_type is custom
alert_thresholdNoThreshold value (default: 0)0
alert_comparatorNogreater than|less than|equal to|not equal to (default: greater than)greater than
alert_digest_modeNo
Behavior3/5

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

No annotations are present, so the description must carry behavioral context. It does add valuable information: actions are not limited to built-in ones, multiple actions are allowed, and custom action names/keys come from list_alert_actions. However, it does not disclose what happens on duplicate alert names, whether any authorization is needed, or what the response indicates about success.

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 concise, front-loads the core definition, and uses three sentences that each add value. The prerequisite instruction about list_alert_actions is included without clutter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that there are no annotations and no output schema, the description leaves gaps about how to verify creation success and what happens on conflict or invalid configurations. It covers the key conceptual role well, but relies almost entirely on the schema for the rest.

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 high at 88%, so the schema already explains most parameters. The description adds context around the actions parameter by saying custom actions are supported and pointing to list_alert_actions, but it does not enrich semantics for required parameters beyond what the schema already provides.

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?

Clearly states the specific operation: creating a Splunk alert, defined as a scheduled saved search with trigger conditions. This distinguishes it from create_saved_search, which creates saved searches without trigger conditions, and from update_alert, which modifies existing alerts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a useful prerequisite to call list_alert_actions first, but gives no guidance about when to use create_saved_search versus create_alert, or when to switch to update_alert. It does not mention any exclusions or alternatives by name.

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