You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by ro...@apache.org on 2026/09/07 16:31:52 UTC

(axis-axis2-c-core) 02/02: Correct the MCP n_assets maximum in the tool description

This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git

commit 91cad92f1333b9169f7ba7c037668efeae4bd2c6
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Mon Sep 7 04:37:39 2026 -1000

    Correct the MCP n_assets maximum in the tool description
    
    The catalog described the limit as 2000; the code allows FINBENCH_MAX_ASSETS
    (3000). Make the description match the constant.
    
    Co-Authored-By: Claude <no...@anthropic.com>
---
 samples/user_guide/financial-benchmark-service/src/finbench_mcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/user_guide/financial-benchmark-service/src/finbench_mcp.c b/samples/user_guide/financial-benchmark-service/src/finbench_mcp.c
index 2af5eee85..b51e99015 100644
--- a/samples/user_guide/financial-benchmark-service/src/finbench_mcp.c
+++ b/samples/user_guide/financial-benchmark-service/src/finbench_mcp.c
@@ -68,7 +68,7 @@ static const char SCHEMA_PORTFOLIO_VARIANCE[] =
     "\"type\":\"object\","
     "\"properties\":{"
         "\"n_assets\":{\"type\":\"integer\","
-            "\"description\":\"Number of assets in the portfolio (max 2000)\"},"
+            "\"description\":\"Number of assets in the portfolio (max 3000)\"},"
         "\"weights\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},"
             "\"description\":\"Portfolio weights. Must sum to 1.0 unless normalize_weights=true\"},"
         "\"covariance_matrix\":{\"type\":\"array\",\"items\":{\"type\":\"number\"},"