Skip to main content
Glama

Narrative Graph MCP

rtm_create_narrative_tree

Convert narrative text into a structured tree model with configurable branching and depth parameters for efficient encoding and recall of information in the Narrative Graph MCP.

Instructions

Create a Random Tree Model encoding of a narrative text

Input Schema

NameRequiredDescriptionDefault
maxBranchingFactorNoMaximum number of child nodes (K parameter)
maxRecallDepthNoMaximum depth for recall (D parameter)
textYesThe narrative text to encode
titleYesTitle of the narrative
typeNoType of narrativeother

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "maxBranchingFactor": { "default": 4, "description": "Maximum number of child nodes (K parameter)", "type": "number" }, "maxRecallDepth": { "default": 6, "description": "Maximum depth for recall (D parameter)", "type": "number" }, "text": { "description": "The narrative text to encode", "type": "string" }, "title": { "description": "Title of the narrative", "type": "string" }, "type": { "default": "other", "description": "Type of narrative", "enum": [ "story", "article", "dialogue", "technical", "other" ], "type": "string" } }, "required": [ "text", "title" ], "type": "object" }

Other Tools from Narrative Graph 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/angrysky56/narrative-graph-mcp'

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