Skip to main content
Glama
davidgut1982

lore-mcp

by davidgut1982

kb_add

Add structured knowledge base entries to a persistent knowledge layer for AI agents, enabling storage and retrieval across sessions.

Instructions

Add a knowledge base entry

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes
titleYes
contentYes
tagsNo
authorNo
source_typeNo
trust_scoreNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed21 schema fields changedv0.8.5
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / author / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / author / default
      Added value: +null
    • removedInput schema / properties / author / description
      Removed value: -"Who is creating this entry (your name, agent name, or system). Optional."
    • removedInput schema / properties / author / type
      Removed value: -"string"
    • removedInput schema / properties / content / description
      Removed value: -"Entry content"
    • addedInput schema / properties / source_type / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / source_type / default
      Added value: +null
    • removedInput schema / properties / source_type / description
      Removed value: -"Origin: 'human', 'agent', or 'system'. Optional, defaults to null."
    • removedInput schema / properties / source_type / type
      Removed value: -"string"
    • addedInput schema / properties / tags / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / tags / default
      Added value: +null
    • removedInput schema / properties / tags / description
      Removed value: -"Tags"
    • removedInput schema / properties / tags / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / tags / type
      Removed value: -"array"
    • removedInput schema / properties / title / description
      Removed value: -"Entry title"
    • removedInput schema / properties / topic / description
      Removed value: -"Topic"
    • removedInput schema / properties / trust_score / description
      Removed value: -"Confidence weight for this fact (0.0–1.0). Defaults to 1.0 (fully trusted). Lower values mark low-confidence facts that callers can later exclude via kb_search's min_trust_score filter."
    • removedInput schema / properties / trust_score / maximum
      Removed value: -1
    • removedInput schema / properties / trust_score / minimum
      Removed value: -0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object",
      +  "x-fastmcp-wrap-result": true
      +}
  2. Changed1 schema field changedv0.8.2
    • addedInput schema / properties / trust_score
      Added value: +{
      +  "default": 1,
      +  "description": "Confidence weight for this fact (0.0–1.0). Defaults to 1.0 (fully trusted). Lower values mark low-confidence facts that callers can later exclude via kb_search's min_trust_score filter.",
      +  "maximum": 1,
      +  "minimum": 0,
      +  "type": "number"
      +}
  3. First observedv0.7.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations available, the description carries full burden for behavioral disclosure. It only says 'Add a knowledge base entry' without revealing mutation effects, authentication needs, rate limits, or potential data loss. This is insufficient for a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no redundancy, but it is too brief to be effective. While concise, it sacrifices necessary information for brevity.

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

Completeness2/5

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

Given the tool has 7 parameters, 3 required, and an output schema, the description is incomplete. It does not explain return values, side effects, or how parameters interact, making it insufficient for reliable invocation.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must explain parameters. It does not mention any of the 7 parameters (topic, title, content, tags, etc.) or their semantics, leaving the agent with no understanding of required inputs.

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 'Add a knowledge base entry' clearly states the action (add) and the resource (knowledge base entry), which distinguishes it from sibling tools like kb_delete or kb_get. However, it could be more specific about the type of entry being added.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites, context, or exclusions, leaving the agent with no decision support.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidgut1982/lore-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server