Skip to main content
Glama

Biotech Pipeline Valuation

valuation_biotech
Read-onlyIdempotent

Value biotech drug pipelines with risk-adjusted models: peak sales, decision-tree expected value, or rNPV. Select a method and provide inputs like patient population, probabilities, and discount rate.

Instructions

Risk-adjusted biotech valuation: peak sales, decision-tree expected value, and full pipeline rNPV across drugs. Method selects the model. Use for pharma/drug pipelines; for hardware or deep tech use valuation_hardware. Parameters apply per method: peak_sales needs patient_population + penetration + price; decision_tree needs probabilities + terminal_value; pipeline needs drugs + discount_rate. Not for hardware or deep tech — for that use valuation_hardware. Only method is required; all other parameters are method-dependent, so supply those the selected method names and omit the rest (defaults apply where defined). Rate and decimal inputs are fractions (0.10 = 10%); probability and weight lists are in [0,1] and sum to 1. Returns value, method, inputs, assumptions, chapter, formula_number and calculation steps; pure arithmetic — no I/O and no external calls — rounded to 2 decimals, with no auth or rate limits. An unknown method, or a missing method-required parameter, returns an error instead of a value.

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": {
      "method": "<method>"
    },
    "name": "valuation_biotech"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugsNoPipeline drugs: {peak_sales, multiple, p_success (0-1), years_to_peak}. All four keys are required per drug.
priceNoPrice per unit / treatment, currency units.
methodYesFormula to apply. Options: peak_sales = Peak = population × penetration × price × compliance.; decision_tree = EV = Π pᵢ × terminal value.; pipeline = V = Σ(peak sales × multiple × P_success) / (1+r)^n.
complianceNoCompliance / adherence rate as a decimal.
penetrationNoMarket penetration as a decimal (0.10 = 10%).
discount_rateNoDiscount rate as a decimal (0.12 = 12%).
probabilitiesNoProbability of each outcome or stage, each in [0,1]; the list must sum to 1 where it is exhaustive.
terminal_valueNoExpected exit / terminal value, currency units.
patient_populationNoTarget patient population treated per year.

Output Schema

NameRequiredDescriptionDefault
errorNoError message when the call fails.
stepsNoIntermediate steps for traceability.
valueYesComputed valuation or metric.
inputsNoEcho of the normalised inputs used.
methodNoFormula / method name that produced the result.
chapterNoSource textbook chapter.
assumptionsNoModelling assumptions applied.
formula_numberNoSource textbook formula number (e.g. '3.1').
defaults_appliedNoOptional parameters that were not supplied, so their documented defaults were used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.5
    • changedInput schema / properties / drugs / description
      Previous value: -"Pipeline drugs: {name, peak_sales, probability, years_to_market, multiple(optional)}."New value: +"Pipeline drugs: {peak_sales, multiple, p_success (0-1), years_to_peak}. All four keys are required per drug."
  2. Changed1 schema field changedv2.1.1
    • addedOutput schema / properties / defaults_applied
      Added value: +{
      +  "description": "Optional parameters that were not supplied, so their documented defaults were used.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive behavior, and the description still adds real value: pure arithmetic with no I/O or external calls, results rounded to 2 decimals, and the error contract for unknown methods or missing method-required parameters. It stops short of describing pagination/edge-case rounding or the significance of the returned 'chapter' and 'formula_number' fields, but that is largely covered by the output schema.

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?

Dense, front-loaded, and organized around method selection, parameter requirements, and units. The one clear blemish is redundancy: the hardware/deep-tech exclusion and the valuation_hardware redirect appear twice in slightly different wording, wasting a sentence that earns nothing new.

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?

A complex, nine-parameter, method-dependent tool is fully covered: required vs. optional parameters, per-method dependencies, unit conventions, error behavior, determinism, and rounding are all stated. With an output schema present, the description does not need to explain return fields, and its brief mention of them is a bonus rather than a gap.

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 adds the method-to-parameter mapping (peak_sales → population/penetration/price; decision_tree → probabilities/terminal_value; pipeline → drugs/discount_rate) that the schema does not state as a dependency graph. It also reinforces unit conventions (fractions such as 0.10 = 10%, probability lists summing to 1), which materially reduces misuse.

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: risk-adjusted biotech valuation covering peak sales, decision-tree EV, and pipeline rNPV, with an explicit method selector. It also names the sibling it is not (valuation_hardware) for hardware/deep tech, so an agent can disambiguate without opening either 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 (pharma/drug pipelines) and when-not (hardware or deep tech → valuation_hardware), plus per-method guidance on which parameters each method requires. The instruction to supply only the method-named parameters and omit the rest is directly actionable.

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