Skip to main content
Glama

Search Documents

search_documents
Read-only

Search Maven's document corpus -- FDA filings, SEC filings, clinical papers, press releases, conference abstracts, and corporate presentations. Returns documents ABOUT entities.

To resolve one known entity name, use match_entity. To discover entities by criteria, use search_entities.

Use source_types to narrow by document category. Use entity_name to scope results to documents mentioning a specific drug or company. Keep entity_name to the raw entity name and put extra identifying text such as sponsor/company in context.

This tool is for generic document discovery and evidence lookup across Maven's corpus.

When host web fetches are blocked, use this as the primary fallback path. Maven often has indexed copies or near-equivalent documents that you can then read with read_document.

search_mode controls retrieval strategy: 'auto' picks the best Maven retrieval path for the query; 'semantic' uses Maven's internal semantic document search only; 'keyword_strict' uses internal lexical search requiring resolved entity terms when available.

To read a document's full content after finding it, use read_document with the doc_id.

Pagination: count is the number of results in this response. pagination.total counts the retrieved window, which is a lower bound on the matching corpus unless pagination.total_is_exact is true, meaning retrieval reached the end of the matches. Page while pagination.has_more is true, following more_via. A retrieval_depth_reached hint means retrieval stopped at its own ceiling, so narrowing the query surfaces more than paging deeper will.

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": {
      "query": "<query>"
    },
    "name": "search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-indexed.
queryYesWhat you're looking for. Be specific, include entity names for best results.
contextNoOptional disambiguating hint for entity_name, such as sponsor/company or other identifying context. Keep entity_name itself to the raw entity name.
page_sizeNoResults per page (default 20, max 50).
after_dateNoYYYY-MM-DD lower bound. Only return documents published on or after this date.
before_dateNoYYYY-MM-DD upper bound. Only return documents published on or before this date. Pair with after_date for a bounded window.
bias_recentNoWhen true, strongly boost recently published documents. Use for queries about recent news, events, or developments. Default false.
entity_nameNoRaw entity name to scope results to (e.g. 'pembrolizumab', 'Pfizer'). Put sponsor/company qualifiers into `context`, not here.
entity_typeNoHelps disambiguate entity_name.
search_modeNoRetrieval mode. 'auto' is default. 'semantic' uses Maven's internal semantic document search only. 'keyword_strict' uses lexical search requiring resolved entity terms when possible.auto
source_typesNoFilter by document category. Omit for all types. 'payer_coverage' covers US payer coverage policies, drug lists and bulletins. 'social_posts' covers X posts by clinicians and other experts reacting to approvals, readouts and data disclosures, one conversation per document.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / source_types / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "fda_filings",
      -        "sec_filings",
      -        "clinical_papers",
      -        "press_releases",
      -        "conference_abstracts",
      -        "corporate_presentations",
      -        "hta_reimbursement",
      -        "payer_coverage"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "enum": [
      +        "fda_filings",
      +        "sec_filings",
      +        "clinical_papers",
      +        "press_releases",
      +        "conference_abstracts",
      +        "corporate_presentations",
      +        "hta_reimbursement",
      +        "payer_coverage",
      +        "social_posts"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_types / description
      Previous value: -"Filter by document category. Omit for all types. 'payer_coverage' covers US payer coverage policies, drug lists and bulletins."New value: +"Filter by document category. Omit for all types. 'payer_coverage' covers US payer coverage policies, drug lists and bulletins. 'social_posts' covers X posts by clinicians and other experts reacting to approvals, readouts and data disclosures, one conversation per document."
  2. Changed1 schema field changed
    • changedInput schema / properties / source_types / description
      Previous value: -"Filter by document category. Omit for all types. 'payer_coverage' (US payer coverage policies, drug lists and bulletins) is available only to organizations with payer access."New value: +"Filter by document category. Omit for all types. 'payer_coverage' covers US payer coverage policies, drug lists and bulletins."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered; the description instead adds retrieval-behavior context: search_mode trade-offs between semantic and keyword_strict retrieval, and the caveat that pagination.total is only a lower bound unless total_is_exact, plus the retrieval_depth_reached signal meaning narrowing beats paging. It stops short of noting rate limits, auth expectations, or result-size/latency behavior for the fallback path it recommends, so it is strong but not exhaustive.

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?

Front-loaded with purpose and routing before mechanics, and most sentences carry weight (fallback path, entity-vs-context rule, pagination caveats). There is redundancy: the search_mode sentence restates the schema's search_mode description almost exactly, and the pagination paragraph is long for behavior the output schema likely already exposes.

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?

For an 11-parameter discovery tool with a live output schema and read-only annotations, the description covers what is otherwise missing: when to prefer it over entity tools, its use as a web-fetch fallback, retrieval-mode choice, and how to interpret pagination and depth ceilings before paging. Nothing an agent needs in order to call it correctly and interpret its window appears absent.

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 100%, so all 11 parameters are already documented in the schema, and much of the description's parameter guidance (source_types narrowing, search_mode definitions, entity_name vs context split) is near-verbatim repetition of field descriptions. It reinforces correct usage of the entity_name/context distinction but adds little syntactic or semantic meaning beyond what the schema already provides.

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?

States a specific verb and resource plus the coverage domain (FDA filings, SEC filings, clinical papers, press releases, conference abstracts, corporate presentations) and explicitly scopes it as 'documents ABOUT entities'. It also names the sibling tools it is not (match_entity, search_entities), so an agent can separate it from them without opening any schema.

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?

Gives explicit when-to-use routing: match_entity for resolving a known name, search_entities for discovery by criteria, and this tool for generic document discovery/evidence lookup. It adds a concrete operational trigger ('when host web fetches are blocked, use this as the primary fallback path') and a follow-on step (read_document with doc_id), which is exactly the kind of conditional guidance an agent needs.

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