Skip to main content
Glama
splunk-mcp-readonly

splunk-mcp-readonly

by lfjuarez

notables

Lists recent Enterprise Security notable events by lookback hours and result limit, returning rule, severity, urgency, status, owner, source, destination, user, and risk score. Requires Splunk ES.

Instructions

List recent Enterprise Security notable events (requires Splunk ES).

Uses the ES notable macro, so it returns an error on a Splunk without Enterprise Security.

Args: hours: How many hours back to look (default 24). limit: Maximum notables to return (default 50, server cap applies).

Returns {"notables": [...], "count": n} with rule_name, severity, urgency, status, owner, src, dest, user and risk_score.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "notables"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNo
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does so reasonably: it discloses the dependency on the ES `notable` macro, the resulting error on non-ES instances, a server-side cap on `limit`, and the shape of the response. It omits permission requirements and any pagination behavior beyond the cap.

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?

The most important constraint (ES requirement) is front-loaded, and the Args/Returns block is scannable with no filler. The Returns section is somewhat redundant given an output schema exists, but it is short and informative.

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 simple two-optional-parameter read tool with an output schema, the description covers preconditions, macro dependency, parameter meaning, and result fields. Nothing critical to correct invocation is missing, aside from authentication/permission notes.

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?

Schema description coverage is 0%, so the description must compensate; it explains both parameters semantically — `hours` as the lookback window and `limit` as the maximum notables — and adds a constraint not present in the schema ('server cap applies'). It does not discuss ranges, units beyond hours, or what happens when the cap is exceeded.

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 opens with a specific verb and resource ('List recent Enterprise Security notable events'), making clear it returns ES notable-event records rather than raw search results or index metadata. It is distinguishable from siblings like 'search' or 'list_indexes', though it never explicitly names an alternative for non-ES use cases.

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?

It gives clear usage context: the tool requires Splunk Enterprise Security and will error on a Splunk without ES, which is a strong precondition for selection. However, it offers no exclusions or routing to siblings (e.g. use 'search' for custom SPL against non-notable data).

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