diff --git a/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java b/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java index 4a0cff301..584009525 100644 --- a/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java +++ b/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java @@ -93,13 +93,13 @@ public final class McpToolUtils { } /** - * Converts a list of Spring AI tool callbacks to MCP synchronous tool specificaiton. + * Converts a list of Spring AI tool callbacks to MCP synchronous tool specification. *
* This method processes multiple tool callbacks in bulk, converting each one to its
* corresponding MCP tool specification while maintaining synchronous execution
* semantics.
* @param toolCallbacks the list of tool callbacks to convert
- * @return a list of MCP synchronous tool specificaiton
+ * @return a list of MCP synchronous tool specification
*/
public static List
* This method processes multiple tool callbacks in bulk, converting each one to its
* corresponding MCP tool specification while adding asynchronous execution
@@ -217,7 +217,7 @@ public final class McpToolUtils {
/**
* Convenience method to convert a variable number of tool callbacks to MCP
- * asynchronous tool specificaiton.
+ * asynchronous tool specification.
*
* This is a varargs wrapper around {@link #toAsyncToolSpecifications(List)} for
* easier usage when working with individual callbacks.
@@ -264,13 +264,13 @@ public final class McpToolUtils {
* This method enables Spring AI tools to be exposed as asynchronous MCP tools that
* can be discovered and invoked by language models. The conversion process:
*
- * The resulting async specificaiton will:
+ * The resulting async specification will:
*
- *
*
*