Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_search_cancel

Cancel an active authorized Splunk search job using its Search Job ID; set the confirmation flag to stop unwanted or long-running searches.

Instructions

Cancel an active authorized search job.

Args: sid: Search Job ID to cancel. confirm: Confirmation flag for cancellation.

Input Schema

NameRequiredDescriptionDefault
sidYes
confirmNo

Output Schema

NameRequiredDescriptionDefault
dataNoOutput payload or results
errorNoError message if execution failed
successNoWhether the tool execution succeeded
metadataNoExecution timing, pagination and environment details
warningsNoOperational warnings or notices
request_idNoCorrelation ID for audit trail and observability

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it does not say whether cancellation is irreversible, whether partial results are preserved, what happens if the job is already finished, or what role/permission is required ('authorized' is asserted but unexplained).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Short and front-loaded with the action stated first. The Args block duplicates the schema titles but is the only parameter documentation present, so it earns most of its space.

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?

A destructive/irreversible-style operation with no annotations, an output schema that covers the return value, but critical gaps remain around the confirm flag semantics and preconditions. For a mutation tool with zero annotation coverage, this is insufficient.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It names both params but adds almost no meaning: 'sid: Search Job ID to cancel' restates the title, and 'confirm: Confirmation flag for cancellation' leaves the decisive question unanswered — must confirm be true for the cancellation to occur, and what happens when it is false?

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?

Specific verb + resource: cancels an active search job. It is distinguishable from siblings like splunk_search_status or splunk_search_results by the 'cancel' action, though the description never explicitly contrasts with them.

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?

No guidance on when to cancel versus let a job finish, no mention of prerequisites (job must be running), and no reference to splunk_search_status for checking state before cancelling. The agent must infer all usage context.

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

Deploy Server

Other Tools