Skip to content

Commit 81b8c94

Browse files
authored
WMS ID 11919 - fix formatting in MCP lab (#616)
* quickstart templates * quickstart templates update * cleanup oracle-livelabs/sprints#247 * WMS ID 11919 - missing image WMS ID 11919 - missing image * WMS ID 11919 - fix sled intro WMS ID 11919 - fix sled intro * WMS ID 11919 - fix formatting in MCP lab WMS ID 11919 - fix formatting in MCP lab
1 parent f36ddcc commit 81b8c94

File tree

1 file changed

+2
-2
lines changed
  • dev-ai-app-dev-retail/mcp

1 file changed

+2
-2
lines changed

dev-ai-app-dev-retail/mcp/mcp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Internally uses helpers like \_clean\_llm_sql, read-only guards, and a row cap f
194194
195195
**What does it do?**
196196
197-
This snippet calls the MCP tool describe\_table\_impl("AUTHORIZATION_REQ") to fetch the schema details for the AUTHORIZATION_REQ table. It then loops through the column metadata and prints each column’s name alongside its data type. This gives developers a quick, structured overview of the table without needing to open SQL Developer or write a manual query.
197+
This snippet calls the MCP tool describe\_table\_impl("AUTHORIZATION\_REQ") to fetch the schema details for the AUTHORIZATION_REQ table. It then loops through the column metadata and prints each column’s name alongside its data type. This gives developers a quick, structured overview of the table without needing to open SQL Developer or write a manual query.
198198
199199
What makes MCP powerful here is that table introspection is exposed as a reusable tool. Any MCP-enabled client can ask the server to describe a table and get back a clean JSON structure, ready for use in code or agents.
200200
@@ -349,7 +349,7 @@ You will add a row counter tool to quickly verify table sizes during investigati
349349
350350
**What does it do?**
351351
352-
This snippet reloads the updated server.py module using importlib.reload so that newly added tools become available without restarting the notebook. It then calls the plain Python implementation row_count_impl("CLIENTS"), which runs a SELECT COUNT(*) query on the CLIENTS table and returns the total number of rows.
352+
This snippet reloads the updated server.py module using importlib.reload so that newly added tools become available without restarting the notebook. It then calls the plain Python implementation row\_count_impl("CLIENTS"), which runs a SELECT COUNT(*) query on the CLIENTS table and returns the total number of rows.
353353
354354
What makes MCP powerful here is that we created simple function that returns the number of rows in a given table and exposed it as an MCP tool. That means Seer Holding developers can use functions in MCP workflows including agentic workflows.
355355

0 commit comments

Comments
 (0)