Skip to main content
Glama
nks1097

Splunk Enterprise MCP Server

by nks1097

splunk_get_data_freshness

Evaluates data recency, event timestamps, and ingestion latency for a Splunk index or optional sourcetype.

Instructions

Evaluate data recency, latest event timestamp, and ingestion latency.

Args: index: Target index. sourcetype: Optional sourcetype.

Input Schema

NameRequiredDescriptionDefault
indexYes
sourcetypeNo

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 at all, so the description carries the full burden. It names the three metrics evaluated, which is mild useful context, but says nothing about permissions required, whether the index must exist, how time ranges are determined, or any latency/cost implications of the call.

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: the capability sentence comes first and the args block is minimal. Little waste, though the parameter lines add nearly zero information for the tokens spent.

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?

An output schema exists so return values needn't be explained, but for a diagnostic tool in a crowded ingestion-diagnostics family the description should at least distinguish its role from splunk_get_ingestion_lag and splunk_get_ingestion_metrics. With no annotations and 0% schema coverage, the remaining gaps are substantial.

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, and it does not. 'index: Target index' and 'sourcetype: Optional sourcetype' are tautological restatements of the names with no format hints (exact name vs. pattern, wildcard support, whether sourcetype affects the freshness window).

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 ('Evaluate') and resource (data recency, latest event timestamp, ingestion latency), so the agent knows what the tool returns. However it offers no differentiation from close siblings like splunk_get_ingestion_lag, splunk_get_ingestion_metrics, or splunk_check_source_coverage, which overlap heavily in purpose.

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 use this versus the many ingestion-related siblings (lag, metrics, source coverage, diagnose_ingestion). No prerequisites, no exclusions, no context about what scenario makes this the right choice.

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