pgurazada1 commited on
Commit
6a82762
·
verified ·
1 Parent(s): 5a91adf

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +12 -18
server.py CHANGED
@@ -26,24 +26,18 @@ query_checker_tool = QuerySQLCheckerTool(db=credit_card_db, llm=llm)
26
  @mcp.custom_route("/", methods=["GET"])
27
  async def home(request: Request) -> PlainTextResponse:
28
  return PlainTextResponse(
29
- "Credit Card Database Server"
30
- "\n----\n"
31
- "This server gives you access to the following tools:\n\n" \
32
-
33
- "sql_db_list_tables\n" \
34
-
35
- "This tool can be used to list the tables in the database.\n"
36
- "---\n"
37
- "sql_db_schema\n" \
38
-
39
- "This tool can be used to get the schema of a table.\n"
40
- "---\n"
41
- "sql_db_query_checker\n" \
42
-
43
- "This tool can be used to check if a query is valid.\n"
44
- "---\n"
45
- "sql_db_query\n" \
46
- "This tool can be used to execute a query.\n"
47
  )
48
 
49
 
 
26
  @mcp.custom_route("/", methods=["GET"])
27
  async def home(request: Request) -> PlainTextResponse:
28
  return PlainTextResponse(
29
+ """
30
+ Credit Card Database Server
31
+ \n----\n
32
+ This server gives you access to the following tools:
33
+
34
+ 1. sql_db_list_tables: This tool can be used to list the tables in the database.
35
+ ---
36
+ 2. sql_db_schema: This tool can be used to get the schema of a table.
37
+ ---
38
+ 3. sql_db_query_checker: This tool can be used to check if a query is valid.
39
+ 4. sql_db_query: This tool can be used to execute a query.
40
+ """
 
 
 
 
 
 
41
  )
42
 
43