Skip to main content
Glama
angrysky56

Narrative Graph MCP

findOptimalDepthSchema.ts554 B
import { z } from 'zod'; export const findOptimalDepthSchema = z.object({ text: z.string().describe('The narrative text to analyze'), title: z.string().describe('Title of the narrative'), targetRecallLength: z.number().min(1).describe('Target number of clauses to recall'), maxBranchingFactor: z.number().default(4).describe('Maximum number of child nodes (K parameter)'), maxRecallDepth: z.number().default(6).describe('Maximum depth for recall (D parameter)'), }); export type FindOptimalDepthInput = z.infer<typeof findOptimalDepthSchema>;

Implementation Reference

Latest Blog Posts

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