CourseModel Context Protocol · Module 4: Resources, Prompts and Interaction · part 24 of 83
Part 24 · Module 4: Resources, Prompts and Interaction

Topic 3: Prompts

8 min read·22 Sept 2026

Parameterised templates offered by a server

A prompt is a message template that a server offers and a user picks. It is the third control model: user-controlled. The host shows the server's prompts in a menu or as slash commands, the user fills in the arguments, and the rendered messages go into the conversation as if the user had typed them.

Prompts exist because the server author knows how to use the server well. Nare's summarise_topic encodes a small recipe: search first, read the top notes through their URIs, cite note ids, and admit when nothing matches. Without it, every user has to rediscover that recipe in their own words, and the model's behaviour varies with the phrasing.

Prompt arguments are a flat list of named strings, not a JSON Schema: a form a person fills in, not a payload a model constructs. This script prints exactly what a client receives.

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.