Skip to main content
Glama

Elasticsearch Knowledge Graph for MCP

by j3k0

inspect_knowledge_graph

Retrieve targeted entities and relations from a knowledge graph using AI-driven queries. Specify context, keywords, and filters to extract precise information for structured insights.

Instructions

Agent driven knowledge graph inspection that uses AI to retrieve relevant entities and relations based on a query.

Input Schema

NameRequiredDescriptionDefault
entity_typesNoOptional filter to specific entity types
include_entitiesNoWhether to include the full entity details in the response, which uses more of your limited token quota, but gives more information (default: false)
include_relationsNoWhether to include the entity relations in the response (default: false)
information_neededYesFull description of what information is needed from the knowledge graph, including the context of the information needed. Do not be vague, be specific. The AI agent does not have access to your context, only this "information needed" and "reason" fields. That's all it will use to decide that an entity is relevant to the information needed.
keywordsYesArray of specific keywords related to the information needed. AI will target entities that match one of these keywords.
memory_zoneNoMemory zone to search in. If not provided, uses the default zone.
reasonNoExplain why this information is needed to help the AI agent give better results. The more context you provide, the better the results will be.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entity_types": { "description": "Optional filter to specific entity types", "items": { "type": "string" }, "type": "array" }, "include_entities": { "description": "Whether to include the full entity details in the response, which uses more of your limited token quota, but gives more information (default: false)", "type": "boolean" }, "include_relations": { "description": "Whether to include the entity relations in the response (default: false)", "type": "boolean" }, "information_needed": { "description": "Full description of what information is needed from the knowledge graph, including the context of the information needed. Do not be vague, be specific. The AI agent does not have access to your context, only this \"information needed\" and \"reason\" fields. That's all it will use to decide that an entity is relevant to the information needed.", "type": "string" }, "keywords": { "description": "Array of specific keywords related to the information needed. AI will target entities that match one of these keywords.", "items": { "type": "string" }, "type": "array" }, "memory_zone": { "description": "Memory zone to search in. If not provided, uses the default zone.", "type": "string" }, "reason": { "description": "Explain why this information is needed to help the AI agent give better results. The more context you provide, the better the results will be.", "type": "string" } }, "required": [ "information_needed", "keywords" ], "type": "object" }

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