Skip to main content
Glama
deslicer

MCP Server for Splunk

list_sources

Retrieve a comprehensive inventory of all data sources from Splunk indexes. Use for data discovery, troubleshooting missing data, and understanding data flow.

Instructions

Discover and enumerate all available data sources from the configured Splunk instance using the metadata command. This tool provides a comprehensive inventory of data sources across all indexes, helping with data discovery, troubleshooting, and understanding the data landscape in your Splunk environment. Sources represent the origin points of data such as log files, network streams, databases, and other data inputs.

Use Cases:

  • Data discovery and cataloging

  • Troubleshooting missing data sources

  • Understanding data flow and origins

  • Planning data retention and archival

  • Security analysis and audit trails

Response Format: Returns a dictionary with 'status' field and 'data' containing:

  • sources: Sorted array of all data source paths/identifiers

  • count: Total number of unique sources discovered

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It explains the tool uses the metadata command, returns a dictionary with status and data (sources array, count). However, it does not mention permissions, performance implications, or whether the operation is read-only, which would be helpful for a discovery tool.

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 description is well-structured with clear sections (intro, use cases, response format). It is informative but somewhat lengthy with bullet points; some sentences could be trimmed without losing meaning. Overall efficient for the content provided.

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?

Given no parameters, no output schema, and no annotations, the description covers the essential aspects: what the tool does, its use cases, and the response format. It could enhance completeness by briefly contrasting with sibling tools, but it is sufficient for a simple discovery tool.

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?

The input schema has 0 parameters, and schema description coverage is 100%. The description adds no parameter information because there are none to describe. Baseline score of 4 is appropriate for a parameterless tool.

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

Purpose5/5

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

The description clearly identifies the tool's purpose: to discover and enumerate all available data sources using the metadata command. It distinguishes from siblings like list_indexes and list_sourcetypes by focusing on data sources as origin points (log files, network streams, etc.), and lists specific 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?

The description provides explicit use cases (data discovery, troubleshooting, planning, etc.) that guide when to use the tool. However, it does not mention when not to use it or explicitly compare it to alternative tools like list_indexes or get_metadata, which limits the guidance slightly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deslicer/mcp-for-splunk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server