Skip to main content
Glama

evaluate_arabic_clinical_asr_safety

Evaluate Arabic clinical ASR safety by computing normalized WER/CER and flagging high-risk hallucinations such as dosage errors, laterality swaps, and negation flips.

Instructions

Compute normalized Arabic WER/CER and detect lethal clinical/financial ASR hallucinations (dosage numbers, right/left laterality, negation flips).

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": {
      "reference": "<reference>",
      "hypothesis": "<hypothesis>"
    },
    "name": "evaluate_arabic_clinical_asr_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
referenceYes
hypothesisYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral value by disclosing normalization and the specific lethal-error classes it flags, which is more than a generic 'evaluate' label. It omits material behavior for a scorer: which Arabic normalization rules apply, whether any severity threshold exists, whether results are deterministic, and what the response contains.

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 the computation first and the detection categories second, with zero filler. Parenthetical examples do real work by naming the failure modes rather than padding the sentence.

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

Completeness2/5

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

There is no output schema and no annotations, so the description is the only source of behavior, yet it never says what comes back — normalized strings, WER/CER numerics, per-segment flags, or pass/fail verdicts. For a tool that both scores and flags safety-critical hallucinations, that return-shape gap is significant. Input expectations and normalization scope are likewise unaddressed.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does not. 'Reference' and 'hypothesis' are only implied by WER/CER terminology; nothing states that they are raw text strings, what normalization they should be in, whether diacritics or tatweel are tolerated, or whether segmentation must match. The required 2-of-2 parameters are therefore left semantically underspecified.

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?

The description uses specific verbs and resources: it computes normalized Arabic WER/CER and detects hallucinations in named categories (dosage numbers, laterality, negation flips). That is far more precise than a restatement of the name. It stops short of stating how it relates to the nearby Arabic ASR text sibling, so an agent must infer the boundary between scoring and subtitle auditing.

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 implied by the stated domain (clinical/financial ASR) and by the metric names, which signal an evaluation/QA step on reference-vs-hypothesis text. There is no explicit when-to-use, no when-not-to-use, and no routing to alternatives such as the subtitle audit tool. Nothing states prerequisites, e.g., that both strings should already be text transcripts at comparable segmentation.

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