Skip to main content
Glama

Revisar una etiqueta contra las NOMs

revisar_etiqueta

Revisa 1 a 5 fotos de la etiqueta de un producto contra las NOMs mexicanas de etiquetado (050, 051, 004, 015, 024, 141, 142, 189, 020): NOMs aplicables, requisito por requisito, score de cumplimiento 0-100, hallazgos con el texto corregido listo para imprimir y sellos NOM-051. Fotos en base64 (JPG, PNG o WebP, hasta 10 MB c/u). Tarda 1-2 minutos y descuenta 1 revisión de etiqueta del saldo (se devuelve si falla).

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": {
      "descripcion_producto": "<descripcion_producto>",
      "imagenes": "<imagenes>"
    },
    "name": "revisar_etiqueta"
  }
}

Input Schema

NameRequiredDescriptionDefault
fraccionNoFracción arancelaria si la conoce (XXXX.XX.XX).
imagenesYes
descripcion_productoYesQué es el producto (3-500 caracteres).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the generic safety profile (not read-only, non-destructive, non-idempotent); the description adds the behavior that actually matters: a 1-2 minute latency, a balance deduction of one label review, and the refund-on-failure policy. Accepted formats (JPG, PNG, WebP) and a 10 MB per-image cap further reduce ambiguity, though it is silent on what happens with invalid or unreadable images.

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?

Front-loaded with the core action and scope, then layered with output contents, input constraints, and cost/time in descending order of importance — no filler sentences. The parenthetical list of nine NOM numbers is dense but is genuinely load-bearing scope information for this task.

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?

There is no output schema, yet the description fully specifies the return shape: applicable NOMs, per-requirement findings, a 0-100 compliance score, corrected print-ready text, and NOM-051 seals. Combined with input limits, latency, and cost, an agent has everything needed to call it and set expectations for the user.

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

Parameters4/5

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

Schema coverage is 67%, and the description fills the most operationally important gap by stating '1 a 5 fotos' and the per-image format and size limits, which the schema only partially expresses via maxItems. The fraccion and descripcion_producto parameters are left entirely to the schema, but those are already documented there.

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?

Names a specific verb (revisa) and resource (etiqueta de un producto) and scopes it precisely to the Mexican labeling NOMs, going so far as to enumerate the standards (050, 051, 004...). It also states exactly what comes back (requisito por requisito, score 0-100, hallazgos con texto corregido, sellos NOM-051), which lets an agent separate it from siblings like revisar_certificado or clasificar_producto without opening a schema.

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?

Gives practical decision context — 1 to 5 photos, 1-2 minute runtime, and that a label review is deducted from the balance and refunded on failure — which helps an agent judge cost before calling. However, it never states when to prefer this over alternatives such as revisar_certificado or campos_minimos, nor any prerequisites like sufficient saldo or valid product description.

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