Skip to main content
Glama

get_npc_context

Retrieve relationship data and conversation history to generate accurate NPC dialogue prompts for RPG sessions, maintaining context across interactions.

Instructions

Get relationship + conversation history for LLM NPC dialogue prompts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
characterIdYesID of the player character
npcIdYesID of the NPC
memoryLimitNoMaximum number of memories to include
sessionIdNo

Other Tools

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/Mnehmos/rpg-mcp'

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