Skip to main content
Glama

fh_clinicaltrials_get_study_results

Retrieve a ClinicalTrials.gov study's posted results—participant flow, baseline, outcomes, adverse events—as capped Markdown, with outcome titles listed so you can read any measure in full. Reports when no results exist.

Instructions

The posted results of one ClinicalTrials.gov trial — participant flow, baseline, every outcome measure as a table, adverse events — as Markdown from the stored record, capped at max_chars, outcome titles listed; fh_library_read("nct:…", section: ) returns one measure whole. has_results false when the registry holds none. A missing trial is added first.

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": {
      "nct": "<nct>"
    },
    "name": "fh_clinicaltrials_get_study_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
nctYesThe NCT ID: "nct:05173896", "NCT05173896" or the eight digits.
max_charsNoCap for the results text (default 6000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.2/5.0
Behavior4/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 well: it discloses truncation at max_chars with outcome titles still listed, the has_results=false empty case, and the notable side effect that a missing trial is added first (a write triggered by a read). It stops short of covering request cost, caching, or error behavior on invalid NCT IDs.

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?

A single dense paragraph with the payload description front-loaded, followed by the sibling alternative, the empty-state flag, and the side effect in descending priority. No filler; the telegraphic semicolon style stays readable.

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

Completeness4/5

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

For a two-parameter tool with no output schema and no annotations, the description covers return format, truncation behavior, empty results, and the auto-add side effect. Only minor gaps remain, such as what happens on truncation beyond title listing or any latency/cost expectations.

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 coverage is 100%, so both parameters are already documented with formats and bounds. The description adds only that max_chars truncates the results text and that outcome titles survive truncation, which is marginal beyond the schema baseline.

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 resource (posted results of one ClinicalTrials.gov trial) and enumerates its contents: participant flow, baseline, outcome measures as tables, adverse events, rendered as Markdown. It also implicitly separates itself from fh_clinicaltrials_get_study_record by framing this as posted results, not the record itself.

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?

Explicitly routes to fh_library_read("nct:…", section: <title>) when one outcome measure is needed whole, which is a real alternative and condition. It lacks explicit guidance on when to prefer fh_clinicaltrials_get_study_record, but the results-vs-record distinction is clear from context.

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