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

nbrain-clinical-mena-mcp

Official

optimize_sms_gsm7_segments

Calculates GSM-7 versus UCS-2 SMS billing segments and sanitizes smart quotes to GSM-7, helping estimate segment counts and reduce encoding costs.

Instructions

Calculates 3GPP TS 23.038 GSM-7 vs UCS-2 SMS billing segments and rescues smart-quote texts back to GSM-7.

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": {
      "text": "<text>"
    },
    "name": "optimize_sms_gsm7_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
sanitizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It never says whether the calculation is read-only, whether 'rescue' means the returned text is altered or only measured, what the output looks like (segment counts? converted text?), or how the two behaviors relate. 'Rescues' hints at transformation but stays metaphorical rather than specifying what changes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tightly written sentence with the primary function front-loaded and the secondary behavior following. No filler, though the density of standards jargon slightly reduces first-pass readability.

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?

No output schema and no annotations, so the description must explain return values and behavior, and it does neither. For a two-mode tool (segment counting plus smart-quote conversion) with an undocumented boolean switch, an agent lacks the information needed to call it confidently.

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 coverage is 0% for two parameters. The description never mentions 'text' or 'sanitize'; the implied rescue behavior is the only clue to what 'sanitize' controls, and that link is never made explicit. An agent cannot tell whether sanitize=true converts the text or just reports the savings.

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 ('calculates') and a specific resource ('GSM-7 vs UCS-2 SMS billing segments'), with a standards citation that pins down the calculation. The 'rescues smart-quote texts back to GSM-7' clause adds a second, distinct capability. It's clear enough to distinguish from the lab/geo/telecom-conversion siblings, though the jargon-packed phrasing takes a careful read.

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 explicit when-to-use guidance, no prerequisites, and no named alternative among the siblings. The agent has to infer that this is the tool for SMS segment counting from the name and description alone.

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