Skip to main content
Glama
nbrain-clinical-mena-mcp

nbrain-clinical-mena-mcp

Official

normalize_mena_phone_e164

Normalizes Arabic and Latin phone numbers from 18 Arab countries into ITU-T E.164 format and detects mobile carrier, enabling consistent contact data.

Instructions

Normalizes Arabic/Latin phone numbers across 18 Arab countries into ITU-T E.164 with MNO carrier detection.

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": {
      "phone": "<phone>"
    },
    "name": "normalize_mena_phone_e164"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYes
default_countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the output standard (E.164) and a side capability (carrier detection). However, it says nothing about invalid/unparseable input behavior, ambiguous numbers, or whether carrier detection can be absent from the result.

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 dense sentence that front-loads the verb and resource, then layers scope, output standard, and bonus capability. Nothing is redundant or padded.

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

Completeness3/5

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

For a two-parameter, no-annotation, no-output-schema tool, the definition covers purpose and output format well but leaves the parameter contract and failure behavior unspecified. It is adequate to identify the tool but thin for invoking it confidently on edge-case inputs.

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 largely does not: 'default_country' is never mentioned, and the accepted format of 'phone' is only hinted at via 'Arabic/Latin'. An agent gets no signal about country-code format, digit normalization expectations, or what happens when default_country is omitted.

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 (normalizes), a specific resource (Arabic/Latin phone numbers), the scope (18 Arab countries), the output contract (ITU-T E.164) and an extra capability (MNO carrier detection). No sibling tool handles phone numbers, and the description makes that distinctness obvious without needing the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no guidance on the key decision an agent faces: when to supply default_country versus relying on an internationally formatted number. Usage is only implied by the verb 'normalizes'.

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