From b8074f9b9c0a44ea10f495f894a17c6bf2e8aa7d Mon Sep 17 00:00:00 2001 From: cliffhall Date: Sat, 13 Dec 2025 15:16:37 -0500 Subject: [PATCH] Update doc in tools/trigger-elicitation-request.ts and trigger-long-running-operation.ts --- src/everything/tools/trigger-elicitation-request.ts | 4 ++-- .../tools/trigger-long-running-operation.ts | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/everything/tools/trigger-elicitation-request.ts b/src/everything/tools/trigger-elicitation-request.ts index cb621ec1..cee337b8 100644 --- a/src/everything/tools/trigger-elicitation-request.ts +++ b/src/everything/tools/trigger-elicitation-request.ts @@ -21,8 +21,8 @@ const config = { * the elicitation input arguments at runtime. * * The elicitation dialog response is returned, formatted into a structured result, - * which contains both user-submitted input data (if provided) and debugging - * information, including raw results. + * which contains both user-submitted input data (if provided) and debugging information, + * including raw results. * * @param {McpServer} server - The MCP server instance to which the tool will be registered. */ diff --git a/src/everything/tools/trigger-long-running-operation.ts b/src/everything/tools/trigger-long-running-operation.ts index e7589a0d..5cb1b119 100644 --- a/src/everything/tools/trigger-long-running-operation.ts +++ b/src/everything/tools/trigger-long-running-operation.ts @@ -22,13 +22,14 @@ const config = { /** * Registers the 'trigger-tong-running-operation' tool with the provided McpServer instance. * - * This function defines and registers a tool with the provided server instance that performs a - * long-running operation defined by a specific duration and number of steps. The progress - * of the operation is reported back to the client through notifications. + * The registered tool starts a long-running operation defined by a specific duration and + * number of steps. * - * Progress notifications are sent back to the client at each step, if a `progressToken` - * is provided in the metadata. At the end of the operation, the tool returns a message - * indicating the completion of the operation, including the total duration and steps. + * Progress notifications are sent back to the client at each step if a `progressToken` + * is provided in the metadata. + * + * At the end of the operation, the tool returns a message indicating the completion of the + * operation, including the total duration and steps. * * @param {McpServer} server - The server instance where the tool should be registered. */