Skip to main content
Glama

search_knowledge

Read-only

Wissensbasis dieses Mandanten durchsuchen (Wer sind wir, Leistungen, Standort, typische Fragen, interne Unterlagen). Liefert die passendsten Abschnitte mit Quelle (Dokument, Abschnitt, Adresse) und Sichtbarkeit. Findet auch hochgeladene Dateien (PDF, Word, Excel), sobald sie analysiert sind; jeder Abschnitt beginnt mit [Dokument — Blatt/Überschrift, Zeilen a–b]. Die genauen Zeilen liefert danach get_document_text (document_id aus source, optional sheet/query). Was der Aufrufer sieht, bestimmt sein Schlüssel: der Anrufbot sieht nur 'extern'. Keine Treffer = nichts Belastbares — dann nicht raten.

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_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAnzahl Abschnitte (Standard 4, höchstens 10)
queryYesDie Frage, möglichst wie der Anrufer sie gestellt hat

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnlyHint=true and openWorldHint=false; the description adds substantial behavior beyond that: visibility is gated by the caller's key (the caller bot sees only 'extern'), each section is prefixed with '[Dokument — Blatt/Überschrift, Zeilen a–b]', and uploaded PDF/Word/Excel files are only findable once analyzed. The no-hit fallback rule is also stated explicitly, which is exactly the kind of ground-truth guidance annotations cannot carry.

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 core purpose is front-loaded in the first sentence, and each subsequent clause carries distinct information (result contents, file support, section format, follow-up tool, visibility, no-hit rule). It is dense with several parenthetical asides, but no sentence is genuinely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters and no output schema, the description compensates well: it describes the shape of returned sections, the source and visibility fields, the documented limitation that uploads are only searchable after analysis, and the follow-up path for finer-grained text. An agent has everything needed to call it and interpret results correctly.

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%, with both 'query' and 'limit' (default 4, max 10) documented in the schema itself, so the parameter baseline is 3. The description adds the useful convention of passing the question as the caller phrased it and of pulling document_id from source for the follow-up call, but gives no new detail on limit semantics or query syntax.

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 ('Wissensbasis dieses Mandanten durchsuchen') and enumerates the content domain (Wer sind wir, Leistungen, Standort, typische Fragen, interne Unterlagen). It also explicitly distinguishes itself from the sibling get_document_text, which retrieves exact line text, so an agent can pick between the two without opening either schema.

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 gives clear usage context: search first, then call get_document_text with the document_id from source when exact lines are needed. It also supplies a when-not rule ('Keine Treffer = nichts Belastbares — dann nicht raten'). It does not distinguish this from the other search_* siblings, but the content domain and follow-up routing make the intended use unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.