Skip to main content
Glama

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

NameRequiredDescriptionDefault
questionYesa question about the Iris data, e.g. 'How does sepal width vary across species?'

Output Schema

NameRequiredDescriptionDefault
rowsYes
reportYesthe prose answer; every number in it appears below
columnsYesthe columns the question asked about
speciesYes
group_meansYesper column, the mean per species; empty when the question did not ask about species

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so: pure and stateless, no model inside the tool, pandas-computed, and the full guardrail pipeline (self_check_input, jailbreak_detection, topical rail, hallucination rail) including the exact blocked-response shape and that it happens before the tool runs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and dense with useful detail, but it is one long run-on sentence and spends words enumerating the return fields (`report`, `rows`, `species`, `columns`, `group_means`) that the output schema already documents.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool behind guardrails with an output schema, everything an agent needs is present: what is computed, how the question maps to output, statelessness, and the exact failure mode and message when a rail blocks the call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning about how the single `question` argument is interpreted: named columns drive column stats, mentions of species/groups or a species name trigger per-species means, and no mentions means all four columns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: answer a free-text question about the Iris data set with a short prose report computed by pandas. It pins down the exact computation (mean, std, min, max over 150 rows, plus per-species means) and thus is clearly distinguishable from fixed-shape siblings like iris_describe or iris_group_means, which need no natural-language question.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for use (ask a natural-language question; columns are inferred from the question, all four when none named) and an explicit when-not: off-topic or injected questions return `guardrail blocked: pre: …`. It does not explicitly name a sibling as the alternative for non-question use cases, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.