Skip to main content
Glama

Residual solvent limits (ICH Q3C)

cmc_residual_solvent_limit
Read-onlyIdempotent

Calculates ICH residual solvent class, permitted PDE/ppm limits, and pass/fail results for measured values, including Option 2 summation across drug-product components.

Instructions

Class, PDE and permitted concentration for residual solvents, with pass/fail for measured values and the Option 2 sum across drug-product components.

Resolves names, CAS numbers and synonyms exactly; unknown names return 'did you mean' suggestions instead of a guess. Flags Class 1 solvents and Table 4 solvents with no PDE.

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": {
      "solvents": "<solvents>"
    },
    "name": "cmc_residual_solvent_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionNooption1: fixed ppm limits assuming ≤10 g/day. option2: limits from the actual daily dose.option1
solventsYesSolvent names, CAS numbers or synonyms, e.g. ['DCM', '67-56-1', 'THF'].
componentsNoOption 2 summation: each component's mass in the daily dose and its solvent content.
daily_dose_gNoMaximum daily mass of drug product, g. Required for option2.
measured_ppmNoMeasured content per solvent, ppm, e.g. {'DCM': 450}. Checked against Option 1.

Output Schema

NameRequiredDescriptionDefault
optionYes
summaryYesOne or two sentence plain-language answer.
findingsNo
solventsYes
citationsYes
disclaimerNoDecision support only. Verify against the current guideline and your site SOPs.
provenanceYes
assumptionsNo
daily_dose_gYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world, and non-destructive, so the safety profile is covered. The description goes beyond them with genuinely useful behavior: exact name/CAS/synonym resolution, 'did you mean' suggestions instead of guessing, and flagging Class 1 and Table 4 solvents that have no PDE. It does not discuss edge behavior such as mixed known/unknown solvent lists or how pass/fail is reported when a solvent has no PDE.

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?

Three short sentences, front-loaded with what is returned and followed by resolution behavior and edge-case flags. No filler; a small deduction only because the name/CAS resolution sentence 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?

With an output schema present the description need not explain return values, and annotations cover the safety profile, so the remaining burden is small. The only material gap is that the Option 1 vs Option 2 selection criterion and the daily_dose_g dependency are left entirely to the schema rather than being surfaced in the description.

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 every parameter including option, components, daily_dose_g and measured_ppm is already documented in the schema itself. The description's references to 'pass/fail for measured values' and the 'Option 2 sum across drug-product components' restate the schema's own wording rather than adding new semantics. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (residual solvents) and the concrete outputs: Class, PDE, permitted concentration, pass/fail, and Option 2 summation. It is unambiguous what the tool computes, but it never names or contrasts a sibling such as cmc_impurity_thresholds, so differentiation relies on the reader knowing the ICH Q3C domain.

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

Usage Guidelines3/5

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

Usage is implied by the domain (residual solvent limit checks) and by the mention of Option 1 vs Option 2 summation, but there is no explicit 'use this when...' or 'instead use X for...' guidance. Nothing states prerequisites such as needing a daily dose before Option 2 applies, even though that is the key branching decision.

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