Skip to main content
Glama
Wasim-Shaikh25

splunk-dashboard-mcp

update_alert

Update an existing Splunk alert by modifying search, schedule, or trigger conditions. Requires prior documentation consultation and verifies write access before changes.

Instructions

Update an existing alert. Pre-checks edit access; refuses if can_write is false. Requires docsConsulted=true. DOCUMENTATION-FIRST: read the official Splunk docs (use the splunk_docs tool) before writing SPL or a dashboard definition; do not guess syntax or schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoApp namespace. Default: the alert's current app.
cronNoCron schedule.
nameYesExisting alert name.
ownerNoOwner. Default: the alert's current owner.
latestNoDispatch latest time.
searchYesNew SPL.
actionsNoAlert actions.
earliestNoDispatch earliest time.
conditionNoTrigger type (see create_alert).
thresholdNoNumeric threshold.
comparatorNoComparator (see create_alert).
descriptionNoOptional description.
docsConsultedYesMust be true.
docsReferenceNoThe doc URL/section you used.
customConditionNoSPL condition for condition='custom'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses that the tool pre-checks edit access and refuses if can_write is false, and requires docsConsulted=true. However, it does not describe what the update does (e.g., merge vs replace fields), whether it errors on non-existent alerts, or what the return value looks like. It adds some value but leaves significant behavior unspecified.

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?

Two concise sentences with no wasted words. The purpose is front-loaded, followed by key preconditions. Every clause earns its place, and the documentation-first policy is stated clearly.

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

Completeness2/5

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

This is a complex tool with 15 parameters and no output schema. The description covers purpose and preconditions but does not explain update semantics (partial vs full replacement), success indicators, error handling beyond access refusal, or what happens to unspecified fields. Given the complexity, an agent would need more guidance to call it correctly without guessing.

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% with every parameter having a description. The description reinforces the docsConsulted requirement but adds no new meaning beyond the schema's 'Must be true.' The behavioral notes about access control do not pertain to parameters. The baseline of 3 applies since the schema already documents all parameters thoroughly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Update an existing alert.' This clearly distinguishes it from create_alert (since it says 'existing') and get_alert (since it says 'update'). It doesn't explicitly name sibling alternatives, but the purpose is unambiguous.

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

Usage Guidelines3/5

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

The description implies usage through the verb 'update' and 'existing alert', but it does not explicitly say when to use this tool versus create_alert or other siblings. The documentation-first directive is a how-to guideline, not a tool-selection rule. Preconditions (edit access check, docsConsulted) are behavioral constraints, not usage context.

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