Skip to main content
Glama

Samuelz® Agent

Wissensentwurf speichern

save_knowledge_draft

Create or revise tenant knowledge after user instruction using current state_version as expectedVersion (0 for new). Reuse requestKey on uncertainty; never refresh a stale revision automatically. Visibility cannot change. Does not publish or alter business policies; Owner/Manager reviews in BusinessOS. Maximum 60000 characters.

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>",
      "body": "<body>",
      "source": "<source>",
      "ownerId": "<ownerId>",
      "reviewDue": "<reviewDue>",
      "links": "<links>",
      "reason": "<reason>",
      "id": "<id>",
      "expectedVersion": "<expectedVersion>",
      "visibility": "<visibility>",
      "requestKey": "<requestKey>"
    },
    "name": "save_knowledge_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
bodyYes
gapIdNo
linksYes
titleYes
reasonYes
sourceYes
ownerIdYes
reviewDueYes
requestKeyYes
visibilityYes
expectedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-read-only, non-destructive, non-idempotent), the description discloses the optimistic-concurrency contract (state_version as expectedVersion, 0 for new), the dedupe contract for requestKey, the immutability of visibility, the fact that nothing is published and a human review follows, and a 60000-character cap. These are exactly the operational facts an agent needs before a mutation. The requestKey guidance is consistent with idempotentHint=false because it describes request-level dedupe, not tool-level idempotency.

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?

Four dense clauses, front-loaded with the core action and each sentence carrying distinct information about concurrency, dedupe, immutability, and limits. The extreme terseness ('after user instruction', 'Reuse requestKey on uncertainty') costs a little interpretability but wastes no words.

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

Completeness3/5

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

For an 11-required-parameter mutation with no output schema and zero schema descriptions, the description covers the risky parts (versioning, dedupe, visibility lock, review handoff) well. However, it leaves the majority of required fields undefined, including the id/gapId relationship and the ownership and review-date semantics, which an agent could easily get wrong.

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 0% across 12 parameters, so the description must carry the load, and it explains only expectedVersion, requestKey, visibility, and body length. It says nothing about the required-but-unexplained id, the optional gapId, ownerId, reviewDue, source, links, or reason, and does not clarify why id is required even when creating new knowledge. Partial compensation for a large coverage gap.

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?

The description opens with a specific verb+resource: 'Create or revise tenant knowledge', and immediately clarifies the create-vs-revise distinction via expectedVersion (0 for new). It also carves out what the tool does not do (publish, alter business policies), which separates it from downstream review actions. It stops short of naming a sibling tool, so it lands at 4 rather than 5.

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?

Usage context is explicit: call it 'after user instruction', reuse requestKey 'on uncertainty', and never auto-refresh a stale revision. The exclusion 'Does not publish or alter business policies; Owner/Manager reviews in BusinessOS' tells the agent when this tool is not the right one. No sibling tool is named as an alternative, keeping it at 4.

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.

Resources