Skip to main content
Glama

chem_solution

Read-only

Solution and dilution calculator — Lab prep math: give formula (or molar_mass) plus two of mass_g, volume_ml, molarity and get the third, with moles, % w/v, g/L and prep instructions (hydrates supported, e.g. CuSO4.5H2O). Or mode=dilution with any three of c1, v1, c2, v2 (C1V1 = C2V2). 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": {
      "formula": "<formula>",
      "molarity": "<molarity>",
      "volume_ml": "<volume_ml>"
    },
    "name": "chem_solution"
  }
}

Input Schema

NameRequiredDescriptionDefault
formulaYese.g. NaCl
molarityYese.g. 0.5
volume_mlYese.g. 250

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, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds non-obvious behavior on top: hydrate support (e.g. CuSO4.5H2O), the returned quantities, and critically a paid invocation ('$0.002 USDC (Base, via x402)') — a cost/auth trait an agent must know before calling. No contradiction with the annotations.

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?

Dense and front-loaded: purpose, input combinations, outputs, edge case (hydrates), then price — no filler sentences. It is slightly run-on, packing two modes and a pricing note into two lines, but every clause carries information an agent needs.

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?

There is no output schema, and the description compensates by naming the returned values (moles, % w/v, g/L, prep instructions) and the cost. But for a dual-mode, formula-driven calculator the description advertises an interface (mode=dilution, mass_g, c1..v2) that the three-required-parameter schema cannot express, leaving the agent unable to reconcile what it reads with what it can actually send.

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, and the description does add genuine semantics: which combinations of two inputs yield the third, and that hydrate formulas are accepted. However it also describes parameters that do not exist in the schema (molar_mass, mass_g, mode, c1/v1/c2/v2), which actively misleads an agent about what can be passed, offsetting the value added.

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?

Opens with a specific verb+resource ('Solution and dilution calculator — Lab prep math') and names the exact outputs (moles, % w/v, g/L, prep instructions), which clearly separates it from siblings like chem_molar_mass or chem_compound. The only deduction is that it presents two modes and a parameter set that the actual schema does not expose, so an agent cannot be fully certain which behavior it will get.

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?

Gives concrete input recipes: 'give formula (or molar_mass) plus two of mass_g, volume_ml, molarity and get the third' and 'Or mode=dilution with any three of c1, v1, c2, v2'. That is real when-to-use guidance for the two modes, but it offers no routing guidance against the sibling chemistry tools and the described modes are not selectable through the schema.

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