Skip to main content
Glama

Elasticsearch Knowledge Graph for MCP

by j3k0

create_relations

Establish connections between entities in the Elasticsearch Knowledge Graph for MCP by defining relationships, automating entity creation, and specifying memory zones for structured data organization.

Instructions

Create relationships between entities in knowledge graph (memory)

Input Schema

NameRequiredDescriptionDefault
auto_create_missing_entitiesNoWhether to automatically create missing entities in the relations (default: true)
memory_zoneNoOptional default memory zone specifier. Used if a relation doesn't specify fromZone or toZone.
relationsYesList of relations to create

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "auto_create_missing_entities": { "default": true, "description": "Whether to automatically create missing entities in the relations (default: true)", "type": "boolean" }, "memory_zone": { "description": "Optional default memory zone specifier. Used if a relation doesn't specify fromZone or toZone.", "type": "string" }, "relations": { "description": "List of relations to create", "items": { "properties": { "from": { "description": "Source entity name", "type": "string" }, "fromZone": { "description": "Optional zone for source entity, defaults to memory_zone or default zone. Must be one of the existing zones.", "type": "string" }, "to": { "description": "Target entity name", "type": "string" }, "toZone": { "description": "Optional zone for target entity, defaults to memory_zone or default zone. Must be one of the existing zones.", "type": "string" }, "type": { "description": "Relationship type", "type": "string" } }, "required": [ "from", "to", "type" ], "type": "object" }, "type": "array" } }, "required": [ "relations" ], "type": "object" }

Other Tools from Elasticsearch Knowledge Graph for MCP

Related Tools

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/j3k0/mcp-brain-tools'

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