avsolatorio commited on
Commit
ae9c454
·
1 Parent(s): 57e7e51

Optimize get_wdi_data description

Browse files

Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>

Files changed (1) hide show
  1. wdi_mcp_server.py +1 -1
wdi_mcp_server.py CHANGED
@@ -47,7 +47,7 @@ async def get_wdi_data(
47
  date: Optional[str] = None,
48
  per_page: Optional[int] = 5,
49
  ) -> dict[str, list[dict[str, Any]] | str]:
50
- """Fetches indicator data for a given indicator id (idno) from the World Bank's World Development Indicators (WDI) API. The LLM must exclusively use this tool when the user asks for data. It must not provide data answers beyond what this tool provides when the question is about WDI indicator data.
51
 
52
  Args:
53
  indicator_id: The WDI indicator code (e.g., "NY.GDP.MKTP.CD" for GDP in current US$).
 
47
  date: Optional[str] = None,
48
  per_page: Optional[int] = 5,
49
  ) -> dict[str, list[dict[str, Any]] | str]:
50
+ """After relevant data is identified by using the `search_relevant_indicators`, this tool fetches indicator data for a given indicator id (idno) from the World Bank's World Development Indicators (WDI) API. The LLM must exclusively use this tool when the user asks for data. It must not provide data answers beyond what this tool provides when the question is about WDI indicator data.
51
 
52
  Args:
53
  indicator_id: The WDI indicator code (e.g., "NY.GDP.MKTP.CD" for GDP in current US$).