Skip to main content
Glama

HebrewCore by baba Hebrew

Translate clinical English to verified Hebrew

clinical_translate

Translate a complete English clinical text (a discharge summary, patient instructions, a visit note, a model's answer) into Israeli medical Hebrew for a clinician or a patient. Drug names, doses, lab values, units, ICD-10 codes, clinical abbreviations, identifiers and every number are kept exactly; every sentence is checked for numbers, negation and laterality and reviewed for meaning. A sentence that fails is retried, then returned in English with status fallback: unverified Hebrew is never returned. Treat fallback sentences as untranslated.

audience: clinician (default, keeps BID/PO shorthand) or patient (plain words). Pass the patient's medication and problem lists as protected_terms, names as redact_terms (hidden from the model), reader_gender and patient_gender when known, and date_order (US records are MDY). Counts 3× toward the monthly character quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bidiNo`isolate` wraps English values in Unicode isolates so "5 mg" never renders as "mg 5". `none` returns plain text.isolate
textYesEnglish text, 1 to 20,000 characters. Markdown lists, headings and tables keep their structure. Counts toward the monthly character quota.
audienceNoWho reads the Hebrew. `clinician` (default) keeps shorthand such as BID and PO; `patient` writes dosing shorthand (BID, PRN) as plain words.clinician
glossaryNoEnglish term → required Hebrew rendering. Up to 500 entries.
date_orderNoHow to read ambiguous numeric dates in the source. US records are MDY.MDY
date_styleNo`hebrew` writes "4 במרץ 2026"; `iso` writes 2026-03-04; `keep` leaves unambiguous dates as written (an ambiguous one is still rewritten). A two-digit year is kept as written.hebrew
redact_termsNoKept verbatim and never shown to the model (patient and staff names). Up to 200.
reader_genderNoGender of the reader, the person the text calls "you". Omit when unknown.
patient_genderNoGender of the patient in third-person references. Inferred from he/she when omitted.
protected_termsNoKept verbatim. Pass the patient's medication and problem lists from the record. Up to 500, each up to 200 characters. Added to the account terms list for this request.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoRequest identifier.
textNoThe whole Hebrew document: every segment joined with its prefix and suffix.
statsNo
usageNo
segmentsNoOne entry per sentence, in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description goes far beyond the generic annotations by disclosing exact preservation of drugs, doses, lab values, and codes; the verification of numbers, negation, and laterality; the fallback behavior with status `fallback`; and the policy that unverified Hebrew is never returned. It also reveals quota counting and redaction behavior, which annotations do not convey.

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?

The description is dense but well organized, with purpose front-loaded, followed by behavioral guarantees and parameter guidance. Every sentence adds information not already present in the schema or annotations, and code formatting keeps parameter references scannable.

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 complex 10-parameter tool, the description covers the essential behavioral contract: fallback handling, exact preservation, audience modes, privacy via redaction, date interpretation, and quota impact. Since an output schema exists, the description does not need to explain return values, and nothing critical for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful guidance beyond the schema: how to use protected_terms, redact_terms, reader_gender, patient_gender, and date_order in context. It also clarifies the audience parameter's practical effect on shorthand like BID and PO.

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 states a specific verb and resource: translating complete English clinical text into verified Israeli medical Hebrew, with explicit examples of acceptable inputs. The 'verified' qualifier and clinical focus clearly distinguish it from generic siblings like translate and translate_batch.

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 gives clear context for when to use the tool: for discharge summaries, patient instructions, visit notes, or model answers, with audience selection between clinician and patient. It does not explicitly name alternatives or state when not to use it, but the intended use is well implied.

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.