Skip to content

Commit 067e005

Browse files
committed
improve instructions
1 parent 2d204cb commit 067e005

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

exercises/02.tools/README.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ In the future, hopefully we can even respond with UI! For more on this, check
1616
out my post
1717
[The future of AI interaction: Beyond just text](https://www.epicai.pro/the-future-of-ai-interaction-beyond-just-text-w22ps).
1818

19+
<callout-success>
20+
From [the MCP
21+
Spec](https://modelcontextprotocol.io/specification/2025-03-26/server/tools):
22+
Tools in MCP are designed to be **model-controlled**, meaning that the
23+
language model can discover and invoke tools automatically based on its
24+
contextual understanding and the user's prompts. However, implementations are
25+
free to expose tools through any interface pattern that suits their needs—the
26+
protocol itself does not mandate any specific user interaction model.
27+
</callout-success>
28+
1929
{/* Mermaid diagram: https://simple-mermaid.netlify.app?d=M4UwjgriB2DGIBECWBDA5gJxQWwFAAJD8AHFDAFyViVOnPwGEAbJGcgo0iqmlO-AMogMAN2EdCzVnQC0APjlDRwgFz4AUgIDyAORkAlAAoN8+8FGD0A3gCJsIcgAsA9gBMbam+WfOmwAPSwKExMNgA0+DZcOMAe+LbQOCBxNo4gIc7hkWRoEPZ0sWpWAL6lEoLCYhgy8nJSbGqaugbGpiDAxM7QoPE2GO0QTORxtrBd5GxxANq25ACexMmeEwAewxFeIGspABLpTM4RAO7OGEyuAIQ2xQC6pUA */}
2030

2131
<div

exercises/03.resources/README.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ with clients—such as files, database entries, or application metadata—using
1212
uniform interface. Each resource is uniquely identified by a URI and can be
1313
described with metadata like a name, description, and MIME type.
1414

15+
<callout-success>
16+
From [the MCP
17+
Spec](https://modelcontextprotocol.io/specification/2025-03-26/server/resources):
18+
Resources in MCP are designed to be **application-driven**, with host
19+
applications determining how to incorporate context based on their needs.
20+
However, implementations are free to expose resources through any interface
21+
pattern that suits their needs—the protocol itself does not mandate any
22+
specific user interaction model.
23+
</callout-success>
24+
1525
Here's what this user experience may feel like.
1626

1727
{/* Mermaid diagram: https://simple-mermaid.netlify.app?d=M4UwjgriB2DGIBECWBDA5gJxQWwFAAJD8AHFDAFyViVOnPwFVQMCjSKqaU78BBY4q0LtK1WvQAyEgLJCSZUVx4BhADZIY5OSM7j8AZRAYAbkblMjAWgB81-sQBc+AErgoweuQD2+YxoDu+BggwF4QGPDAcvY21moadE4SSB5BIWERIfgAFCAAdGh5ADT4mhgawAD05OjAAJRy8ZqxhiZGTsGh4ZGV6h5yraYYlrFNifjJqV4AZmldmcA5DM4AksAl2CA1ACYoNQ1E+GPkI7b2SSn0M3MZkdECp9YWGE76ABZegSjGKEiqKAAjVQgG7dELmZixc4GEDA2D0Tq3EHeXwBe7EUbqTROVwobagzKNLF0FpGIYddJgqrBPE5fxIchvRirA5EQZWTEJcg4ymZfCwLx0TSLbK7GobLZ4vYoVmEY6PaGuebwfmC8jC9GPZ5OZDAYj-ACeBJVYpQcgAcl51fgvEM+AIiuyXvgACpeLyqObEQWgRawbilbAAkD4xFgtLTIwwSL4aZeDBBKhvIyqoUAD3IQA */}

exercises/04.prompts/README.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ or "review this code"), each with a clear description and customizable
1515
arguments. This enables richer, more user-driven interactions, where clients can
1616
select and fill in prompts as needed.
1717

18+
<callout-success>
19+
From [the MCP
20+
Spec](https://modelcontextprotocol.io/specification/2025-03-26/server/prompts):
21+
Prompts are designed to be **user-controlled**, meaning they are exposed from
22+
servers to clients with the intention of the user being able to explicitly
23+
select them for use. Typically, prompts would be triggered through
24+
user-initiated commands in the user interface, which allows users to naturally
25+
discover and invoke available prompts. However, implementors are free to
26+
expose prompts through any interface pattern that suits their needs—the
27+
protocol itself does not mandate any specific user interaction model.
28+
</callout-success>
29+
1830
Here's an example of how the user experience might look:
1931

2032
{/* Mermaid diagram: https://simple-mermaid.netlify.app?d=M4UwjgriB2DGIBECWBDA5gJxQWwFAAJD8AHFDAFyViVOnPwFVQMCjSKqaU78BBY4q0LtK1WvQAyEgLJCSZUVx4BhADZIY5OSM7j8AZRAYAbkblMjAWgB81-sQBc+APLEYJDAHtsxethgQcvY21moadE4ASuBQwPQoxihIqigARqogHt6+wHJhmiGGJkZOEkhxWT7kuUQGRqYYliH5EfgACl5VwPjqcXnqBSH2Th3Z1T3lWrXBIRYYTvoAFp4A7pU55sxDAgsgGbD0xJ2++ABkWcZIACaZZGgQ-nQ1RMG2LeROAOIgh8f05CAfCkAf1wuRCvUSvhvr8xvgAUCUCDakUGk03gNWqMqvDAcRgSBQYNbMN2n9cYjkS8BCEpNInAAxZKqdb0c5IaDGTwAa0JtTp6LsOzJcP8wGA6BA3QAFHEMBADhAMCArgBKII02bMBbLNZ0-DK4DETzQUBAA */}

0 commit comments

Comments
 (0)