Skip to main content
Glama

Código Soundex

soundex
Read-onlyIdempotent

Calcula el código fonético Soundex (americano) de cada palabra, para nombres que suenan igual en inglés. Cuándo: hay que transformar, comparar o medir un texto con exactitud y no por aproximación. No para: calcular la similitud Jaro y Jaro-Winkler (jaro-winkler). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Computes the American Soundex phonetic code (letter + 3 digits, with the H/W rule) of each word, for matching names that sound alike in English. When: text has to be transformed, compared or measured exactly instead of approximated. Not for: computing the Jaro and Jaro-Winkler similarity (jaro-winkler). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.

Input Schema

NameRequiredDescriptionDefault
textYesName(s) (string; required; up to 4096 chars).

Output Schema

NameRequiredDescriptionDefault
codesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text / examples
      Added value: +[
      +  "Robert Rupert"
      +]
  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 declare readOnly/idempotent/non-destructive/no-network, and the description repeats some of that, but it goes further with hard operational limits (64 KB input, 1 s per call, 1 MB result) and an explicit determinism guarantee, which annotations cannot express. Minor redundancy with the safety hints keeps it from a 5.

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?

Content is front-loaded (what it is, then when/not-for, then behavior and limits) and every clause is substantive. The cost is that the entire block is duplicated verbatim in Spanish and English, roughly doubling length without adding information.

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

Completeness5/5

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

For a single-parameter, read-only, deterministic tool with an existing output schema, nothing an agent needs is missing: algorithm variant, applicability, exclusion, side-effect profile, determinism, and size/time limits are all present.

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 coverage is 100% and the single `text` parameter is fully documented, so the baseline is 3. The description does add the useful point that the code is computed per word ("de cada palabra"), which implies tokenization behavior not visible in the schema, but it adds no format or edge-case guidance for the parameter.

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 and resource ("Computes the American Soundex phonetic code (letter + 3 digits, with the H/W rule) of each word") and even names the algorithm variant and output shape. It explicitly scopes itself to English name matching, which separates it from the many other text tools in the sibling list.

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?

Gives an explicit "When:" clause and an explicit "Not for:" clause pointing to the sibling jaro-winkler. The positive condition is somewhat generic ("transformed, compared or measured exactly") and doesn't say when Soundex beats, e.g., levenshtein-distance, but the named exclusion is a concrete routing signal.

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