Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

clinicaltrials_stats_field_values

Get value statistics for ClinicalTrials.gov fields, including top values with study counts, numeric/date ranges, boolean counts, and missing counts. Specify fields or types to analyze trial data.

Instructions

Get ClinicalTrials.gov field value statistics. Returns value statistics across all studies for the requested fields or field types: top values with study counts for enum and text fields (for example the most common conditions, sponsors or countries), min/max/avg for numbers and dates, true/false counts for booleans and missing-study counts. Needs fields or types.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clinicaltrials_stats_field_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesNoComma-separated field types
fieldsNoComma-separated piece names or field paths of leaf fields

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape per field type (top values with counts, min/max/avg, true/false counts, missing-study counts) plus the all-studies scope. It omits practical behavior such as how to combine fields and types, rate limits, or what happens with invalid field paths.

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 purpose, then the return summary, then the requirement — a sensible order with no filler. The middle sentence is dense but each clause conveys distinct output behavior.

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?

There is no output schema, so the description must explain results, and it does so comprehensively across all six field types. The only gaps are edge behavior (invalid paths, combining both parameters, empty results) and the absence of any tie-in to the related field_sizes tool.

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 comma-separated parameters are already documented, and the description adds little syntax detail beyond noting fields are 'piece names or field paths of leaf fields'. Its real added value is mapping parameter types to expected output, which is more behavioral than semantic.

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 ('Get ClinicalTrials.gov field value statistics') and clarifies the scope is 'across all studies' for requested fields or field types. It does not, however, distinguish itself from the sibling clinicaltrials_stats_field_sizes, which an agent could easily confuse with a statistics-over-fields tool.

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 closing 'Needs fields or types' gives a minimal invocation requirement, but no guidance on when to choose this tool over the sibling size/facet/enum tools, and no advice on when to pass fields versus types. Usage is implied rather than explained.

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

Deploy Server

Other Tools