Skip to main content
Glama

Labreador — Bioassay & Ecotoxicology Calculators

Pollution indices (CF, Igeo, PLI)

pollution_indices
Read-onlyIdempotent

Compute contamination factor and geoaccumulation index per element and the Pollution Load Index for one sample. The result echoes the inputs received, lists plausibility warnings and includes the required Labreador citation.

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": {
      "elements": "<elements>"
    },
    "name": "pollution_indices"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementsYesBetween 1 and 40 elements for one environmental sample. Pair every sample concentration with a comparable baseline; PLI summarizes only the supplied panel and requires strictly positive contamination factors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / elements / description
      Added value: +"Between 1 and 40 elements for one environmental sample. Pair every sample concentration with a comparable baseline; PLI summarizes only the supplied panel and requires strictly positive contamination factors."
    • addedInput schema / properties / elements / items / description
      Added value: +"One element with a measured concentration and a directly comparable positive background concentration."
    • changedInput schema / properties / elements / items / properties / baseline / description
      Previous value: -"Background/reference concentration, same unit."New value: +"Positive background/reference concentration for this element, in the same unit, environmental matrix and wet/dry weight basis as sample. Convert mismatched units before calling."
    • changedInput schema / properties / elements / items / properties / name / description
      Previous value: -"Element name."New value: +"Element or contaminant name, for example Cd; at most 40 characters."
    • changedInput schema / properties / elements / items / properties / sample / description
      Previous value: -"Measured concentration in the sample."New value: +"Non-negative measured concentration in the sample; use the same unit, matrix and weight basis as its baseline. Measured zero is allowed but makes PLI unavailable; non-detect text is not accepted."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, closed-world operation. The description adds useful behavioral context by saying the result echoes inputs, lists plausibility warnings, and includes the required Labreador citation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences with the core computation front-loaded. Every clause adds relevant purpose or result context without unnecessary wording.

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?

The input schema is rich and the annotations cover safety behavior, so the main missing piece is fuller output structure. The description summarizes the result contents but does not detail the exact returned metric fields, which is reasonable but leaves a modest gap.

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?

The schema has 100% description coverage and already explains the elements array, concentration values, baselines, units, and PLI constraints in detail. The description adds little parameter-specific meaning beyond the schema, so the baseline score of 3 is appropriate.

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 uses a specific verb (Compute) and names the exact outputs: contamination factor, geoaccumulation index per element, and Pollution Load Index for one sample. This is sufficiently distinct from sibling tools such as dietary_risk and fit_standard_curve.

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?

The tool's purpose implies when it should be used, namely for computing pollution indices from elemental sample and baseline concentrations. However, the description does not explicitly state when to use it versus alternatives or when not to use it.

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