Skip to main content
Glama

Add Knowledge

add_knowledge

Add a document for Support only, Sales only, or Both agents. New documents require review before use.

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

Input Schema

NameRequiredDescriptionDefault
titleYes
channelNosupport
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world write. The description adds one genuinely useful trait beyond them: newly added documents enter a review state before use, which affects whether the agent should tell the user the content is live. It does not cover duplicate handling, permission requirements, or what is returned after the 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?

Two short sentences with no filler, and the core action is front-loaded ahead of the review caveat. The enumeration 'Support only, Sales only, or Both agents' is slightly verbose repetition of the enum, but it is not wasteful enough to penalize further.

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 a three-parameter mutation tool with annotations covering the safety profile and no output schema, the description is adequate but thin. An agent can call it, yet it lacks post-call expectations, review-workflow implications, and meaning for two of the three required inputs.

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%, so the description carries the full burden, and it only partly does: it explains the channel enum semantics (support/sales/both) in prose. The required 'title' and 'content' parameters get no added meaning, such as expected format, length limits, or whether content is markdown.

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 verb 'Add' plus the resource 'document' is specific, and the channel scoping ('Support only, Sales only, or Both agents') makes the effect concrete. It implicitly contrasts with retrieval siblings like get_knowledge/list_knowledge, but never names them, so an agent must infer the distinction.

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

Usage Guidelines2/5

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

There is no explicit when-to-use statement, no mention of alternatives such as the import_* or scan_* siblings that also feed content into the knowledge base, and no stated prerequisites. The only guidance present is which channel values exist, which is parameter-level rather than tool-selection guidance.

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