Skip to main content
Glama

APJ RAISE Research

Choose a statistical test

choose_test
Read-only

Picks the right statistical test from the study design, and returns why, assumptions to check, the effect size to report, follow-up (post-hoc) tests, and how to run it in R, Python and SPSS. Ask the user any missing answers first (goal, outcome type, number of groups, paired or not, normal or not).

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": {
      "goal": "<goal>",
      "outcome": "<outcome>"
    },
    "name": "choose_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
groupsNocompare_groups: number of groups or time points.
normalNoIs the numeric data roughly normal (bell-shaped)? Use false if unsure or n is small.
pairedNoSame people measured more than once?
outcomeYesType of the outcome (dependent) variable. For relationship: numeric means both variables are numeric.
small_countsNoCategorical data: any expected cell count below 5?

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only cover the safety profile (readOnly/openWorld/not destructive), and the description goes well beyond them by disclosing the exact return payload: reasoning, assumptions to check, which effect size to report, post-hoc tests, and runnable code in R, Python and SPSS. That is a genuinely useful preview of output shape for a tool with no output schema.

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

Conciseness5/5

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

Two dense sentences: the first front-loads what it does and what it returns, the second gives the elicitation rule. No filler or repetition.

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 read-only advisory tool with six well-documented parameters and no output schema, the description supplies both the return contents and the pre-call elicitation workflow. Nothing an agent needs to invoke it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 83%, so the schema already explains goal, outcome, groups, normal, paired, and small_counts. The description's list of questions to ask mirrors those parameters and adds minor sequencing value, but omits 'small_counts' and adds no format or default guidance beyond the schema.

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

Purpose4/5

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

States a specific verb and resource ('Picks the right statistical test from the study design') and enumerates the outputs it produces, so an agent can tell it apart from computation siblings like effect_size or power_analysis. It stops short of explicitly naming which sibling to use for adjacent tasks, so it is clear but not fully differentiated.

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 a concrete workflow rule: 'Ask the user any missing answers first (goal, outcome type, number of groups, paired or not, normal or not)', which tells the agent to elicit inputs before calling. It does not state when-not to use this tool or which sibling to prefer for e.g. sample-size or effect-size-only requests, so no alternatives are named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources