Skip to main content
Glama
splunk-mcp-readonly

splunk-mcp-readonly

by lfjuarez

list_saved_searches

Retrieve Splunk saved searches and alerts—including name, SPL, cron schedule, app, and owner—with optional name filtering and a result limit for configuration review.

Instructions

List saved searches and alerts (name, SPL, cron schedule, app, owner).

Args: filter: Optional substring to match against the saved search name. limit: Maximum number of saved searches (default 50).

Returns {"saved_searches": [...], "count": n}.

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": "list_saved_searches"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
filterNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'List' correctly implies a read-only operation and the return shape is disclosed. However, it omits behavior that matters operationally: ordering of results, what happens when more than `limit` items exist (truncation vs pagination), and any permission requirements. Read-safety is implied but concurrency/pagination behavior is not addressed.

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 purpose is front-loaded in one sentence, followed by compact arg notes and a return-shape line; nothing is padded. Minor waste: the `limit` default of 50 duplicates the schema default, and the Returns line duplicates the existing output schema.

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

Completeness5/5

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

For a two-parameter, non-destructive list tool with an output schema and zero required parameters, the description covers purpose, both parameters, and return shape. The only residual gap, ordering and truncation behavior, is minor at this complexity level.

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 coverage is 0%, so the description must compensate, and it largely does: `filter` is explained as a substring match specifically against the saved search name (clarifying both match mode and target field), and `limit` as the maximum count with its default. It does not explain what the empty-string default for `filter` means or whether any other fields are matchable.

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?

States a specific verb and resource ('List saved searches and alerts') and enumerates the returned fields (name, SPL, cron schedule, app, owner), so the agent knows exactly what data comes back. It does not differentiate against siblings such as 'notables' or 'search', which could superficially overlap with 'alerts', so it falls short of a 5.

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 gives no when-to-use or when-not-to-use guidance, and names no alternative for retrieving alert/notable data. The only hints are parameter semantics, which imply 'use this to enumerate saved searches, optionally filtered', leaving the agent to infer selection between this and sibling tools.

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