Skip to main content
Glama

add_knowledge

Destructive

Wissen aufnehmen: Text (text) oder eine Webseite (url). Wird sofort zerlegt und auffindbar. visibility Standard 'intern'; 'extern' nur für Inhalte, die Anrufern/Kunden gesagt werden dürfen. Für PDF/Word/Excel: upload_document bzw. create_document_upload_url + finalize_document_upload — die Analyse legt den Text ab und macht ihn auffindbar (sonst analyze_document).

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": {
      "title": "<title>"
    },
    "name": "add_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWebseite, deren Text aufgenommen wird (oder text)
textNoInhalt als Text (oder url)
titleYesTitel des Wissensdokuments
visibilityNointern (Standard) oder extern (darf Anrufern/Kunden gesagt werden)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / title / description
      Added value: +"Titel des Wissensdokuments"
    • addedInput schema / properties / visibility / description
      Added value: +"intern (Standard) oder extern (darf Anrufern/Kunden gesagt werden)"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare a non-read-only, destructive, non-idempotent write, and the description is consistent with that while adding real behavioral context: content is immediately chunked and made searchable, and visibility defaults to 'intern'. It does not say how to later remove or correct an entry (e.g. via update_knowledge or reimport_knowledge), which is the main remaining gap for a destructive write.

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?

Front-loaded with purpose and input modes, then visibility semantics, then sibling routing — a sensible priority order. It is dense and slightly telegraphic in the final sentence, but no sentence is filler.

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 4-parameter write tool with annotations and no output schema, the description covers input modes, default visibility, indexing side effect and alternative tools. It leaves open edge cases such as passing both text and url, or duplicate titles, which matters for a destructive write.

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%, so the schema already defines url, text, title and the visibility enum. The description restates the text-or-url choice and the intern/extern meaning, largely duplicating the schema rather than adding new semantics (e.g. what happens if both text and url are supplied, or title uniqueness).

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?

Names a specific verb and resource ('Wissen aufnehmen') and enumerates the two accepted input modes (text or url). It also distinguishes itself from document-ingestion siblings by naming upload_document and create_document_upload_url + finalize_document_upload for PDF/Word/Excel.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing: use this tool for raw text or a web page, use the upload siblings for binary office documents, and use analyze_document for the other case. When-to-use and when-to-use-something-else are both stated.

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.