Skip to main content
Glama

ONDA: traducir entre protocolos de agentes

onda-traducir
Read-onlyIdempotent

Recibe un Agent Card A2A, server.json/tools de MCP, OpenAPI/Swagger, manifiesto de pago x402, llms.txt o una descripción en texto (es/en/pt; JSON roto se repara) y devuelve las traducciones A2A, MCP, OpenAPI y x402, ejemplos de llamada y cada supuesto. Cuándo: un agente, servidor o API está descrito en un protocolo (A2A, MCP, OpenAPI, x402, llms.txt o texto) y se necesita la misma descripción en los demás. No para: convertir una definición de herramienta entre los formatos MCP, OpenAI (tool-definition-convert). 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: Accepts an A2A Agent Card, MCP server.json/tools, OpenAPI/Swagger, x402 payment manifest, llms.txt or a plain es/en/pt description (JSON string or object, broken JSON repaired) and returns A2A, MCP, OpenAPI and x402 translations, call examples… [EN completo / full EN: inputSchema.description]

Input Schema

NameRequiredDescriptionDefault
inputYesThe document: JSON object or text (Agent Card, server.json, tools/list, OpenAPI, x402 body, llms.txt or a description) (any JSON value; required).
idiomaNoLanguage for notes: es, en or pt (default: detected from the input) (optional; one of: es, en, pt).

Output Schema

NameRequiredDescriptionDefault
notasNo
idiomaNo
detectadoNo
supuestosNo
utilizableNo
procedenciaNo
reparacionesNo
traduccionesNo
como_hablarleNo
siguiente_pasoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / input / examples
      Added value: +[
      +  "https://agente.example/.well-known/agent-card.json"
      +]
  2. Changed1 schema field changed
    • addedInput schema / description
      Added value: +"EN: Accepts an A2A Agent Card, MCP server.json/tools, OpenAPI/Swagger, x402 payment manifest, llms.txt or a plain es/en/pt description (JSON string or object, broken JSON repaired) and returns A2A, MCP, OpenAPI and x402 translations, call examples and every assumption. When: an agent, server or API is described in one protocol (A2A, MCP, OpenAPI, x402, llms.txt or plain text) and the same description is needed in the others. Not for: converting a tool definition (tool-definition-convert). 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."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavioral detail beyond the annotations: broken JSON is repaired rather than rejected, output is deterministic, and hard limits are disclosed (64 KB input, 1 s per call, 1 MB result). Some of the 'sin red / sin estado / solo lectura' phrasing restates openWorldHint=false, readOnlyHint=true and idempotentHint=true, which the annotations already carry, so it is not purely additive.

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?

Strongly front-loaded and labeled (Cuándo / No para / Efectos secundarios / Determinista / Límites), so an agent can scan it quickly. It loses a point for being bilingual-duplicated: the same content appears in Spanish and again as an EN block that is then re-embedded verbatim in the schema description.

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?

Given a 2-parameter tool with an output schema, four annotations and full schema coverage, the description covers everything an agent needs: accepted inputs, produced outputs, scope exclusions, side effects, determinism and size/time limits. Nothing material is left to inference.

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 the schema already documents 'input' (any JSON value, string or object) and the 'idioma' enum with its auto-detect default. The description restates the same facts (texto/JSON roto se repara, es/en/pt) without adding format or syntax guidance beyond the schema, 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 (traducir/recibe...devuelve) and resource (descripciones de agentes/API entre protocolos), and enumerates the exact input formats (Agent Card A2A, server.json/tools MCP, OpenAPI/Swagger, x402, llms.txt, texto) and the four outputs produced. It explicitly distinguishes itself from the nearest sibling, tool-definition-convert, so an agent can route correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Contains an explicit 'Cuándo:' clause naming the triggering condition (the description exists in one protocol and is needed in the others) and a 'No para:' exclusion that names the alternative tool and its scope. Both when-to-use and when-not-to-use are covered with no inference required.

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