iris_report
Answers free-text Iris dataset questions by computing pandas summary statistics and returning a short prose report with exact cited numbers, including per-species means when asked.
Instructions
Answer a free-text question about the Iris data set with a short prose report computed by pandas (no model inside the tool): the columns the question names (sepal_length, sepal_width, petal_length, petal_width; all four when it names none) get their mean, std, min and max over the 150 rows, and the per-species means when the question mentions species, groups, or a species name (setosa, versicolor, virginica). The result carries the prose (report) and the exact numbers it cites (rows, species, columns, group_means), every one computed from the CSV shipped with the group. Pure and stateless. This tool is behind LLM guardrails (Ramen 1.0.0c): the question is checked by self_check_input, jailbreak_detection and a topical rail (iris, statistics) before the tool runs, and the report is checked against its own numbers by a hallucination rail before it is returned; an off-topic or injected question answers guardrail blocked: pre: ….
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": {
"question": "<question>"
},
"name": "iris_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | a question about the Iris data, e.g. 'How does sepal width vary across species?' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| report | Yes | the prose answer; every number in it appears below | |
| columns | Yes | the columns the question asked about | |
| species | Yes | ||
| group_means | Yes | per column, the mean per species; empty when the question did not ask about species |