Skip to main content
Glama

medical.has_bled

Read-onlyIdempotent

Calculates the HAS-BLED bleeding risk score for anticoagulation patients from nine boolean factors, returning a 0–9 total and low or high risk level to support clinical judgment.

Instructions

항응고 치료 환자의 주요 출혈 위험 점수 HAS-BLED를 계산한다. H=고혈압, A=신장 또는 간 기능 이상(각 1점), S=뇌졸중, B=출혈력, L=불안정 INR, E=고령(65세 초과), D=약물 또는 음주(각 1점). 총 0~9점이며 risk_level은 2점 이하 low, 3점 이상 high. 아홉 항목을 모두 bool로 넣어야 하며 기본값이 없다. 판단 보조용이다.

Input Schema

NameRequiredDescriptionDefault
drugsYes
strokeYes
alcoholYes
elderlyYes
labile_inrYes
hypertensionYes
abnormal_liverYes
abnormal_renalYes
bleeding_historyYes

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed-world read, so no safety disclosure is needed; the description adds genuinely non-obvious behavior — the 0–9 point range and the risk_level cutoffs (≤2 low, ≥3 high) — plus the hard requirement that all nine booleans be supplied with no defaults.

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?

One compact paragraph, purpose front-loaded, then scoring rules, then thresholds, then the input constraint, then the caveat. No filler sentences.

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?

Return values are covered by the output schema, and the description still supplies the interpretation thresholds an agent needs to explain results. With 9 required params at 0% schema coverage, nothing material is missing for correct invocation.

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 coverage is 0% (only bare titles like 'Labile Inr'), so the description carries the full load and does: it maps every factor to its letter, notes that renal and liver each score 1, that drugs and alcohol each score 1, that elderly means >65, and that all nine are required with no defaults.

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?

States a specific verb and resource: calculating the HAS-BLED major-bleeding risk score in anticoagulated patients, and it spells out the acronym so the agent knows what each factor is. It does not differentiate itself from the sibling medical.cha2ds2_vasc, which an agent may see as a competing bleeding/stroke risk score.

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?

The clinical population (anticoagulated patients) is stated and '판단 보조용이다' signals decision-support rather than definitive diagnosis, but there is no explicit when-to-use/when-not or routing against cha2ds2_vasc or framingham_cvd_10y.

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