Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

clinical_trials_stats

Read-onlyIdempotent

Get trial count breakdown by recruitment status for any disease or drug. See how many trials are recruiting, active, completed, or terminated in one query.

Instructions

Get trial count breakdown by recruitment status for a condition or drug/intervention. Shows how many trials are recruiting, active, completed, terminated, etc. Works for diseases ('breast cancer') AND drug names ('semaglutide', 'pembrolizumab'). Queries 8 statuses in parallel for comprehensive breakdown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conditionYesDisease, condition, or drug name: 'breast cancer', 'semaglutide'
search_as_drugNoSet true to search as drug/intervention instead of condition (for drug names like 'semaglutide')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / condition / description
      Previous value: -"Disease, condition, or drug name: 'breast cancer', 'semaglutide', 'Alzheimer Disease'"New value: +"Disease, condition, or drug name: 'breast cancer', 'semaglutide'"
    • changedInput schema / properties / search_as_drug / description
      Previous value: -"Set true to search as drug/intervention instead of condition (use for drug names like 'semaglutide', 'pembrolizumab')"New value: +"Set true to search as drug/intervention instead of condition (for drug names like 'semaglutide')"
  2. First observedv2026.3.9

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds meaningful behavioral context beyond annotations: it 'queries 8 statuses in parallel for comprehensive breakdown,' which implies parallel calls and potentially higher latency or rate-limit impact. It also clarifies the nature of the output (counts by status, not a trial list). No contradictions with annotations.

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 four short, focused sentences. The main purpose is front-loaded, followed by output format, accepted inputs with examples, and a behavioral note. Every sentence earns its place with no fluff or repetition.

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 simple 2-parameter tool with no output schema, the description sufficiently explains what the tool returns (counts by status) and how it handles both condition and drug inputs. It does not detail the exact response structure or status list beyond 'etc.', but the general shape is clear. Annotations cover safety, so the description is nearly complete.

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 100% with both parameters already documented. The description adds example values ('breast cancer', 'semaglutide') and clarifies that condition can be a drug/intervention, but this mostly repeats schema guidance. It does not add significant meaning beyond the schema, so baseline 3 is appropriate.

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 states a specific verb+resource: 'Get trial count breakdown by recruitment status for a condition or drug/intervention.' It clearly differentiates from sibling tools like clinical_trials_search and clinical_trials_detail by focusing on counts by status rather than searching or detailing individual trials. The examples of diseases and drug names further clarify the scope.

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 (when a count breakdown by status is needed) and clarifies that it accepts both diseases and drug names. However, it does not explicitly mention alternatives or provide when-not-to-use guidance relative to siblings like clinical_trials_search or clinical_trials_by_location. The usage context is clear but not explicitly routed.

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