Skip to main content
Glama

Run Statistical Analysis

run_statistical_analysis

Run a statistical analysis computation. Supports: Wilson confidence intervals, binomial proportions, phase transition success rates, power calculations, Bayesian posterior estimates, descriptive statistics, and two-proportion comparisons. Returns computed values, interpretation, and LaTeX formula.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYesNamed input parameters. wilson_ci: {successes, n, confidence}. phase_transition_rate: {phase, indication, n_succeeded, n_total}. power_calculation: {n, effect_size, alpha}. bayesian_posterior: {prior_success_rate, n_observed, n_success, prior_strength?}. descriptive_stats: {values: number[]}. failure_rate_comparison: {a_success, a_n, b_success, b_n}.
contextNoOptional context about what this analysis is for
analysis_typeYes

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns computed values, an interpretation, and a LaTeX formula, which gives useful output expectations. However, it does not explicitly state whether the computation has side effects, requires permissions, or handles invalid inputs, leaving some behavioral ambiguity.

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?

The description is two sentences, front-loaded with the primary action, and efficiently covers scope and return values without fluff. Every phrase contributes meaningful information.

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

Completeness3/5

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

The tool is moderately complex with six analysis types, nested input objects, and no output schema. The description covers scope and return content but lacks examples, error behavior, or output structure guidance. It is adequate but not complete for the tool's complexity.

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 67%, and the input schema itself provides detailed per-analysis parameter examples (e.g., wilson_ci: {successes, n, confidence}). The description adds value by listing supported analysis types but adds no parameter-level detail beyond the schema, so the contribution is moderate.

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?

The description clearly states the tool's purpose: 'Run a statistical analysis computation' and enumerates specific supported analyses (Wilson CI, binomial proportions, phase transition rates, power, Bayesian, descriptive stats, two-proportion comparisons). This distinguishes it from the generic sibling 'run_computation' and other query/search tools.

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

Usage Guidelines3/5

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

The description implies when to use the tool—whenever a supported statistical analysis is needed—but provides no explicit guidance on when not to use it or how it compares to alternatives like 'run_computation'. The supported-types list gives some context, but exclusions and decision rules are absent.

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.

TDQS

B3.2/5.0
Disambiguation2/5

Several tools have overlapping responsibilities: search, search_claims, search_preprint_flags, and claidex_claim_risk_matrix all query claim/failure data, while rank_documents_by_embedding and rerank_documents both perform relevance ranking. The compatibility-oriented fetch/search tools add further confusion because their names collide with fetch_research_url and search_claims.

Naming Consistency3/5

Names are grouped by prefixes (claidex_, query_, search_, run_) but the groups use different conventions, and bare verbs like 'fetch' and 'search' sit alongside prefixed forms like 'fetch_research_url' and 'search_claims'. The pattern is readable but not uniform.

Tool Count3/5

24 tools is at the heavy end for an MCP server; while the breadth reflects many biomedical data sources and utilities, the count includes several meta/compatibility tools that could be consolidated. It is borderline but not unreasonable.

Completeness4/5

The surface covers the core biomedical workflows: searching claims, retrieving full claim content, querying failure graphs, checking preprints, and looking up drugs/trials/targets/adverse events. Minor gaps exist, such as no direct way to fetch a single clinical trial by ID beyond the search function, and no write/update operations for claims, but these are likely outside the read-only research scope.

Resources