Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_list_hosts

Discover hosts reporting data into Splunk, including event counts and latest observed timestamps. Optionally filter by index and limit the number of results.

Instructions

Discover hosts reporting data into Splunk with event counts and latest observed timestamp.

Args: index: Optional index filter. count: Maximum number of hosts to list.

Input Schema

NameRequiredDescriptionDefault
countNo
indexNo

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

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry behavioral disclosure. It usefully mentions returned fields (event counts and latest observed timestamp), but it does not explicitly state read-only/non-destructive behavior, permission requirements, pagination behavior, or count default.

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 compact and front-loaded, with the tool purpose first and parameter explanations in a short Args block. There is no unnecessary filler.

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-parameter read/list tool with an output schema, the description provides enough context to call it correctly: purpose, returned fields, and parameter meanings. The main omission is explicit guidance on sibling alternatives and safety/auth behavior, but the core call context is present.

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 needs to explain both parameters, and it does: index is an optional index filter and count is the maximum number of hosts to list. It could add useful detail such as the default count of 100, but the core semantics are covered.

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 gives a specific verb+resource: discovering Splunk hosts that report data, including event counts and latest observed timestamp. It is clear what the tool returns, but it does not explicitly differentiate from related siblings such as splunk_list_forwarders or splunk_investigate_host.

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?

Usage is implied by 'Discover hosts reporting data into Splunk', and the optional index filter suggests a scoped discovery workflow. However, the description does not state when to use this instead of sibling tools like splunk_list_forwarders, splunk_list_inputs, or splunk_investigate_host.

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