Skip to main content
Glama

reference-calculators

calculate_free_testosterone

Read-onlyIdempotent

Calculate estimated free and bioavailable testosterone using the published Vermeulen et al. (1999) equation from total testosterone, SHBG, and albumin.

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": {
      "total_testosterone": "<total_testosterone>",
      "shbg_nmol_l": "<shbg_nmol_l>"
    },
    "name": "calculate_free_testosterone"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit for total_testosterone (default ng/dL).
albumin_g_lNoAlbumin in g/L (optional; defaults to 43 g/L).
shbg_nmol_lYesSHBG in nmol/L (non-negative).
total_testosteroneYesTotal testosterone value (positive number).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds meaningful behavioral context beyond that by disclosing that the result is an ESTIMATE derived from a specific published equation rather than a measurement, which affects how the agent should present results. It stops short of stating accuracy limits or that the albumin default (43 g/L) is assumed when omitted.

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?

A single front-loaded sentence with no filler: verb, method, inputs, and output all appear immediately. Nothing could be removed without losing 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 four-parameter, deterministic computation tool with full schema coverage, the description tells the agent what is computed and by what method. The main remaining gap is the shape/units of the returned values (free and bioavailable testosterone concentrations vs percentages), since no output schema exists to carry that.

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 parameters are already fully documented, including units, defaults, and non-negativity constraints. The description only restates the three physiological inputs and mentions nothing extra such as unit conversion behavior or what happens if units are mixed. Baseline 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?

States a specific verb (calculate) and a specific resource (estimated free and bioavailable testosterone), and names the exact method (Vermeulen et al. 1999) plus the three inputs used. Nothing about it could be confused with the unrelated siblings (solution concentration, product catalog, search tools).

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?

Usage is only implied: an agent infers it should call this when it has total testosterone, SHBG, and optionally albumin. There is no explicit when-to-use versus when-not-to-use guidance, no statement that measured free testosterone by equilibrium dialysis is the alternative, and no note about required prerequisite lab values.

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