Skip to main content
Glama

Count the development pipeline

count_pipeline
Read-onlyIdempotent

Use this when the user asks how many drug and therapy programmes there are, or how a field's pipeline splits. Counts programmes grouped by stage, modality, target, hallmark, indication, the developer's country or the developer, with each group's count at each stage. Takes list_assets' filters: by=target with indication=obesity counts the targets of obesity programmes. An account whose plan includes drug and therapy programmes reads every record in full; others read an outline, as the site's asset pages show it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoLetters and digits in any of the asset's names or code names (`UBX1325` matches UBX-1325).
byNoWhat to group by.stage
limitNoResults per page, 1 to 25.
stageNoStage: with `indication`, the stage for that indication; otherwise the asset's furthest stage.
targetNoA target: a gene symbol or key (`GLP1R`, `bcl2l1`) or a process key (`mtor`, `cellular-senescence`).
countryNoThe developer's country, ISO 3166 alpha-2 (`US`, `GB`, `CH`).
hallmarkNoA hallmark of aging the asset acts on.
modalityNoThe kind of therapy (see `modality`).
mechanismNoWords that must all appear in the asset's mechanism line (case-insensitive).
indicationNoA disease, by name or entity key (`idiopathic pulmonary fibrosis`, `alzheimer-disease`).
organisationNoAn organisation key: the assets it develops, partners on or licensed out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world safety. The description adds genuinely new behavior: output is grouped counts per stage, and data completeness depends on the account plan (full records vs. outline). That plan-gated read behavior is not derivable from annotations or schema and is valuable for interpreting results.

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-loads the trigger ('Use this when...'), then behavior, then a worked example, then the plan caveat. Efficient overall, though the final sentence about account plans is dense and could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-param, zero-required tool with no output schema, the description covers what is returned (grouped counts per stage) and the important plan-dependent completeness caveat. It is complete enough to call correctly, with only minor gaps in describing pagination/limit behavior, which the schema already documents.

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. The description earns above baseline by explaining cross-parameter interaction the schema cannot ('by=target with indication=obesity counts the targets of obesity programmes') and by naming the grouping values the `by` enum offers.

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 (counts) and resource (drug and therapy programmes/pipeline), and enumerates the grouping dimensions it supports. It also positions itself against sibling list_assets by noting it 'takes list_assets' filters', making the count-vs-list distinction explicit 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 Guidelines4/5

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

'Use this when the user asks how many...' gives a clear trigger condition, and the list_assets filter reference points to the sibling it complements. It stops short of an explicit when-not (e.g., 'use list_assets instead when you need the full records'), so it's strong but not fully routed.

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