Skip to main content
Glama

MCP Think Tank

by flight505

upsert_entities

Insert new entities or update existing ones in the knowledge graph, ensuring data consistency and accuracy for structured reasoning and problem-solving.

Instructions

Create new entities or update existing ones in the knowledge graph using an upsert pattern

Input Schema

NameRequiredDescriptionDefault
entitiesYesArray of entities to create or update

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entities": { "description": "Array of entities to create or update", "items": { "additionalProperties": false, "properties": { "context": { "description": "Optional context or situation relevant to this entity (e.g., project, meeting, or scenario)", "type": "string" }, "entityType": { "description": "Type classification of the entity", "minLength": 1, "type": "string" }, "name": { "description": "Unique identifier for the entity", "minLength": 1, "type": "string" }, "observations": { "description": "Facts or observations about the entity", "items": { "type": "string" }, "type": "array" }, "update": { "default": false, "description": "If true, will fully replace an existing entity; if false, will only create if entity doesn't exist", "type": "boolean" } }, "required": [ "name", "entityType", "observations" ], "type": "object" }, "type": "array" } }, "required": [ "entities" ], "type": "object" }
Install Server

Other Tools from MCP Think Tank

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/flight505/mcp-think-tank'

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