Skip to main content
Glama

update_knowledge

DestructiveIdempotent

Den Text (und optional den Titel) eines per Text aufgenommenen Wissensdokuments ersetzen; die Abschnitte werden neu gebildet, Sichtbarkeit und Kennung bleiben. Den vollen neuen Text schicken, nicht nur die Änderung (vorher get_document_text lesen). Webseiten statt dessen mit reimport_knowledge neu einlesen.

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": {
      "document_id": "<document_id>",
      "text": "<text>"
    },
    "name": "update_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesDer vollständige neue Text
titleNoNeuer Titel (optional)
document_idYesDokument-ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / document_id / description
      Added value: +"Dokument-ID"
    • addedInput schema / properties / title / description
      Added value: +"Neuer Titel (optional)"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true; the description goes beyond them by explaining that sections are rebuilt while visibility and the document identifier are preserved, and that the full text must be supplied. It does not cover permissions or what happens to other document metadata, so not a 5.

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?

The mutation verb is front-loaded, then the preservation guarantee, then the read-first warning and the alternative. Three compact sentences, each carrying new information, with no filler.

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?

For a 3-parameter destructive update with full schema coverage and no output schema, everything an agent needs is present: what changes, what survives, the read-before-write step, and the routing rule for web-sourced documents.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds real meaning beyond the schema by stressing that text must be the complete new body and not just the changed portion, and by flagging title as optional while visibility/id stay fixed.

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?

Specific verb + resource: 'Den Text (und optional den Titel) eines per Text aufgenommenen Wissensdokuments ersetzen'. It also bounds the scope to text-captured documents and names the sibling that handles the other case (reimport_knowledge for web pages), so an agent can separate it from reimport_knowledge and get_document_text immediately.

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 when-to-use and when-not-to-use: read get_document_text first, send the whole text rather than a diff, and use reimport_knowledge instead for web pages. Prerequisite and alternative are both stated, not inferred.

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.