Skip to main content
Glama

calculate_peptide_measurement

Read-onlyIdempotent

Calculate concentration (mcg/mL), draw volume (mL), syringe scale markings, and complete portions from explicitly supplied vial mass (mg), liquid volume (mL), requested amount (mcg), and syringe units per mL. Educational math only; does not choose a substance, dose, or treatment.

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>",
      "requested_amount_mcg": "<requested_amount_mcg>",
      "scale_units_per_ml": "<scale_units_per_ml>"
    },
    "name": "calculate_peptide_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
mass_mgYesSupplied vial amount in milligrams (positive).
volume_mlYesSupplied liquid volume in milliliters (positive).
scale_units_per_mlYesSyringe scale units per mL (e.g. 100 for standard U-100 syringe).
requested_amount_mcgYesSupplied target amount in micrograms (positive, <= mass_mg * 1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior. The description adds meaningful context beyond them: the computation uses only explicitly supplied values and performs no substance/dose selection, so the agent knows the tool will not invent or infer parameters. It omits numeric precision and rounding of the reported markings, which would matter for a calculator.

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 dense sentences with zero filler: the first front-loads outputs then inputs, the second immediately bounds scope. 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.

Completeness4/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 compensates by enumerating the four returned values, which is sufficient for an agent to interpret results. Only minor gaps remain: rounding/precision behavior and handling of degenerate inputs (e.g. zero volume) are unstated, though the schema blocks the latter via positivity requirements.

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 each parameter's meaning, units, and positivity constraints are already documented, including the cross-field constraint (requested_amount_mcg <= mass_mg * 1000). The description restates the unit framing and maps inputs to outputs, which is useful orientation but adds no syntax or constraint detail beyond the schema.

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 opens with a specific verb 'Calculate' and enumerates the exact quantities produced (concentration in mcg/mL, draw volume in mL, syringe scale markings, complete portions) plus the four inputs consumed. An agent can tell immediately this is a deterministic math utility, distinct from the sibling directory/search/pricing tools.

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?

States an explicit boundary: 'Educational math only; does not choose a substance, dose, or treatment,' which tells the agent when the tool is out of scope for clinical or advisory questions. It does not name a substitute tool for substance/dose selection, so routing guidance is incomplete rather than absent.

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