Skip to main content
Glama

update_knowledge

Modify the knowledge graph by adding or removing entities and relationships to track architectural decisions, intents, tools, and code dependencies.

Instructions

ADR-018: Simple CRUD operations for knowledge graph. Add/remove entities (intents, ADRs, tools, code) and relationships. Use knowledge://graph resource to read current state (zero token cost).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesType of operation to perform on the knowledge graph
entityNoEntity ID (for add_entity/remove_entity operations)
entityTypeNoType of entity (required for add_entity operation)
relationshipNoRelationship type (for add_relationship/remove_relationship)
sourceNoSource node ID (for relationship operations)
targetNoTarget node ID (for relationship operations)
metadataNoAdditional metadata for the entity or relationship

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/tosin2013/mcp-adr-analysis-server'

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