Skip to main content
Glama
mcp-root-cause-detective

mcp-root-cause-detective

by tarihte1110

get_timeline_slice

Read-onlyIdempotent

Retrieves a filtered raw log slice around a specified UTC timestamp (±N seconds) for evidence inspection near suspicious events in root cause analysis.

Instructions

Şüpheli bir UTC anının ±N saniye etrafındaki filtrelenmiş ham log kesitini döndürür.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "center_timestamp": "<center_timestamp>"
    },
    "name": "get_timeline_slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sourcesNo
min_levelNoDEBUG
analysis_idNo
window_secondsNo
center_timestampYes

Output Schema

NameRequiredDescriptionDefault
errorNo
entriesNo
analysis_idYes
total_matchedNo
window_secondsYes
center_timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description's help. The description adds that the output is 'raw' and 'filtered' data, which tells the agent it gets log lines rather than an interpretation. It does not disclose how filtering is applied, ordering, or what limit does to results, leaving meaningful behavioral gaps.

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?

A single dense sentence with zero filler, front-loading the resource and scope. It is efficient, though the lack of any secondary sentence means there is no structure to carry the parameter guidance that is missing.

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 need not be described, and annotations cover the safety profile. But for a 6-parameter tool with 0% schema coverage, the description leaves most parameters and all filtering behavior unexplained, which is not enough for an agent to invoke it confidently.

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% across 6 parameters, so the description carries the full burden — yet it only clarifies window_seconds ('±N saniye') and implicitly center_timestamp ('UTC anı'). The other four parameters (limit, sources, min_level, analysis_id) get no explanation of meaning, format, or interaction anywhere.

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 names a specific verb and resource ('filtrelenmiş ham log kesitini döndürür' – returns a filtered raw log slice) and states its scope: a ±N second window around a given UTC instant. An agent can distinguish it from the analyze_/diagnose_/trace_ siblings, which sound like higher-level analysis tools rather than raw slice retrieval. It stops short of naming any sibling explicitly, so it does not reach 5.

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?

The phrase 'şüpheli bir UTC anının' (a suspicious UTC moment) implies the use case: pulling raw evidence around a timestamp of interest. However, there is no explicit when-to-use vs. when-not guidance, no mention of how this differs from analyze_log_files, and no stated prerequisites such as whether analysis_id must exist first.

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