Skip to main content
Glama

Narrative Graph MCP

rtm_find_optimal_depth

Determine the optimal narrative traversal depth to achieve a specified recall length, using configurable branching and depth parameters for efficient narrative analysis.

Instructions

Find the optimal traversal depth to achieve a target recall length

Input Schema

NameRequiredDescriptionDefault
maxBranchingFactorNoMaximum number of child nodes (K parameter)
maxRecallDepthNoMaximum depth for recall (D parameter)
targetRecallLengthYesTarget number of clauses to recall
textYesThe narrative text to analyze
titleYesTitle of the narrative

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" }, "targetRecallLength": { "description": "Target number of clauses to recall", "minimum": 1, "type": "number" }, "text": { "description": "The narrative text to analyze", "type": "string" }, "title": { "description": "Title of the narrative", "type": "string" } }, "required": [ "text", "title", "targetRecallLength" ], "type": "object" }
Install Server

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