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 4ab5ca02d10..5fc329f5771 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 static String prefixedToolName(String prefix, String toolName) { } /** - * 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 registration 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 toSyncToolSpecification( List toolCallbacks) { @@ -113,7 +113,7 @@ public static List toSyncToolSpecificat * This is a varargs wrapper around {@link #toSyncToolSpecification(List)} for easier * usage when working with individual callbacks. * @param toolCallbacks the tool callbacks to convert - * @return a list of MCP synchronous tool specificaiton + * @return a list of MCP synchronous tool specification */ public static List toSyncToolSpecifications( ToolCallback... toolCallbacks) { @@ -201,7 +201,7 @@ public static Optional getMcpExchange(ToolContext toolCon } /** - * Converts a list of Spring AI tool callbacks to MCP asynchronous tool specificaiton. + * Converts a list of Spring AI tool callbacks to MCP asynchronous tool specification. *

* This method processes multiple tool callbacks in bulk, converting each one to its * corresponding MCP tool registration while adding asynchronous execution @@ -217,7 +217,7 @@ public static List toAsyncToolSpecific /** * 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 static McpServerFeatures.AsyncToolSpecification toAsyncToolSpecification( * 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: *