Skip to main content
Glama

Teléfono y enlace de WhatsApp

telefono_whatsapp

Normalize a Guatemalan +502 phone number, detect mobile vs. landline, and create a wa.me link with an optional WhatsApp message.

Instructions

Normaliza un teléfono de Guatemala (+502), indica si es móvil o fijo y genera un enlace wa.me con mensaje opcional.

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": {
      "telefono": "<telefono>"
    },
    "name": "telefono_whatsapp"
  }
}

Input Schema

NameRequiredDescriptionDefault
mensajeNoMensaje prellenado para WhatsApp
telefonoYesTeléfono, p. ej. '5555 1234' o '+502 5555-1234'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 three observable behaviors (normalization to +502, móvil/fijo classification, link generation). It says nothing about failure behavior for invalid or foreign numbers, whether it errors or just passes the input through, or what the returned structure looks like. Reasonable but incomplete disclosure for a zero-annotation tool.

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 well-formed sentence that front-loads the core action (normalization) before the derived outputs. No filler or repetition. It could have been split to surface the link-generation result more prominently, but nothing is wasted.

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

Completeness4/5

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

For a two-parameter, no-output-schema utility, the description covers what the tool does and what it produces (classification plus wa.me link). The main gap is edge-case behavior for malformed or non-Guatemalan input, which a caller would want to know before invoking.

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

Parameters3/5

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

Schema description coverage is 100% and both parameters are documented, so the baseline is 3. The description only adds that the message is optional ('mensaje opcional') and that the phone is Guatemalan, both of which are effectively already conveyed by the schema and title. No added syntax or format detail beyond the example already in the schema.

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 specific verbs and resources: normalizes a Guatemalan (+502) phone number, classifies it as móvil or fijo, and produces a wa.me link. An agent can tell exactly what the tool returns. It does not differentiate itself from siblings, though the sibling list (validar_cui, calcular_iva, monto_en_letras) covers unrelated domains, so confusion risk is low.

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 only implied by the Guatemala (+502) constraint and the wa.me output; there is no explicit statement of when to prefer this tool or when not to use it. No prerequisites, no note about what to do with non-Guatemalan numbers. Adequate for a narrow utility but no real routing guidance.

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