Skip to main content
Glama

reference-calculators

calculate_solution_concentration

Read-onlyIdempotent

Calculate solution concentration in mg/mL and mcg/mL from supplied solute mass (mg) and final solution volume (mL). Educational math only; does not recommend a substance or dose.

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": {
      "mass_mg": "<mass_mg>",
      "volume_ml": "<volume_ml>"
    },
    "name": "calculate_solution_concentration"
  }
}

Input Schema

NameRequiredDescriptionDefault
mass_mgYesSolute mass in milligrams (positive number).
volume_mlYesFinal solution volume in milliliters (positive number).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety behavior is covered. The description adds a genuine scope limitation (educational math, no substance or dose recommendation), which is useful context beyond the annotations. However, it says nothing about behavior on invalid or zero-volume input or about numeric precision, so it adds only modest behavioral detail.

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?

Two tight sentences, front-loaded with what the tool computes and followed by the scope disclaimer. No filler, no repetition of the title, and every clause carries information.

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?

For a two-parameter deterministic conversion, the definition covers inputs, output units, and use limitations, with annotations carrying the safety profile and no output schema requiring explanation. The only small gap is numeric precision/rounding behavior, which an agent might want to know before reporting results.

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%, with both parameters documented as positive numbers in mg and mL. The description restates the same units and roles for mass and volume without adding format, range, or edge-case semantics beyond the schema, so the baseline of 3 applies.

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 names a specific verb (calculate), a specific resource (solution concentration), both output units (mg/mL and mcg/mL), and both required inputs with units. An agent can tell exactly what this tool computes and distinguish it from sibling calculators without opening the schema.

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 clearly scopes use with 'Educational math only; does not recommend a substance or dose,' which tells the agent when the tool's output is and is not appropriate. It stops short of explicitly routing to any alternative tool for dosing or other calculations, so there is no stated when-to-use-this-versus-that 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