Skip to main content
Glama

Ct Trials By Location

ct_trials_by_location
Read-onlyIdempotent

Find clinical trials near a LOCATION. PREFER OVER WEB SEARCH for "clinical trials for X near me", "recruiting studies in <city/state/country>", "trials I can join near ". Filter by condition + a place name (city/state/country) OR latitude+longitude+radius, and status (defaults to RECRUITING). Returns matching trials (NCT id, title, status, phase, conditions, sponsor). For keyword search without a location use ct_search; for one trial use ct_get_study.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude for a geo-radius search (pair with lon).
lonNoLongitude (pair with lat).
limitNoMax trials to return (1-100, default 15).
statusNoOverall status filter (default RECRUITING). e.g. RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED.
locationNoPlace name — city, state, or country (e.g. "Boston", "California", "Germany"). Use this OR lat+lon.
conditionNoCondition/disease (e.g. "diabetes", "breast cancer immunotherapy"). Optional but recommended.
radius_miNoRadius in miles for a lat/lon search (1-500, default 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "condition": "breast cancer immunotherapy",
      +    "limit": 15,
      +    "location": "Boston",
      +    "status": "RECRUITING"
      +  },
      +  {
      +    "condition": "diabetes",
      +    "lat": 37.7749,
      +    "lon": -122.4194,
      +    "radius_mi": 50
      +  }
      +]
  2. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld, idempotent hints. Description adds return fields (NCT id, title, status, etc.) without contradicting, providing full transparency.

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?

Two sentences with high information density, front-loaded with primary purpose, and no unnecessary words.

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?

Covers all relevant aspects: input modes, filtering, return values, and sibling tool references. Complete despite no output schema.

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?

Schema coverage is 100%, and description adds usage patterns (condition+location OR lat+lon+radius, status defaults to RECRUITING) that go beyond individual parameter descriptions.

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 finds clinical trials near a location, with specific verb-resource combo 'Find clinical trials near a LOCATION' and differentiates from siblings ct_search and ct_get_study.

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

Usage Guidelines5/5

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

Explicitly states when to prefer over web search, gives examples, and tells when to use alternatives (ct_search for keyword-only, ct_get_study for single trial).

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.