Skip to main content
Glama

medical.qtc_framingham

Read-onlyIdempotent

Calculates corrected QT interval using the Framingham linear formula from QT and RR inputs in milliseconds or seconds, returning precise Decimal results without rounding.

Instructions

Framingham 선형 공식으로 QT 간격을 보정한다. QTc = QT + 0.154 * (1 - RR_초). qt와 rr은 Decimal 문자열이며 unit='ms'(기본) 또는 's'로 둘 다 같은 단위로 넣고, 내부에서 초로 환산해 계산한 뒤 입력 단위로 돌려준다. Decimal 정확 연산이며 반올림하지 않는다. RR을 심박수(bpm)로 넣으면 안 된다.

Input Schema

NameRequiredDescriptionDefault
qtYes
rrYes
unitNoms

Output Schema

NameRequiredDescriptionDefault
qtcYes
unitYes
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds real behavior beyond that: exact Decimal arithmetic, no rounding, internal conversion to seconds, and results returned in the caller's input unit. The only gap is that it does not state what the output payload looks like, which the output schema covers anyway.

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?

Four tight sentences, front-loaded with the formula, then parameter contract, then numeric semantics, then the critical misuse warning. No filler and nothing repeated from the schema titles.

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

Completeness5/5

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

For a small deterministic calculator with three params, full annotations, and an output schema, this covers everything an agent needs: the math, the unit contract, precision behavior, and the one classic input mistake. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full load and does: qt and rr are Decimal strings, unit accepts 'ms' (default) or 's', both inputs must share the same unit, and rr must not be a bpm value. All three parameters are given meaning that the schema alone does not provide.

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?

Names a specific computational act and the exact formula variant ('Framingham 선형 공식', QTc = QT + 0.154 * (1 - RR_초)), which is precisely what distinguishes it from the sibling qtc_bazett/fridericia/hodges tools. An agent can pick the right QTc correction without opening any 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?

Gives concrete usage context: both values must be in the same unit, unit is 'ms' by default or 's', and explicitly forbids passing RR as a heart rate in bpm. It stops short of naming the alternative QTc formulas as fallbacks, so tool-choice guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools