Skip to main content
Glama

Search Entities

search_entities
Read-only

Find drugs, programs, companies, trials, indications, mechanisms, targets, financing rounds, or deals matching structured criteria. Accepts natural language queries that Maven translates into structured filters.

Good queries: "Phase 3 NSCLC drugs", "biotech companies with market cap over 1B", "KRAS G12C inhibitors in solid tumors", "active trials in TNBC", "Series B oncology rounds since 2024 over $50M", "licensing deals over $500M in oncology since 2024", "Phase 3 NSCLC programs".

A program is one drug's development in one indication (optionally one setting/biomarker), so questions scoped to an indication want programs, while questions about a molecule across all its uses want drugs. Programs have no canonical name; find them here, not via match_entity.

For canonical lookup of a single known entity, use match_entity. For a comprehensive profile of a single known entity, use research_entity instead. For an indication-level competitive landscape, use research_landscape. For company-anchored financing views (one company's rounds or investments), prefer research_entity(..., aspects=["financings"]) or aspects=["investments"]. For precise financing filters by recipient, investor, type, value, or date, use get_financings. For precise deal filters by indication, party, role, deal type, value, or date, use get_deals.

If the query looks like single-entity lookup or criteria search returns no meaningful matches, the response may include machine-readable hints to guide the next step.

Results include typed IDs that can be passed to research_entity, read_document, get_financials, or get_financings for deeper data. Search results are discovery candidates; search_documents, read_document, and research_entity provide source-backed detail on any candidate.

For drug searches, when Prominence scoring is available the results are ordered Prominence-first (the highest-signal programs lead, so the first page is not polluted by less relevant matches), and each scored drug carries a relevance block: {score, confidence, signals, drivers, caveats}. Prominence (surfaced to users by that name) is a within-indication competitive read: how prominent a program is among the others competing in the same indication, blending development stage, clinical position, recent development activity, and mechanistic differentiation, normalized against that indication's field. It is NOT a prediction of clinical success, approval likelihood, or commercial quality, and is comparable only within one indication, never across indications. No candidate is dropped for low Prominence; treat a missing block as 'no precomputed score', not 'low prominence'.

Note on company discovery: results match the filters but are NOT relevance-ranked; broad company queries return large alphabetical candidate sets (match_score may be null) where well-known names can be absent from page 1. For "top companies" or ranking questions, use aggregate_records instead (e.g. entity_type='drug', query='drugs grouped by company' plus your filters) and treat search_entities output as an unranked candidate pool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity_type": "<entity_type>",
      "query": "<query>"
    },
    "name": "search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-indexed.
queryYesNatural language search criteria.
page_sizeNoResults per page (default 20, max 50).
entity_typeYesType of entity to search for.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint), so the description's job is ordering and result semantics — and it delivers: Prominence-first ordering for drug searches, the structure of the `relevance` block, the explicit warning that Prominence is within-indication only and not a success prediction, and that missing scores mean 'not precomputed' rather than 'low'. It further discloses that company results are NOT relevance-ranked and that well-known names may be absent from page 1 — a non-obvious behavior that would otherwise cause silent misreads.

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?

Well front-loaded: purpose, then worked query examples, then sibling routing, then result behavior. The Prominence paragraph is long and partly redundant with the caveat restated twice, but every section carries decision-relevant content, so the length is defensible rather than padding.

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?

An output schema exists, so return values need not be explained, and the description still covers the parts the schema cannot: ranking behavior, scoring caveats, chained-ID usage, and a fallback path via `hints`. For a broad discovery tool with 4 params this is as complete as an agent needs to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond it by giving concrete example queries that map natural language onto the filter space and by defining what each entity_type means in practice (especially program vs drug). It adds no guidance on page/page_size beyond the schema, which caps it below 5.

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?

Opens with a specific verb and an enumerated resource set ('Find drugs, programs, companies, trials, indications, mechanisms, targets, financing rounds, or deals matching structured criteria') and immediately separates itself from match_entity and research_entity. The program-vs-drug distinction ('indication-scoped questions want programs, molecule-wide questions want drugs') is a genuinely discriminating rule an agent could not infer from the name.

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 routes each adjacent case to a named sibling: canonical lookup to match_entity, single-entity profile to research_entity, indication landscape to research_landscape, financing views to research_entity aspects or get_financings, precise deal filters to get_deals, and ranking questions to aggregate_records. It also states the fallback behavior when search returns nothing ('hints' in the response), which is when-not guidance rather than just when.

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