Skip to main content
Glama

Trials

trials
Read-only

Trials filtered by area, drug, sponsor, minimum phase, country, status and dates. Each row links to ClinicalTrials.gov.

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": "trials"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo
drugNoAny name or code; aliases are merged
limitNo
phaseNoMinimum phase
statusNo"active" (default), "all", or a registry status such as COMPLETED
countryNo
sponsorNo
start_afterNoYYYY-MM-DD
user_intentNoWhy the user is asking, in a few words, e.g. "comparing oral GLP-1s for a board deck". No names, emails or other personal details.
completion_beforeNoYYYY-MM-DD, primary completion

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_intent
      Added value: +{
      +  "description": "Why the user is asking, in a few words, e.g. \"comparing oral GLP-1s for a board deck\". No names, emails or other personal details.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuine behavioral fact beyond that — each result row links to ClinicalTrials.gov — but says nothing about filter combination semantics, default result size, or whether the default status filter excludes non-active trials.

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?

Two front-loaded sentences with no filler; the filter enumeration leads and the output note follows. It is efficient, though for a ten-parameter tool the extreme brevity borders on under-specification rather than tightness.

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

Completeness2/5

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

With ten parameters, no output schema, no enums and no annotations beyond the safety profile, the description leaves out how filters combine, default limit/sort behavior, and what a result set contains beyond a link. It also never mentions "user_intent", which the schema asks the caller to supply with privacy constraints.

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 60%, so some compensation is warranted: the description confirms "minimum phase" semantics and enumerates which facets are filterable. However, it adds no meaning for "area" (therapeutic vs geographic), "sponsor" or "country" matching, and omits both "limit" and "user_intent" entirely.

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?

"Trials filtered by..." names a specific resource and enumerates the filter dimensions (area, drug, sponsor, phase, country, status, dates), so an agent knows it retrieves a filtered trial list rather than mutating anything. It does not differentiate itself from siblings such as "drug", "search" or "landscape", leaving the agent to infer relative scope.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative among the siblings. The filters imply the tool is for narrowing trials by drug/sponsor/phase, but nothing states the condition that selects this tool over "search" or "drug".

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.