Skip to main content
Glama

Kaleidoscope MCP (SEC & financial data)

FDA Prior CRLs with deficiency reason (PIT — the discriminator behind a 'saw prior CRL' gate)

bio_prior_crl_reason
Read-onlyIdempotent

Prior FDA Complete Response Letters (CRLs) for a sponsor, PIT-strict, with the deficiency reason as the load-bearing signal. The 'why did this CRL happen' field that lets a caller distinguish fixable issues (CMC / manufacturing) from fatal ones (efficacy). Pairs with bio_similar_setups(event_type='approval') as the no-arm complement — that tool gives realized post-approval returns conditional on approval; this one surfaces the prior-CRL pattern that often preceded a no-arm outcome.

Philosophy: ingredients, not verdicts. Returns the reason category + the verbatim deficiency sentence from the CRL + a classification confidence. The caller LLM weighs them. The tool never says 'this means X.'

Coverage (super-bio initial 2026-06-27; expanded 2026-07-03 with Tier-1 coverage-breadth work): 934 letters 2002-2026 / 220 distinct companies. Two sources — surfaced per row as source:

  • source='openfda' (439 rows) — the original authoritative FDA CRL transparency-feed letters. application_number + approval_status populated. Deficiency reason classified from the OCR'd letter text.

  • source='sec_disclosure' (495 rows / ~132 net-new companies since 2026-06-27) — the company's OWN SEC-filing disclosure of a CRL. Filer CIK match, matched_confidence=1.0. Populates drug (surfaced per row). application_number + approval_status are NULL by design (SEC disclosures don't reliably state the NDA/BLA number or resolution), so the caller-facing computed fields degrade honestly: same_application_as_current→null/false, eventual_resolution→'unknown'. That's correct behavior, not a bug — the FACT (company + drug + date) is still there. ~27% of SEC rows have reason_category='unknown' (reason not stated in the disclosure).

The corpus still skews to generics/specialty pharma (particularly on the openfda side); thin/unapproved biotechs are less absent than before but coverage remains incomplete. absence != "no prior CRL" — always surface the coverage caveat when an empty result is the answer.

PIT hygiene caveat on SEC-disclosure rows (flagged by futures 2026-07-06, substrate fix pending on super-bio side): letter_date on source='sec_disclosure' rows is the CRL EVENT date narrated in the filing ("In April 2026, we received a CRL..."). The disclosing SEC filing was made public LATER — often days, sometimes weeks. Until super-bio adds a disclosing_filing_date column to gate on, PIT replays with as_of set to a date BETWEEN the event date and the disclosing filing date may surface a CRL that wasn't yet publicly known. Buffer of ~60-90 days typically avoids the leak on 10-Q disclosures; strict PIT should treat SEC-disclosure rows within ~90 days of as_of with caution. openFDA rows are gated correctly.

Inputs:

  • ticker_or_cik — equity ticker (Atlas-resolves to CIK) or SEC CIK integer. Required.

  • as_of — ISO date YYYY-MM-DD. The PIT anchor. Required — letters with letter_date < as_of only. eventual_resolution='approved_later' is also PIT-gated against this date (only asserted if the resolution itself predates as_of, else 'unknown').

  • application (optional) — current event's NDA/BLA identifier (e.g. 'BLA 761303'). When passed, each returned row carries same_application_as_current (bool) so the caller can flag same-application repeats — the strongest signal short of identical molecule. Normalization strips /Original N / /Resubmission N suffixes so submission cycles don't break the match.

  • drug (optional) — current event's drug name (INN, brand, code-name). When passed, each returned row carries same_molecule_diff_formulation (bool) — case-insensitive substring match either way. Catches the INCY lesson (ruxolitinib cream vs XR were the same unresolved PK issue across formulations).

  • limit — max rows returned (default 50, max 200).

Returned reason categories (the reason_category field): cmc_manufacturing / efficacy / safety / bioequivalence_pk / clinical_design / labeling / inspection_483 / other

Response shape: list of {crl_id, application_number, company_name, letter_date, approval_status, reason_category, key_deficiency_sentence, classify_confidence, file_name, same_application_as_current, same_molecule_diff_formulation, eventual_resolution} sorted by letter_date DESC. Plus as_of_effective, n_returned, lookup, and a coverage_caveat block whenever the sponsor returns zero rows (so the caller doesn't infer absence-as-evidence).

Verified spec case (super-bio): bio_prior_crl_reason(ticker_or_cik='REGN', as_of='2026-01-01') → 5 CRLs including BLA 761303 odronextamab same-molecule repeat pattern (2024-03-22 clinical_design Unapproved → 2025-07-30 inspection_483 Unapproved) — exactly the 'saw prior CRLs, same unresolved issue' discriminator.

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": {
      "ticker_or_cik": "<ticker_or_cik>",
      "as_of": "<as_of>"
    },
    "name": "bio_prior_crl_reason"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugNoCurrent event's drug name (INN/brand/code). When passed, returned rows carry same_molecule_diff_formulation.
as_ofYesISO date YYYY-MM-DD. PIT anchor — letters before this date only.
limitNoMax rows returned (default 50, max 200).
applicationNoCurrent event's NDA/BLA identifier (e.g. 'BLA 761303'). When passed, returned rows carry same_application_as_current.
ticker_or_cikYesEquity ticker (e.g. 'REGN') or SEC CIK integer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations (readOnly/idempotent/non-destructive), disclosing data sources and row counts per source, which fields go NULL on SEC-disclosure rows and why, that ~27% of those rows are reason_category='unknown', and a concrete PIT leak window (~90 days) with a buffer recommendation. It also states the philosophy (ingredients, not verdicts) so the agent knows the tool never asserts a conclusion — exactly the behavioral context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headings and bullets keep a long description navigable and the purpose is front-loaded, but it is well past what an agent needs, carrying internal changelog noise ('flagged by futures 2026-07-06, substrate fix pending on super-bio side'), source row counts, and a worked spec case. Useful parts are buried among developer-facing asides.

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 a complex PIT tool with no output schema, the description supplies the response field list, sort order, the enumerated reason categories, the coverage_caveat block on empty results, and the empty-result interpretation rule (absence != no prior CRL). Nothing material is missing for correct invocation or interpretation.

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 already 100%, so the baseline is 3; the description adds real meaning beyond it, notably that application normalization strips '/Original N' and '/Resubmission N' suffixes, that drug matching is a case-insensitive substring either direction, and that eventual_resolution is itself PIT-gated by as_of. These are behavioral effects of parameters not captured in the schema strings.

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 (prior FDA Complete Response Letters for a sponsor, PIT-strict) plus the load-bearing field (deficiency reason) that differentiates it from a plain CRL listing. It also positions itself against a complementary tool and explains the discriminator it serves ('saw prior CRL' gate). An agent can tell what this returns without opening the schema.

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

Usage Guidelines4/5

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

Clear usage context: use when you need the 'why did this CRL happen' signal and want to distinguish fixable CMC issues from fatal efficacy ones, and it explicitly pairs as the no-arm complement to an approval-outcome tool. It lacks explicit exclusions relative to the actual sibling bio_crl_outcomes, and the referenced complement (bio_similar_setups) is not in the supplied sibling list, which weakens routing slightly.

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