Skip to main content
Glama

Normalizar teléfono argentino

normalizar_telefono_ar
Read-onlyIdempotent

Toma un teléfono argentino escrito de cualquier forma (con 0, con 15, con +54, con espacios o guiones) y devuelve el formato E.164, el formato para WhatsApp, el formato nacional y si es celular o fijo. Solo números de Argentina; no verifica que la línea exista ni que tenga WhatsApp. Costo: gratis.

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": "normalizar_telefono_ar"
  }
}

Input Schema

NameRequiredDescriptionDefault
telefonoYesTeléfono, ej. 011 15 2345-6789 o +54 9 11 2345 6789

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the bar is lower; the description adds genuinely new facts: it is free, it does not validate the line or WhatsApp presence, and it classifies mobile vs landline. It stops short of disclosing failure behavior for malformed input or non-Argentine numbers, which is the one trait an agent would still want.

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?

Three tight sentences with zero filler: capability and accepted inputs first, outputs second, scope limitations third. The cost note is one clause and earns its place for an agent deciding whether to call.

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?

There is no output schema, so the description correctly carries the return-value burden by naming all four outputs. Combined with 100% schema coverage and rich annotations, only error/edge-case behavior for unparseable input is left unstated.

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?

With one required parameter at 100% schema description coverage, the schema already documents the field and gives two examples. The description's list of tolerated formats (leading 0, 15, +54, spaces, hyphens) usefully widens that, but it is largely a restatement of the same idea rather than new per-parameter meaning, so the baseline 3 applies.

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 (normalizar/tomar) and a specific resource (teléfono argentino), then enumerates both the accepted input variations (0, 15, +54, espacios, guiones) and the exact outputs returned (E.164, WhatsApp, nacional, celular/fijo). No sibling in the list touches phone numbers, so there is no ambiguity about which tool handles this.

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?

Explicitly scopes the tool to Argentine numbers only and states what it will not do — no line-existence or WhatsApp check — which effectively tells an agent when to look elsewhere. It lacks an explicit 'when to use this instead of X' since no comparable sibling exists, and says nothing about how invalid or non-AR input is handled.

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.

Resources