summarize_results
Produce a natural-language summary of SQL query results, explaining patterns and comparisons across multiple rows.
Instructions
Produce a natural-language summary of query results.
Use this ONLY when the rows need narrative interpretation (multiple rows, aggregate patterns, comparisons across groups). For single-row lookups or trivially small results, answer directly in your response text without calling this tool.
Args: rows: The 'rows' list returned from query_sql. question: The user's original question, verbatim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rows": "<rows>",
"question": "<question>"
},
"name": "summarize_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| question | Yes |