Skip to main content
Glama

chem_concentration

Read-only

Solution concentration converter — Convert one solution concentration into every common unit: molarity (M, mM, uM), molality (mol/kg), mass percent (w/w), percent w/v, ppm and ppb by mass, mg/L, g/L, mole fraction and mol%. Give value + from unit + solute formula (molar mass computed from IUPAC weights) or mw=, and density= of the solution in g/mL (assumed 1.000 with a warning if omitted). Optional solvent= formula or solvent_mw= (default water). Returns grams and moles per liter of solution plus all conversions. Offline, instant. Price: $0.002 USDC (Base, via x402).

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": {
      "value": "<value>",
      "from": "<from>",
      "solute": "<solute>",
      "density": "<density>"
    },
    "name": "chem_concentration"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYese.g. wt%
valueYese.g. 37
soluteYese.g. HCl
densityYese.g. 1.19

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description still adds real value: a default density of 1.000 with an explicit warning, molar masses computed from IUPAC weights, an optional solvent defaulting to water, and the returned quantities (g/L and mol/L of solution). It also discloses cost ($0.002 USDC via x402) and 'offline, instant' execution, which are behavioral facts the annotations do not carry.

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?

It is a single dense paragraph that front-loads purpose and unit coverage before moving to inputs, defaults, and return values. The long unit enumeration and the pricing sentence are justified but make it heavier than necessary.

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

Completeness3/5

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

With no output schema, the description correctly explains what comes back (grams and moles per liter plus all conversions), so that burden is covered. However, it leaves a real inconsistency around density (required in schema, defaulted in prose) and references parameters absent from the schema, which could mislead an agent composing the call.

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 coverage is 100%, so the baseline is 3. The description does add interpretive detail (density in g/mL, solute formula vs mw=, solvent_mw=), but it also advertises inputs (mw=, solvent=, solvent_mw=) that do not exist in the schema and calls density optional-with-default when the schema marks it required, which muddies rather than sharpens parameter semantics.

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 opens with a specific verb and resource ('Convert one solution concentration into every common unit') and enumerates the unit families covered, so an agent knows exactly what it produces. It does not distinguish itself from near-neighbors such as chem_solution or chem_molar_mass, so sibling differentiation is left to inference.

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?

It spells out the required inputs (value + from unit + solute formula, or mw=, plus density) and the optional solvent override, which gives an agent a concrete calling recipe. It never states when to prefer this over chem_solution or chem_molar_mass, so there is no explicit when-not guidance.

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