Skip to main content
Glama
biocontext-ai

BioContextAI Knowledgebase MCP

Official

bc_get_studies_by_intervention

Retrieve clinical trials by intervention with filters for condition, phase, and status, returning paginated results with breakdowns.

Instructions

Search trials by intervention with condition and phase filters. Returns paginated results with breakdowns.

Returns: dict: Studies list with summary containing intervention searched, total studies, status/phase breakdowns, top conditions/sponsors or error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo'LastUpdatePostDate:desc', 'StudyFirstPostDate:desc', or 'EnrollmentCount:desc'LastUpdatePostDate:desc
phaseNo'PHASE1', 'PHASE2', 'PHASE3', 'PHASE4', or 'EARLY_PHASE1'
statusNo'RECRUITING', 'ACTIVE_NOT_RECRUITING', 'COMPLETED', or 'ALL'ALL
conditionNoMedical condition filter (e.g., 'cancer')
page_sizeNoResults per page (1-1000)
interventionYesDrug/therapy name (e.g., 'aspirin', 'pembrolizumab', 'radiation')
intervention_typeNo'DRUG', 'BIOLOGICAL', 'DEVICE', 'PROCEDURE', 'RADIATION', 'BEHAVIORAL', or 'ALL'ALL

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Describes pagination and return dict structure (intervention, total studies, breakdowns, error message) but no annotations exist. Lacks details on data freshness, authorization, or side effects. Adequate but not comprehensive.

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: first states purpose and filters, second describes return. No wasted words, highly efficient.

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?

Given 7 parameters and output schema existence, the description covers core functionality (intervention search, filters, paginated results with breakdowns). Could mention sort or intervention_type but those are in schema. 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 coverage is 100%, so parameters are documented. Description adds no additional meaning beyond schema, but reinforces that 'intervention' is the primary filter. 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?

Clearly states 'Search trials by intervention' with specific filters (condition, phase), distinguishing it from siblings like bc_get_studies_by_condition and bc_search_studies. The verb 'Search' and resource 'trials' are explicit.

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?

No guidance on when to use this tool versus alternatives such as bc_get_studies_by_condition or bc_recruiting_studies_by_location. Does not mention exclusions or prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/biocontext-ai/knowledgebase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server