Skip to main content
Glama

knowledge_search

Search past coding sessions, chats, and code changes for root causes, gotchas, decisions, and infra quirks before debugging a problem that may already be solved.

Instructions

Search Kepler's knowledge net — facts mined from the user's past coding sessions, chats and code changes, linked to entities (repos, tickets, people, services, pipelines). Use it before digging into a problem a past session may already have solved: root causes, gotchas, decisions, infra quirks. Facts about repos outside the session's workspace (its own repo and the repos beside it) are left out.

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": "knowledge_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesTopic, ticket key, repo/service name, or free text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: the data provenance (mined sessions, chats, changes) and a meaningful scoping rule that facts about repos outside the session's workspace and its neighbors are excluded. It does not cover result limits, ranking, or pagination, so the disclosure is strong but incomplete.

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?

Three sentences, front-loaded with the core identity, then the usage trigger, then the scoping caveat. Every sentence carries information an agent needs, and the exclusion rule is placed where it will be read before invocation.

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 one-parameter, annotation-free read tool this covers identity, corpus boundaries, and when to invoke it. The remaining gap is the shape of a returned fact, which matters slightly more here because there is no output schema.

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?

Single parameter at 100% schema description coverage, so the schema already defines query as topic, ticket key, repo/service name, or free text. The description adds only indirect flavor via the entity list (repos, tickets, people, services, pipelines), which hints at accepted query shapes without adding new syntax or format guidance.

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?

Names a specific verb and resource ("Search Kepler's knowledge net") and defines the corpus precisely: facts mined from past coding sessions, chats and code changes, linked to entities. It never differentiates itself from knowledge_entity or atlas_lookup, so an agent cannot tell from this text alone which knowledge tool to reach for.

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?

Gives an explicit usage trigger — call it before digging into a problem a past session may already have solved — with concrete example categories (root causes, gotchas, decisions, infra quirks). No when-not-to-use or named alternative is offered, which keeps it below a 5.

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