Skip to content

Commit 2c791bd

Browse files
committed
add videos
1 parent 3ff6d74 commit 2c791bd

File tree

33 files changed

+66
-6
lines changed

33 files changed

+66
-6
lines changed

exercises/01.advanced-tools/01.problem.annotations/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Annotations
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/annotations~n6qo2" />
4+
35
👨‍💼 Users want to feel confident about what each tool in the system does before they use it. They want to know if a tool is safe, if it will change their data, or if it might reach out to the outside world. When tools are clearly labeled for their behavior, the app feels more transparent and trustworthy.
46

57
For example, if a tool is read-only, the UI can show a reassuring message. If a tool might delete data, the user should get a warning. If a tool is safe to run multiple times, that's useful to know too. These labels help users make informed decisions and reduce anxiety about using advanced features.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Annotations
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/annotations~n6qo2/solution" />
4+
35
👨‍💼 Fantastic progress! We've successfully introduced annotations to our journaling tools. Now, each tool clearly communicates its intent—whether it's read-only, destructive, idempotent, or open world. This means users and the system can better understand the impact of each action, leading to a safer and more predictable journaling experience. For example, deleting an entry is now marked as idempotent, while creating a tag is clearly non-destructive. These improvements help ensure that users can confidently manage their journal and tags, knowing exactly what each tool is designed to do.
46

57
Let's keep up the momentum as we continue to enhance the user experience!

exercises/01.advanced-tools/02.problem.structured/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Structured Output
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/structured-output~egacc" />
4+
35
👨‍💼 When users open EpicMe, they expect their memories, reflections, and daily adventures to be organized, discoverable, and (most importantly) reliable. Imagine a user writing a heartfelt entry about their day, only to have it saved as a jumbled scroll of text! That would be chaos in their personal archive.
46

57
To ensure every tool in EpicMe returns information that is both predictable and easy for the UI (and our friendly LLM assistants) to understand, we use **structured output**. This means every tool response follows a clear, machine-validated shape—no more wild guesses or mysterious blobs of data.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Structured Output
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/structured-output~egacc/solution" />
4+
35
👨‍💼 Outstanding achievement! We've now brought structured output to our journaling tools, ensuring every action in EpicMe returns information in a clear, machine-validated format. This means users can trust that their memories, reflections, and daily adventures are always organized and reliably presented—no more cryptic or unpredictable responses. The UI can now display journal entries, tags, and magical creatures (😉) with confidence, knowing exactly what to expect from each tool. This upgrade not only makes the experience more seamless and delightful for our users, but also paves the way for smarter automation and safer interactions throughout the app.
46

57
With structured output in place, EpicMe is even better equipped to help users capture and revisit their stories, making every journaling moment feel effortless and secure. Let's keep building on this momentum!
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Advanced Tools
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/break~70afq" />
4+
35
Awesome work. You now understand about annotations, structured output, and output schemas. Hopefully this enables you to take advantage of great client features when clients support these features.

exercises/01.advanced-tools/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Advanced Tools
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/intro~2nnka" />
4+
35
## Tool Annotations
46

57
Tool annotations are metadata attached to each tool definition. They help clients and users understand the tool's behavior, especially regarding side effects, safety, and intended use. Annotations do **not** affect the tool's execution. They are hints for UI, approval flows, and documentation.

exercises/02.elicitation/01.problem/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Elicit Confirmation
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/elicit-confirmation~oaha2" />
4+
35
👨‍💼 When users interact with our system, they sometimes initiate actions that have significant consequences (like deleting a tag or entry). To ensure users don't accidentally lose something important, we need to pause and ask for explicit confirmation before proceeding.
46

57
This is where **elicitation** comes in. Instead of making assumptions, our MCP server can make a structured elicitation request. This lets us ask the user for confirmation in a way that's both clear and robust, and ensures the server only proceeds if the user truly intends to take the action.

exercises/02.elicitation/01.solution/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Elicit Confirmation
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/elicit-confirmation~oaha2/solution" />
4+
35
👨‍💼 Fantastic progress! We've just introduced a robust confirmation step for destructive actions, such as deleting a tag. Now, whenever a user initiates an action that could have significant consequences, the system pauses and asks for explicit confirmation using a structured elicitation prompt. This ensures that users are always in control and never accidentally lose important data.
46

57
By leveraging the Model Context Protocol's elicitation feature, our app now provides a clear, user-friendly dialog that requests confirmation before proceeding. If the user decides not to confirm, the action is gracefully cancelled and the user receives immediate feedback—no tags are deleted unless the user truly intends it.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Elicitation
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/break~pa6st" />
4+
35
Awesome job! You now know how to elicit input from the user while your tools are running, making your MCP server user experience that much better.

exercises/02.elicitation/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Elicitation
22

3+
<EpicVideo url="https://www.epicai.pro/workshops/day-3-advanced-tools-sampling-and-elicitation/intro~gs3h2" />
4+
35
Modern AI applications often need to collect structured input from users at key moments in a workflow. **Elicitation** in the Model Context Protocol (MCP) standardizes this process, allowing servers to request information from users through the client, using a well-defined schema and a secure, user-friendly interaction model.
46

57
Elicitation enables interactive workflows like confirming destructive actions, collecting additional details, or guiding users through multi-step forms by letting the server pause and ask the user for exactly what it needs, in a structured way.

0 commit comments

Comments
 (0)