Skip to main content
Glama

Elemental impurity risk assessment (ICH Q3D)

cmc_elemental_impurity_risk
Read-onlyIdempotent

Assess elemental impurity risk by route and daily dose, calculating permitted concentrations, total intake versus PDE, control thresholds, and the components driving each element.

Instructions

Component-approach risk assessment for elemental impurities: which elements to assess, their PDEs, permitted concentrations, total daily intake vs PDE, the 30% control threshold, and the components driving each element. Applies the cutaneous concentration limit (CTCL) for Ni and Co.

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": {
      "route": "<route>",
      "daily_dose_g": "<daily_dose_g>"
    },
    "name": "cmc_elemental_impurity_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeYesRoute of administration; selects the PDE column (cutaneous = Q3D(R2) Appendix 5).
optionNooption1: common limits at 10 g/day; option2a: common limits at the actual dose; option2b: component-specific, summed against the PDE; option3: finished-product analysis.option2b
elementsNoOverride the element list. Default: Q3D Table 5.1 for the route + intentionally added + measured.
componentsNoComponents with their mass in the daily dose and known element levels (µg/g).
daily_dose_gYesMaximum daily intake of drug product, g.
intentionally_addedNoElements deliberately added, e.g. catalysts ['Pd', 'Ni']. Always assessed.
control_threshold_fractionNoControl threshold as fraction of PDE (Q3D: 0.30).

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the safety profile is covered. The description adds genuine domain behavior beyond that: it discloses the computation model (total daily intake vs PDE, 30% control threshold) and the Ni/Co CTCL special case, which tells the agent what regulatory logic will be applied. It doesn't mention input-validation failure modes or how unknown/LoQ values are treated, keeping it from a 5.

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 dense sentences with no filler, front-loaded on what the assessment produces before the Ni/Co exception. It is efficiently sized for a 7-parameter calculation tool, though the opening clause is a long noun phrase rather than a crisp verb statement.

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 and full annotation coverage, the description needn't explain return values or side effects, and it correctly focuses on methodology and scope. What remains missing is how this tool relates to the impurity-threshold and residual-solvent siblings, a minor gap for a self-contained Q3D calculator.

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 the schema already explains route-to-PDE mapping, the four options, the 0.30 default, and component masses. The description only restates the 30% threshold and the CTCL rule, which the schema also encodes, so it adds little parameter meaning beyond the structured fields. Baseline 3 applies.

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 domain operation (ICH Q3D component-approach risk assessment for elemental impurities) and enumerates the concrete outputs: element selection, PDEs, permitted concentrations, intake-vs-PDE comparison, the 30% threshold, and driving components. An agent can tell this is an assessment/calculation tool rather than a lookup. It stops short of 5 because it never distinguishes itself from the plausible sibling cmc_impurity_thresholds.

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 framing (elemental impurity risk per Q3D, with option1/2a/2b/3 approaches), but the description itself gives no explicit when-to-use, when-not, or alternative routing. The decision guidance lives entirely in the option parameter's schema description, so an agent must open the schema to know which mode applies.

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