Skip to main content
Glama

generate_experiment

Generates a falsifiable hypothesis and a runnable computational experiment from any clinical or biomedical observation, complete with a concrete dataset and prompt for analysis.

Instructions

Generate a grounded translational research brief from ANY clinical or biomedical observation — a disease's drug response/resistance, a drug's adverse effect/toxicity, or any mechanism (not limited to any one domain).

ASYNC (submit + poll): the full pipeline (decompose -> hypothesize -> retrieve -> grade -> entail -> novelty-check -> design -> assemble) runs ~60-120s, longer on a cold first call — longer than an MCP client will wait on one call. So this tool does NOT block: it STARTS the run and returns immediately with a job handle. You MUST then poll get_experiment_result(job_id) every few seconds until status is "done" (the full TransBrief is in result) or "error". The finished brief has decomposed biological axes, up to 3 falsifiable hypotheses each graded against real PubMed evidence with an auditable novelty verdict, and ONE runnable computational experiment (top_experiment) naming a concrete public dataset plus a claude_science_prompt ready to run in Claude Science.

Args: observation: A free-text clinical/biomedical observation (3-8000 characters) — any disease, drug response/resistance, adverse effect, or mechanism. Examples: "58F, resistant hypertension despite ACEi + CCB + thiazide; elevated hs-CRP" or "30M on amiodarone for AF, developed neutropenia". focus_drug: Optional drug name to focus the analysis on. Omit ("") to let the pipeline infer relevant drugs from the observation itself.

Returns: Immediately: {"job_id", "status": "running", "poll_tool": "get_experiment_result", "message"}. Poll get_experiment_result(job_id) for the outcome — on "done" its result is the full TransBrief (carrying the fixed research-only disclaimer, BUILD_SPEC.md §0.5; never diagnosis, drug selection, or dosing), on "error" its result is {"error", "message", "status_code"} (e.g. no/invalid ANTHROPIC_API_KEY). Obviously invalid input is rejected inline here (no job) as that same error shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
focus_drugNo
observationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses the async behavior, pipeline steps, expected runtime, immediate return of a job handle, and the need to poll. It also describes error cases, input validation, and dependencies like ANTHROPIC_API_KEY, and includes a research-only disclaimer.

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?

The description is well-structured and front-loaded with purpose and async behavior. It is fairly long but each section (overview, async explanation, args, returns) earns its place. Minor redundancy could be trimmed, but overall it is appropriately concise for the complexity.

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?

Given the complexity of an async multi-step pipeline, the description is highly complete. It explains the pipeline steps, the final TransBrief content, error handling, and return shapes for both statuses. The output schema is mentioned, and the description covers everything needed for correct usage.

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

Parameters5/5

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

Despite 0% schema description coverage, the description provides detailed parameter documentation in an Args section: observation with length constraints and examples, focus_drug with default and optional usage. This adds significant meaning beyond the bare schema.

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 generates a 'grounded translational research brief' from any clinical/biomedical observation, with specific examples. It differentiates itself from siblings by explaining its async nature and that it initiates a pipeline, while 'get_experiment_result' is for polling and 'search_grounded_evidence' is for searching.

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?

The description provides explicit when-to-use guidance: for any clinical/biomedical observation. It explains the async workflow and the need to poll for results. It gives example inputs but does not explicitly state when not to use it, though the context makes it clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kayomarz97/TransBench'

If you have feedback or need assistance with the MCP directory API, please join our Discord server