Skip to main content
Glama
TimeBase MCP

TimeBase MCP

Official
by epam

search_logs_kb

Read-only

Search the TimeBase logs knowledge base with a log excerpt, stack trace, or error text to find relevant troubleshooting matches. Return only the top results needed to diagnose an issue.

Instructions

Search the TimeBase logs knowledge base using a log excerpt, stack trace, or error text, and return the most relevant troubleshooting matches.

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": {
      "query": "<query>"
    },
    "name": "search_logs_kb"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of matches to return.
queryYesRaw log text, stack trace, or error excerpt to search for.

Output Schema

NameRequiredDescriptionDefault
queryYes
adviceNo
matchesNo
normalized_queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.8
    • addedInput schema / properties / query / maxLength
      Added value: +65536
  2. Addedv0.2.5

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered externally. The description adds that results are ranked by relevance against troubleshooting content, which is useful, but it says nothing about scoring, pagination, or what happens when no matches are found.

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?

A single front-loaded sentence with no filler; the action, input types, and output nature are all delivered immediately with zero redundancy.

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?

The tool is simple (two parameters, one required) and an output schema exists, so return-value explanation is unnecessary. The definition covers the essentials; only minor gaps remain around result limits and empty-result behavior, which the output schema likely absorbs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for both parameters, so 'query' and 'limit' are already documented in the schema. The description restates the query input forms but adds no new semantics for 'limit' or the 65536-character bound; the baseline of 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource ('Search the TimeBase logs knowledge base') plus the accepted input forms ('log excerpt, stack trace, or error text') and the nature of the result ('most relevant troubleshooting matches'). No sibling tool in the list targets a logs knowledge base, so an agent can route here unambiguously.

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 naming accepted inputs and the troubleshooting intent, but there is no explicit when-to-use/when-not guidance and no mention of when to prefer other TimeBase tools (e.g., query execution vs. KB lookup). An agent can infer the case, but nothing is stated as a rule.

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