Skip to main content
Glama

trials_search

Read-onlyIdempotent

Search trials by condition, intervention, sponsor, phase, status, country, or free text. Traded as evidence, not clearance: an empty result means no matching record in this bounded corpus, never that the product is safe.

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_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
phaseNo
cursorNo
statusNo
countryNo
sponsorNo
registryNo
conditionNo
study_typeNo
interventionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds one genuinely non-obvious trait — that the corpus is bounded and an empty result proves nothing about safety — but says nothing about how multiple facets combine (AND vs OR), pagination behavior, or result ordering.

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 sentences with zero filler; the facet list is front-loaded and the caveat is a single tight clause. The phrase "Traded as evidence, not clearance" is slightly cryptic and could be stated more plainly, which keeps it off a 5.

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?

For an 11-parameter, fully undocumented schema with no output schema, the description is thin: pagination (limit, cursor), registry, and study_type are never addressed, and there is no hint of the result shape. An agent can construct a basic query but would be guessing at paging and at two of the filters.

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 0%, so the description carries the burden, and it names seven of the eleven parameters (condition, intervention, sponsor, phase, status, country, free text/q). It leaves limit, cursor, registry, and study_type unmentioned and adds no matching semantics — case sensitivity, substring vs exact, or whether q is combined with or overrides the facets.

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?

The description states a specific verb ("Search") plus the resource ("trials") and enumerates the searchable facets, so the agent knows exactly what the tool covers. It doesn't explicitly distinguish itself from the sibling trials_get, so the search-vs-fetch split has to be inferred from the verb alone.

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 facet list implies when to reach for this tool, and the "evidence, not clearance" line gives real interpretive guidance on how to use results. However, there is no explicit statement of when to use trials_get instead, and no guidance on choosing between free text (q) and structured facets.

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.

Resources