Skip to main content
Glama

Pharma Sales At Risk

pharma_sales_at_risk
Read-onlyIdempotent

The patent cliff, in dollars: which of a pharmaceutical company's products lose exclusivity soonest and how much reported revenue each one carries. Ask by ticker or company ("MRK", "Pfizer") for its whole portfolio ranked by expiry year, or by a single drug to place that one product. Joins the filer's own product-level revenue disaggregation from its latest 10-K to FDA exclusivity records, Orange Book listed patent and regulatory-exclusivity expirations for small molecules, Purple Book licensure and biosimilar entry for biologics, and totals revenue at risk per year. Biologics past their BPCIA 12-year floor with no biosimilar licensed (Keytruda, Gardasil) carry no FDA date and are returned separately as exposed_undated_bpcia with their own total, never assigned a year. Revenue is the last reported period, not a forecast; the expiry is the earliest date listed at FDA, before any litigation, settlement, patent-term extension, or pediatric exclusivity moves it. When company is given, filer.matched_by says whether it matched by ticker or by company name.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company": "MRK",
      "max_products": 12
    },
    "name": "pharma_sales_at_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugNoBrand name of a single drug, e.g. "Keytruda". Its marketer is resolved to a filer and that filer's portfolio is screened. Provide this or "company".
companyNoTicker or company name of the SEC filer, e.g. "MRK", "Merck", "Pfizer". Provide this or "drug".
max_productsNoHow many revenue lines to check, taken largest first by last reported sales. Default 12, max 25. Each one costs an FDA exclusivity lookup.
horizon_yearsNoHow many years ahead to count as at risk. Default 10, max 25. Products expiring later are returned separately under protected_beyond_horizon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds substantial methodology the agent could not otherwise know: the exact sources joined (10-K disaggregation, Orange Book, Purple Book, FDA exclusivity), that revenue is last reported rather than forecast, and that expiry is the earliest FDA date before litigation, settlement, or pediatric exclusivity. It also discloses the edge-case handling of BPCIA-exposed biologics being returned separately as exposed_undated_bpcia rather than assigned a year.

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?

The description is front-loaded with the core purpose and then layers methodology and caveats in a logical order, with no filler sentences. It is dense and long, but for a tool that joins several regulatory datasets and has no output schema, nearly every clause carries information the agent needs.

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?

With no output schema, the description carries the burden of explaining return shape, and it does: portfolio ranked by expiry year, per-year revenue-at-risk totals, the separate exposed_undated_bpcia bucket with its own total, and filer.matched_by provenance. Combined with the schema's protected_beyond_horizon and the read-only annotations, an agent has everything needed to call this 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 schema already documents all four parameters; the description nonetheless adds meaning by explaining the company-vs-drug selection model and the significance of filer.matched_by when a company name is resolved. It also clarifies the downstream consequence of horizon_years via protected_beyond_horizon, though this largely restates the schema.

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?

The description opens with a specific framing ("The patent cliff, in dollars") and immediately states the concrete output: which products lose exclusivity soonest and how much reported revenue each carries. It is clearly distinguishable from sibling tools like pharma_product_sales or pharma_drug_profile because it is the only one joining product-level revenue to FDA exclusivity dates and totalling revenue at risk.

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?

It explicitly describes two invocation modes — a whole-portfolio screen by ticker/company, or a single-drug lookup to place one product — which tells the agent how to pick parameters for its intent. It stops short of naming alternative tools or stating when not to use this one, so the routing guidance is clear but not complete.

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