RobotMCP
🤖 RobotMCP - Puente de automatización de pruebas impulsado por IA
Inglés sencillo entra, pruebas reales de Robot Framework salen — con un agente de IA encargándose del tecleo.
RobotMCP (rf-mcp) es un servidor de Model Context Protocol (MCP) que entrega a tu agente de codificación las llaves de Robot Framework. El agente descubre palabras clave, ejecuta pasos en vivo contra Browser, Selenium, Appium, Requests, una base de datos o el escritorio, ve lo que realmente sucede y — una vez que los pasos pasan — te escribe una suite .robot limpia. Nada de localizadores adivinados, ni palabras clave alucinadas, ni «en mi máquina funciona». Está construido sobre Robot Framework: open source y siempre en evolución.
¿Nuevo en rf-mcp? Salta a Primeros pasos. ¿Quieres ver el panorama completo? Consulta la referencia de herramientas MCP, la configuración y los ejemplos prácticos.
📺 Video Tutorial

Introducción
https://github.com/user-attachments/assets/ad89064f-cab3-4ae6-a4c4-5e8c241301a1
✨ Inicio rápido
Tres comandos y una frase. Esa es toda la configuración.
1️⃣ Instálalo como herramienta
¿Requisitos previos?
Instala Python +v3,12
Como administrador, instala en Powershell > winget install astral-sh.uv # Para habilitar los comandos de uv
Instala VScode y las extensiones (GitHub Copilot y haz el inicio de sesión) # Para habilitar las terminales de agente
Instala las extensiones de Vscode Material Icon theme, Save Typing, Dracula, Robocorp # Para habilitar Robot Framework
# Everything (Browser, Selenium, Appium, Requests, Database)
uv tool install "rf-mcp[all]"
# ...or just what you need — API testing is pure Python, nothing else to do:
uv tool install "rf-mcp[api]"Esto coloca un comando robotmcp en tu PATH. Los extras deciden qué librerías de prueba se incluyen — consulta la tabla de extras en Instalación.
2️⃣ Conéctalo a tu agente de codificación
robotmcp init # detects libraries, prints the MCP config to paste
robotmcp install # registers rf-mcp into the agents it findsrobotmcp install escribe la configuración MCP adecuada para Claude Code, Codex, GitHub Copilot, opencode, Gemini CLI, Kilo Code, goose, y Cursor — cada uno en su propio formato, sin tocar tus otros servidores. ¿Prefieres hacerlo a mano? Todos los agentes aceptan:
{ "mcpServers": { "robotmcp": { "command": "robotmcp" } } }{
"servers": {
"robotmcp": {
"type": "stdio",
"command": "uv",
"args": ["run", "-m", "robotmcp.server"],
"env": { "UV_COMPILE_BYTECODE": "1" }
}
}
}
UV_COMPILE_BYTECODE=1precompila el árbol de dependencias al instalarlo. Sin ello, el primer arranque del servidor tras una instalación/actualización se lleva varios segundos compilando.pycantes de que se complete el handshake de MCP (algunos clientes agotan el tiempo de espera y muestran el servidor como indispuesto). Es un coste único, en el momento de instalar.
HTTP
Inicia el servidor MCP con transporte HTTP:
uv run -m robotmcp.server --transport http --host 127.0.0.1 --port 8000A continuación, configura tu agente de IA:
{
"servers": {
"robotmcp": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Claude Code
claude mcp add rf-mcp -- uvx rf-mcp3️⃣ Empieza a probar — solo tienes que pedirlo
Use #robotmcp to create a TestSuite and execute it step wise.
Create a test for https://www.saucedemo.com/ that:
- Logs in to https://www.saucedemo.com/ with valid credentials
- Adds two items to cart
- Completes checkout process
- Verifies success message
Use Selenium Library.
Execute the test suite stepwise and build the final version afterwards.Eso es todo. rf-mcp guía al agente durante el descubrimiento, la ejecución en vivo y la generación de la suite — tú solo describas la prueba.
Related MCP server: robotframework-mcp
📚 Documentación
Guía | Qué contiene | |
Instalación, conexión con tu agente, ejecuta tu primer prueba | ||
Todas las herramientas que rf-mcp ofrece el agente — parámetros, valores de retorno, cuándo usarlas | ||
Todas las variables de entorno | ||
Recorre webs / API / móvil / escritorio / BDD / data-driven con ejemplos listos para copiar | ||
Enseña a rf-mcp tus propias librerías de Robot Framework | ||
Dirige el comportamiento del agente para cada proyecto | ** |
🛠️ Instalación
El inicio rápido cubre la ruta recomendada (uv tool install). Esta sección incluye la tabla de extras, y los métodos previos de instalación y el registro completo de agentes.
Extras
Los extras deciden qué librerías de Robot Framework se instalan:
Extra | Añade | Tras la instalación |
| RequestsLibrary | ninguna |
| SeleniumLibrary + Browser | Selenium: ninguna (el Driver Manager descarga el driver); Browser: |
| AppiumLibrary | Servidor Appium (externo) |
| DatabaseLibrary | un driver de base de datos |
| Plataforma de escritorio nativa PlatynUI (Windows/Linux) | Python >=3.12 |
| Panel de Django | — |
| Memoria semántica persistente (sqlite-vec + model2vec) |
|
| todas las librerías de Robot Framework anteriores (incluye | como arriba |
Browser Library también necesita los navegadores de Playwright — ejecuta robotmcp init --browsers (o rfbrowser init) una vez, dentro del propio entorno de rf-mcp. Node.js solo se necesita para Browser.
Otros métodos de instalación
pip install "rf-mcp[all]" # pip instead of uv
uv add "rf-mcp[all]" && uv sync # into an existing uv project
# From source (development)
git clone https://github.com/manykarim/rf-mcp.git && cd rf-mcp
uv sync --all-extras --devDocker
Imágenes preconstruidas (headless para CI, además de una imagen con VNC para depurarlo visualmente):
docker pull ghcr.io/manykarim/rf-mcp:latest # headless
docker run -p 8000:8000 -p 8001:8001 ghcr.io/manykarim/rf-mcp:latest # HTTP + frontend
docker run -it --rm ghcr.io/manykarim/rf-mcp:latest uv run robotmcp # STDIO
docker pull ghcr.io/manykarim/rf-mcp-vnc:latest # X11 desktop over VNC/noVNC
docker run -p 8000:8000 -p 8001:8001 -p 5900:5900 -p 6080:6080 ghcr.io/manykarim/rf-mcp-vnc:latestLa versión headless incluye Chromium, Firefox ESR y los navegadores de Playwright. Puertos VNC: 8000 (MCP HTTP), 8001 (frontend), 5900 (VNC), 6080 (noVNC — http://localhost:6080/vnc.html).
Registrar en los agentes de codificación
robotmcp list # supported agents + what's detected/registered
robotmcp install # interactive: registers into detected agents
robotmcp install --agents claude-code,codex,gemini
robotmcp install --agents all --scope user
robotmcp install --dry-run # show the plan, write nothing
robotmcp uninstall # safe, reversible removalAgentes admitidos (cada uno en su propio archivo/formato, conservando el resto de servidores MCP): Claude Code, OpenAI Codex, GitHub Copilot, opencode, Gemini CLI, Kilo Code, goose, Cursor (además de pi, marcada como planned hasta que se confirme su convención de configuración).
Usa el entorno del proyecto. Si instalas dentro de un proyecto que tiene su propio entorno establecido (uv, poetry, pdm, pipenv, rye, hatch, o simplemente un .venv), rf-mcp se conecta para ejecutarse contra ese entorno, de modo que ve las librerías, keywords y recursos de tu proyecto, no solo los que incorpora. Ejecuta el comando resuelto y verifica que tus librerías sean accesibles antes de crear la configuración; un comando incierto o roto se rechaza. Una instalación global con uvx (o uv tool) sigue servira cualquier proyecto sin configuración adicional por proyecto. Puedes apuntarlo a un directorio con -C <dir>, optar por instalar rf-mcp en el entorno del proyecto con --into-project, y ejecutar robotmcp doctor --project-dir <dir> para ver a cuáles de tus librerías llega el lanzamiento.
Alcance. Por defecto la instalación usa --scope project (escribe en el proyecto actual, p. ej. ./.mcp.json) cuando el agente lo admite; para un instalación global (en el directorio personal) usa --scope user. goose solo admite el ámbito de usuario; GitHub Copilot solo el proyecto.
Seguro y reversible. Cada cambio queda registrado en un manifiesto controlado por hash (~/.local/state/robotmcp/install-manifest.json). robotmcp uninstall quita solo las entradas que no han cambiado desde la instalación; una entrada modificada a mano se deja intacta y se informa de ello, y lo servidores no relacionados se dejan protegidos. ¿Prefieres editar la configuración tú mismo? Añade "mcp"Servers": { "robotmcp": { "command": "robotmcp" } } } no configure.
🔌 Library Plugins
Amplía RobotMCP con librerías personalizadas a través del sistema de plugins. Puedes elegir entre dos modos de descubrimiento:
Entry points (
robotmcp.library_plugins) para plugins empaquetados.Archivos de manifiesto (JSON) dentro de
.robotmcp/plugins/para anular configuraciones del espacio de trabajo.
Consulta la guía de creación de plugins de librería para las instrucciones completas y explora el plugin de ejemplo en examples/plugins/sample_plugin.
🖥️ Panel de frontend
RobotMCP incluye un panel opcional basado en Django que muestra lo que ocurre en las sesiones activas, con las palabras clave y el uso de herramientas.

Instala los extras del frontend
pip install rf-mcp[frontend]Inicia el servidor MCP con el frontend activado
uv run -m robotmcp.server --with-frontendURL por defecto: http://127.0.0.1:8001/
Ajustes rápidos:
--frontend-host,--frontend-port,--frontend-base-pathEquivalentes en variables de entorno:
ROBOTMCP_ENABLE_FRONTEND=1,ROBOTMCP_FRONTEND_HOST,ROBOTMCP_FRONTEND_PORT,ROBOTMCP_FRONTEND_BASE_PATH,ROBOTMCP_FRONTEND_DEBUG
Conecta tu cliente MCP (Cline, Claude Desktop, etc.) al mismo proceso del servidor: el panel transmitirá automáticamente los eventos en cuanto la sesión esté activa.
Para desactivar el panel en una ejecución concreta, omite la opción o pasa --without-frontend.
📋 Plantillas de instrucciones
RobotMCP envía instrucciones de nivel servidor a los LLMs a través de la respuesta initialize de MCP, para que detecten las palabras clave antes de ejecutarlas. Esto reduce muy significativamente las llamadas de herramienta fallidas y las tokens desperdiciadas, sobre todo en modelos más pequeños.
Configuración
Tres variables de entorno controlan el comportamiento de las instrucciones:
Variable | Valores | Y se envía por defecto |
|
|
|
|
|
|
| Ruta a un archivo | (no definido; obligatorio si mode=custom) |
|
|
|
|
| (off) |
Salida y registro. El canal stdio de MCP (stdout) transporta solo JSON-RPC; todos los logs y un aviso de “listo” en una línea van a stderr. Por defecto el registro es
WARNINGpara no inundar al cliente; ponROBOTMCP_LOG_LEVEL=INFO/DEBUGpara solucionar problemas. El registro nunca bloquea la ejecución (se vacía en un hilo en segundo plano, descartando datos cuando se desborda), y el fd 1 nunca se redirige fuera del transporte.
Plantillas integradas
Plantilla | ~Tokens | Ideal para |
| ~40 | LLMs potentes (Claude Opus, GPT-4): solo un recordatorio breve |
| ~400 | LLMs de gama media (Claude Sonnet, GPT-4o): guía de flujo de trabajo equilibrada |
| ~600 | LLMs más pequeños (Claude Haiku, GPT-4o-mini): paso a paso con ejemplos |
| ~350 | Escenarios de pruebas solo web |
| ~300 | Escenarios de pruebas solo API |
Ejemplo
{
"servers": {
"robotmcp": {
"type": "stdio",
"command": "uv",
"args": ["run", "-m", "robotmcp.server"],
"env": {
"ROBOTMCP_INSTRUCTIONS": "default",
"ROBOTMCP_INSTRUCTIONS_TEMPLATE": "detailed"
}
}
}
}Instrucciones personalizadas
Configura ROBOTMCP_INSTRUCTIONS=custom y proporciona un archivo mediante ROBOTMCP_INSTRUCTIONS_FILE. Los archivos personalizados admiten la sustitución del marcador {available_tools}. Extensiones permitidas: .txt, .md, .instruction, .instructions. Si el archivo no existe o no supera la validación, el servidor usa automáticamente la plantilla standard.
Consulta docs/INSTRUCTION_TEMPLATES_GUIDE.md para ver la guía completa.
🪝 Puente de depuración por adjunto
https://github.com/user-attachments/assets/8d87cd6e-c32e-4481-9f37-48b83f69f72f
RobotMCP incluye robotmcp.attach.McpAttach, una biblioteca ligera de Robot Framework que expone el ExecutionContext en vivo a través de un puente HTTP de localhost. Cuando depuras una suite desde VS Code (RobotCode) u otro IDE, el puente permite que RobotMCP reutilice las variables, importaciones y el orden de búsqueda de palabras clave del proceso, en lugar de crear un contexto separado.
Configuración del servidor MCP
Configuración de ejemplo con variables de entorno pasadas para el puente de depuración
Con UV
{
"servers": {
"RobotMCP": {
"type": "stdio",
"command": "uv",
"args": ["run", "src/robotmcp/server.py"],
"env": {
"ROBOTMCP_ATTACH_HOST": "127.0.0.1",
"ROBOTMCP_ATTACH_PORT": "7317",
"ROBOTMCP_ATTACH_TOKEN": "change-me",
"ROBOTMCP_ATTACH_DEFAULT": "auto"
}
}
}
}Con Docker
{
"servers": {
"RobotMCP": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/manykarim/rf-mcp:latest", "uv", "run", "robotmcp"],
"env": {
"ROBOTMCP_ATTACH_HOST": "127.0.0.1",
"ROBOTMCP_ATTACH_PORT": "7317",
"ROBOTMCP_ATTACH_TOKEN": "change-me",
"ROBOTMCP_ATTACH_DEFAULT": "auto"
}
}
}
}Configuración de Robot Framework
Importa la biblioteca y crea un bucle de servidor dentro de la suite que estás ejecutando:
*** Settings ***
Library robotmcp.attach.McpAttach token=${DEBUG_TOKEN}
*** Variables ***
${DEBUG_TOKEN} change-me
*** Test Cases ***
Serve From Debugger
MCP Serve port=7317 token=${DEBUG_TOKEN} mode=blocking poll_ms=100
[Teardown] MCP StopMCP Serve port=7317 token=${TOKEN} mode=blocking|step poll_ms=100— inicia el servidor HTTP (si no está en ejecución) y procesa los comandos del puente. Usamode=stepdurante la ejecución del cuerpo de una palabra clave para procesar exactamente una solicitud pendiente.MCP Stop— envía una señal al bucle de servicio para finalizarlo (usado desde la suite o de forma remota a través deattach_stop_bridgede RobotMCP).MCP Process Once— procesa una única solicitud pendiente y regresa inmediatamente; es útil cuando la suite ispollingea entre acciones de prueba.MCP Start— alias deMCP Servepor compatibilidad con versiones anteriores.
El puente se enlaza a 127.0.0.1 de forma predeterminada y espera que los clientes envíen el token compartido en el encabezado X-MCP-Token.
Configurar RobotMCP para la conexión
Inicia robotmcp.server con enrutamiento por conexión, proporcionando la configuración de conexión del puente mediante variables de entorno (el token debe ser el mismo que el de la suite):
export ROBOTMCP_ATTACH_HOST=127.0.0.1
export ROBOTMCP_ATTACH_PORT=7317 # optional, defaults to 7317
export ROBOTMCP_ATTACH_TOKEN=change-me # optional, defaults to 'change-me'
export ROBOTMCP_ATTACH_DEFAULT=auto # auto|force|off (auto routes when reachable)
export ROBOTMCP_ATTACH_STRICT=0 # set to 1/true to fail when bridge is unreachable
uv run python -m robotmcp.serverCuando ROBOTMCP_ATTACH_HOST está configurado, execute_step(..., use_context=true) y otras demás herramientas sensibles al contexto intentan ejecutarse primero dentro de la sesión de depuración en vivo. Usa las nuevas herramientas MCP para administrar el puente desde cualquier agente:
attach_status— informa sobre la configuración, la accesibilidad y los diagnósticos del puente (/diagnostics).attach_stop_bridge— envía un comando/stop, que a su vez lanzaMCP Stopen el paquete depurado.
🎪 Ejemplos de flujos de trabajo
🌐 Pruebas de aplicaciones web (BDD)
Prompt:
Use RobotMCP to create a test suite and execute it step wise.
It shall:
- Open https://demoshop.makrocode.de/
- Add item to cart
- Assert item was added to cart
- Add another item to cart
- Assert another item was added to cart
- Checkout
- Assert checkout was successful
Execute step by step and build final test suite afterwards
Create in BDD style and use Keywords with embedded arguments when applicableResultado: Conjunto de pruebas de Robot Framework en estilo BDD, con palabras clave Given/When/Then, argumentos incorporados y variables extraídas.
🌐 Pruebas de aplicaciones web (orientadas a datos)
Prompt:
Use RobotMCP to create a test suite and execute it step wise.
It shall:
- Open https://saucedemo.com
- Login with different user/password combinations
- Assert message or login
Execute step by step and build final test suite afterwards
Create in datadriven style and add multiple test rows with different scenarios
Use Test Template setting in suiteResultado: Conjunto de pruebas de Robot Framework orientado a datos, con Test Template y filas parametrizadas para cada escenario de inicio de sesión.
📱 Pruebas de aplicaciones móviles
Prompt:
Use RobotMCP to create a TestSuite and execute it step wise.
It shall:
- Launch app from tests/appium/SauceLabs.apk
- Perform login flow
- Add products to cart
- Complete purchase
Appium server is running at http://localhost:4723
Execute the test suite stepwise and build the final version afterwards.Resultado: Suite de pruebas móviles con keywords de AppiumLibrary y capacidades de dispositivo.
🔌 Pruebas de API
Prompt:
Read the Restful Booker API documentation at https://restful-booker.herokuapp.com.
Use RobotMCP to create a TestSuite and execute it step wise.
It shall:
- Create a new booking
- Authenticate as admin
- Update the booking
- Delete the booking
- Verify each response
Execute the test suite stepwise and build the final version afterwards.Resultado: Conjunto de pruebas de API que utiliza RequestsLibrary con un correcto manejo de errores.
🧪 Pruebas XML/Base de datos
Prompt:
Create a xml file with books and authors.
Use RobotMCP to create a TestSuite and execute it step wise.
It shall:
- Parse XML structure
- Validate specific nodes and attributes
- Assert content values
- Check XML schema compliance
Execute the test suite stepwise and build the final version afterwards.Resultado: Prueba de procesamiento XML con la librería XML de Robot Framework.
🔍 Herramientas MCP
rf-mcp expone sus capacidades al agente como herramientas MCP, agrupadas por propósito: planificación y orquestación, sesión y ejecución, descubrimiento y documentación, observabilidad y diagnósticos, ciclo de vida de suites, guía de localizadores, validación visual y memoria persistente opcional.
Referencia completa: docs/MCP_TOOLS.md — todas las herramientas, sus parámetros, valores de retorno y cuándo utilizarlas. Tu agente lee estas descripciones directamente; rara vez necesitas llamarlas manualmente.
🧪 Generación de pruebas BDD y orientadas a datos
Estilo BDD (Given/When/Then)
Prompt:
Use RobotMCP to create a test suite and execute it step wise.
It shall:
- Open https://demoshop.makrocode.de/
- Add item to cart
- Assert item was added to cart
- Add another item to cart
- Assert another item was added to cart
- Checkout
- Assert checkout was successful
Execute step by step and build final test suite afterwards
Create in BDD style and use Keywords with embedded arguments when applicableResultado: RobotMCP ejecuta cada paso, inspecciona el DOM entre acciones y genera una suite en estilo BDD con palabras clave Given/When/Then:
*** Test Cases ***
Demoshop BDD Purchase Workflow
Given the demoshop is open
When the user adds the first product to cart
Then the cart should contain 1 item
When the user adds the second product to cart
Then the cart should contain 2 items
When the user proceeds to checkout
And the user fills in the checkout form
And the user places the order
Then the order confirmation should be displayed
*** Keywords ***
the demoshop is open
New Browser chromium
New Context
New Page ${DEMOSHOP_URL}
the user adds the first product to cart
Click ${FIRST_PRODUCT_BUTTON}Durante la ejecución de los pasos, usa bdd_group y bdd_intent en execute_step para controlar cómo se agrupan los pasos en palabras clave de comportamiento. Al principio de todo, llama a build_test_suite(bdd_style=True).
Plantillas orientadas a datos
Prompt:
Use RobotMCP to create a test suite and execute it step wise.
It shall:
- Open https://saucedemo.com
- Login with different user/password combinations
- Assert message or login
Execute step by step and build final test suite afterwards
Create in datadriven style and add multiple test rows with different scenarios
Use Test Template setting in suiteResultado: RobotMCP construye una suite parametrizada con Test Template y filas de datos con nombre:
*** Settings ***
Library Browser
Test Template Verify Login
*** Test Cases *** USERNAME PASSWORD EXPECTED
Valid User standard_user secret_sauce Products
Locked Out User locked_out_user secret_sauce locked out
Invalid Password standard_user wrong_pass Username and password do not matchUsa manage_session(action="start_test", template="Verify Login") para establecer la palabra clave plantilla, y luego manage_session(action="add_data_row", test_name="Valid User", args=["standard_user", "secret_sauce", "Products"]) para agregar cada fila.
🧠 Optimización para LLMs pequeños
RobotMCP incluye optimizaciones para LLMs pequeños y medianos (ventanas de contexto de 8K a 32K) que reducen el uso de tokens y mejoran la precisión de las llamadas a herramientas.
Perfiles dinámicos de herramientas
Controla qué herramientas están visibles para el LLM según la fase del flujo de trabajo. Los modelos más pequeños ven menos herramientas y más compactas:
manage_session(action="set_tool_profile", tool_profile="browser_exec")Perfiles: browser_exec, api_exec, discovery, minimal_exec, full. Reduce el coste de descripción de las herramientas de ~7,000 a ~1,000 tokens. También se puede establecer mediante la variable de entorno ROBOTMCP_TOOL_PROFILE.
Nivel de detalle de la respuesta
Controla el nivel de detalle de la respuesta para reducir el consumo de tokens. Está disponible en la mayoría de las herramientas con el parámetro detail_level:
minimal— solo la salida esencial (reducción de tokens del 60-80%)standard— salida equilibrada (opción por defecto)full— salida completa y detallada
Establece un valor predeterminado con ROBOTMCP_OUTPUT_VERBOSITY=compact|standard|verbose.
Respuestas de estado incremental
get_session_state admite respuestas incrementales que solo devuelven las secciones que han cambiado desde la última llamada:
# First call returns full state (version 1):
get_session_state(session_id="...", sections=["variables", "page_source"])
# Subsequent calls return only what changed:
get_session_state(session_id="...", mode="delta", since_version=1)En mode="auto" (el predeterminado), el servidor devuelve automáticamente respuestas delta si existe una versión anterior. Esto reduce el uso de tokens en un 50-80% en flujos de trabajo de varios pasos donde solo cambian variables o el contenido de la página entre un paso y otro.
Externalización de artefactos
Las salidas grandes (código fuente de una página HTML, registros de ejecución, trazas de pila o seguimiento de excepciones) se externalizan automáticamente como artefactos repetibles en lugar de incrustarse en la respuesta:
# Response includes artifact_id instead of full content:
{"result": "...", "artifact_id": "abc123", "artifact_hint": "Full page source available via fetch_artifact"}
# Fetch when needed:
fetch_artifact(artifact_id="abc123")Esto mantiene las respuestas de las herramientas compactas y a la vez conserva el acceso a la salida completa cuando se necesita.
Acción por intención
La herramienta intent_action proporciona un punto de entrada independiente de la librería para acciones de prueba comunes. En lugar de exigir que el LLM conozca los nombres de palabras clave específicos de la librería y la sintaxis de localizadores, expresa la intención de la acción:
intent_action(intent="click", target="text=Login", session_id="...")
intent_action(intent="fill", target="#username", value="testuser", session_id="...")El servidor resuelve la intención más el destino para convertirlo en la palabra clave y el formato de localizador correctos para los marcos activos de la sesión (Browser, SeleniumLibrary o AppiumLibrary).
Reintento de navegación
Cuando intent_action(intent="navigate") falla porque no hay ningún navegador o página abierta, el servidor abre automáticamente el navegador o la página y lo reintenta:
Browser Library: ejecuta
New Browser+New Page(o soloNew Pagesi ya existe el navegador)SeleniumLibrary: ejecuta
Open Browser about:blank chrome
La respuesta incluye fallback_applied: true y el contador fallback_steps. Esto ahorra de 2 a 4 llamadas a herramientas por sesión.
Ejecución por lotes
La herramienta execute_batch ejecuta varias palabras clave en una sola llamada MCP, con tan solo un paso de ida y vuelta en lugar de N. Los pasos pueden hacer referencia a resultados de pasos anteriores mediante las variables ${STEP_N}:
execute_batch(session_id="...", steps=[
{"keyword": "Go To", "args": ["https://example.com"]},
{"keyword": "Get Title", "assign_to": "title"},
{"keyword": "Should Be Equal", "args": ["${STEP_2}", "Example Domain"]}
], on_failure="recover")Si un paso falla, resume_batch te permite insertar pasos de corrección y reintentar desde el punto del error.
Sugerencias en modo estricto
Cuando una palabra clave de Browser Library falla porque el selector coincide con varios elementos (modo estricto de Playwright), el error de la respuesta incluye un consejo que sugiere usar >> nth=0 (índice basado en cero) o cadenas de selección de >> visible=true, con ejemplos concretos que usan el nombre real de la palabra clave y el número de elementos.
Parámetros restringidos por tipo
Todos los parámetros action/mode/strategy usan tipos Literal, lo que genera restricciones enum en el JSON Schema. Esto elimina los valores inventados (por ejemplo, action="setup" en lugar de action="init"). Todos los valores aceptan entradas sin distinguir mayúsculas de minúsculas.
Coerción automática de parámetros
Errores habituales de los LLMs pequeños se corrigen en el servidor:
Los arrays serializados en JSON (como
"[\"Browser\"]") se convierten en arrays nativosLas cadenas separadas por comas (como
"Browser,BuiltIn") se dividen en listasLas palabras clave obsoletas (como
GET) se asignan a equivalentes actuales (GET On Session)
Plantillas de instrucciones
Las instrucciones configurables a nivel de servidor guían a los LLM para sigan el patrón descubrir y luego actuar. Elige una plantilla que se ajuste a cada tamaño de tu LLM, desde minimal (~40 tokens) para Claude Opus, hasta detailed (~600 tokens) para Claude Haiku. Consulta Plantillas de instrucciones arriba.
🧠 Memoria semántica persistente
RobotMCP puede aprender de sesiones anteriores y recordar patrones exitosos, localizadores y correcciones de errores, lo que reduce el método de prueba y error en escenarios de prueba repetidos.
Cómo funciona
La memoria se basa en sqlite-vec (búsqueda vectorial) y model2vec (modelos de 256 dimensiones). Cuando está activada, el servidor:
Almacena secuencias de pasos correctos, localizadores que funcionan y mapas de error→corrección después de cada llamada a una herramienta
Recuerda las prácticas relevantes y las inyecta como sugerencias en las respuestas de las herramientas (por ejemplo, los fallos de
execute_stepincluyen correcciones anteriores,get_session_stateincluye patrones de pasos con éxito previo)Aprende de varios sesiones: la base de datos caliente da igual, se mantiene entre reinicios del servidor
Instalación
pip install rf-mcp[memory]
# or
uv pip install rf-mcp[memory]Configuración
Se activa mediante variables de entorno:
{
"servers": {
"robotmcp": {
"type": "stdio",
"command": "uv",
"args": ["run", "-m", "robotmcp.server"],
"env": {
"ROBOTMCP_MEMORY_ENABLED": "true",
"ROBOTMCP_MEMORY_DB_PATH": "./memory.db"
}
}
}
}Herramientas MCP de memoria
Cuando la memoria está activada, hay cinco herramientas adicionales disponibles:
Herramienta | Descripción |
| Recuerda secuencias de pasos con éxito anteriores. Se debe usar antes de generar nuevos pasos de prueba para reutilizar patrones correctos. |
| Recuerda correcciones conocidas para un error. Hay que usarlo inmediatamente cuando |
| Recuerda localizadores que funcionan para un elemento de la interfaz. Hay que usarlo antes de la inspección del DOM para elementos conocidos. |
| Almacena conocimiento del dominio (por ejemplo, la estructura del sitio o los flujos de autenticación) para un uso futuro. |
| Comprueba la disponibilidad de memoria y sus estadísticas al iniciar una sesión. |
Mejora de respuestas
Las pistas de memoria se inyectan automáticamente en las respuestas existentes; no es necesaria la colaboración del LLM:
Fallos de
execute_step: En la respuesta de error se incluyen las correcciones anteriores y los localizadores que funcionan.get_session: se incluyen los patrones de pasos exitosos previos para el escenario.analyze_scenario: se sugieren secuencias de ejecución recordadas de sesiones per vehicle.
Todas las búsquedas de memoria tienen un tiempo de espera de 50 ms para no afectar a la latencia de las respuestas.
Resultados de evaluación comparativa
Se ha probado en 6 escenarios (72 invocations de opencode, 3 iteraciones cada uno) con qwen/qwen3-coder:
Tipo de escenario | Mejor resultado | Tasa de recuperación de memoria |
Flujos web complejos (checkout) | -23% de llamadas, -22% de tokens | 3/3 iteraciones |
Navegación con mucha exploración | -44% de llamadas en la mejor iteración | 3/3 iteraciones |
Recuperación de errores de API | -3% de llamadas ±3% (IC más ajustado) | 3/3 iteraciones |
Los beneficios de la memoria son más fuertes en escenarios complejos y de varios pasos, donde los localizadores anteriores y las secuencias de pasos reducen las llamadas exploratorias a herramientas.
⚙️ Configuración
rf-mcp funciona con valores predeterminados razonables; cuando necesitas ajustarlo, todo está a una variable de entorno de distancia — plantillas de instrucción, el puente de conexión, la economía de salida/tokens, la memoria, el panel del frontend, la seguridad de escritorio de PlatynUI, y más.
Referencia completa: docs/CONFIGURATION.md — cada variable ROBOTMCP_* con sus valores aceptados y su valor por defecto, además de las banderas y los subcomandos de la CLI de robotmcp.
🤝 Contribuciones
¡Las contribuciones son bienvenidas! Así es como puedes empezar:
Haz un fork del repositorio
Clona tu fork localmente
Instala las dependencias de desarrollo:
uv syncCrea una rama de funcionalidad
Añade pruebas exhaustivas para la nueva funcionalidad
Ejecuta las pruebas:
uv run pytest tests/Envía una pull request
📝 Registro de cambios
v0.34.0 – Automatización de escritorio nativa (
rf-mcp[desktop], PlatynUI, listo para Windows); instalador que tiene en cuenta el proyecto y usa las librerías de tu propio proyecto; instrucciones de agente más ligeras; correcciones de cuelgues en el arranque en frío, de bloqueos en el dry-run de Windows y de rutas de suites generadas; perfiles de herramienta restaurados en FastMCP 3v0.31.1 – Limpieza del empaquetado (excluye tests/examples del sdist)
v0.31.0 – Generación BDD y basada en datos, correcciones de la arquitectura de espacios de nombres, memoria persistente, reducción de tokens del 71-88%
v0.30.1 – Capa de compatibilidad con FastMCP 3.x
v0.30.0 – Optimización de LLM de pequeño tamaño (perfiles de herramienta, acción de intención, optimización de respuestas, restricciones de tipos)
v0.29.0 – Plantillas de instrucción, sesiones de pruebas múltiples, ejecución por lotes, tiempos de espera inteligentes
📄 Licencia
Licencia Apache 2.0: consulta el archivo LICENSE para más detalles.
⭐ ¡Danos una estrella en GitHub si RobotMCP te ayuda en tu camino de automatización de pruebas!
Hecho con ❤️ para la comunidad de Robot Framework y automatización con IA.
Available Tools
19 toolsanalyze_scenarioA
Analyze a natural-language scenario into structured intent and create a session.
WORKFLOW: This is the single front door — your FIRST tool call for any test scenario. It CREATES the session, so do NOT also call manage_session(action="init") for the same scenario (that causes redundant session churn). Reuse the returned session_id in every later call.
What this tool does:
Creates a new session with unique session_id (or reuses provided one)
Analyzes scenario to detect context (web/api/mobile/desktop)
Auto-configures libraries based on scenario text
Returns session_id for use in ALL subsequent tool calls
CRITICAL: Save the session_id from the response and use it in all other tool calls.
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Application context (e.g., "web", "mobile", "api", "desktop"); defaults to "web". An explicit context="desktop" DETERMINISTICALLY forces a native desktop (PlatynUI) session regardless of scenario wording — phrasing or word order cannot flip it to mobile/Appium. Use it for Linux/GNOME desktop GUI scenarios. | web |
| scenario | Yes | Human-language description of the task to automate. | |
| session_id | No | Optional existing session id to reuse; if omitted, a new one is created. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden — and it mostly succeeds. It discloses the mutation behavior prominently (CREATES a session), explains the side effects of misuse (redundant session churn), and instructs the agent to save and reuse the returned session_id. It could note failure/error behavior, but the key behavioral traits are covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with a WORKFLOW block, numbered steps, and a highlighted CRITICAL note, with the key routing information (front door, don't call manage_session) front-loaded. Minor redundancy exists between the WORKFLOW summary and the numbered list, but every section earns its place for an orchestration tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex orchestration tool, the description covers the full workflow: session creation, context detection, library auto-configuration, and session_id reuse across subsequent calls. An output schema exists, so return-value details are not the description's responsibility. The only gap is explicit error/failure behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with already-rich parameter text, including the deterministic desktop-forcing behavior of the context enum. Baseline 3 applies: the description confirms the workflow relationship to session_id but adds little parameter-level meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb+resource ('Analyze a natural-language scenario into structured intent and create a session') and explicitly names it as 'the single front door'. It clearly distinguishes itself from the sibling manage_session by warning against redundant session churn, so an agent can tell it apart without opening other schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives explicit when-to-use guidance ('your FIRST tool call for any test scenario') and explicit when-not-to-use guidance ('do NOT also call manage_session(action="init")'). It names the alternative tool and the failure mode it avoids, leaving nothing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
build_test_suiteC
Generate a Robot Framework test suite from previously executed steps.
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional test tags. | |
| bdd_style | No | Generate BDD-style suite with a Keywords section. When True, steps are grouped into behavioral keywords (Given/When/Then) and a ``*** Keywords ***`` section is appended to the generated .robot content. | |
| test_name | Yes | Name for the generated test case. | |
| session_id | No | Session containing executed steps; auto-resolves if empty/invalid. | |
| output_path | No | Optional absolute path to persist the generated .robot suite to disk directly (UTF-8; parent directories created). ALWAYS use this to save a suite — do NOT write ``rf_text`` via the ``Create File`` keyword: Robot Framework resolves ``${variables}`` and interprets ``\n``/``\t`` escapes inside the argument, which silently corrupts the suite content (assigned vars collapse to their runtime values, escaped newlines become raw line breaks). Writing here goes through plain file I/O and preserves the generated text byte-for-byte. When set, the response includes ``output_path`` and ``output_bytes`` (or ``output_error`` on a write failure — the build still succeeds). | |
| documentation | No | Optional test case documentation. | |
| data_driven_mode | No | How to render data-driven (template) test cases. "auto" (default) — auto-detect: named rows → suite_template, else per_test. "per_test" — [Template] per test case with data rows (current behavior). "suite_template" — Test Template in Settings, each named row is a separate test case with individual pass/fail in reports. | auto |
| include_pre_start | No | Whether to adopt exploratory steps executed BEFORE start_test into the generated test body. Default False excludes them (the response reports ``excluded_pre_start_count`` + a summary) so the suite reflects only intended in-test interactions. Set True to preserve the prior adoption behavior. | |
| remove_library_prefixes | No | Whether to strip library prefixes from keywords. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states that it generates a suite from steps, but omits side effects like file writing (hinted in schema) or whether state is modified. The description adds minimal behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that directly states the core purpose. It is appropriately sized and front-loaded, though it could incorporate more behavioral context without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (9 parameters) and lack of annotations, the description is inadequate. It doesn't explain the generation process, output format (despite an output schema), or edge cases like session_id auto-resolution. The schema fills parameter details, but the description fails to provide overarching usage context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all 9 parameters are thoroughly documented in the schema. The main description does not add any parameter-specific details or clarifications beyond what the schema provides, justifying the baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the verb 'Generate' and the resource 'Robot Framework test suite' from 'previously executed steps'. It clearly indicates the tool's function and distinguishes it from execution-oriented siblings like run_test_suite, though it doesn't explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives such as run_test_suite or execute_flow. There's no mention of prerequisites, context, or scenarios where this tool is preferred, leaving the agent to infer usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_library_availabilityA
Verify that specified Robot Framework libraries can be imported/installed.
Recommended as step 3 after analyze_scenario and recommend_libraries; use the recommended names to avoid unnecessary checks.
| Name | Required | Description | Default |
|---|---|---|---|
| libraries | Yes | Library names to verify (preferably from recommend_libraries output). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must convey behavioral traits. It states 'Verify' which implies a read-only check, but also mentions 'imported/installed' without clarifying whether it performs installation or just checks availability. It does not disclose side effects, error behavior, or what happens when a library is missing. This is a significant gap for a tool that may have installation implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with the primary purpose front-loaded in the first sentence and usage recommendation in the second. No superfluous words, concise and scannable, making it easy for an agent to quickly grasp the tool's role.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has a simple one-parameter schema and an output schema, so the description does not need to explain return values. However, it leaves ambiguity about whether the tool only checks or also installs libraries, and what happens for unavailable libraries. Given the lack of annotations, this ambiguity affects completeness. While the usage workflow is clearly defined, the behavioral gap keeps it from being fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides a complete description for the 'libraries' parameter, including a preference for using recommend_libraries output (100% schema coverage). The tool description adds no additional parameter semantics beyond what the schema provides, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb 'Verify' and a resource 'specified Robot Framework libraries', clearly indicating the tool checks import/install availability. It does not explicitly name a sibling it is not, but the context of recommendation workflow helps distinguish it from 'recommend_libraries'. Overall, purpose is clear and actionable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly recommends this as step 3 after 'analyze_scenario' and 'recommend_libraries', and advises using recommended names to avoid unnecessary checks. This provides clear when-to-use guidance and implies the tool should be used after library recommendation, not before, effectively routing the agent to the correct workflow.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
execute_batchA
Execute multiple RF keywords in one call with recovery and variable chaining.
Reduces N MCP round-trips to 1. Steps run sequentially; each step's return value is available to later steps via ${STEP_N} references in arguments. Both 0-based (${STEP_0} = first step) and 1-based (${STEP_1} = first step) indexing are accepted. When ambiguous, 1-based is preferred.
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | List of step dicts, each with: - keyword (str, required): RF keyword name - arguments (list[str], optional): Positional arguments, may contain ${STEP_N} (both 0-based and 1-based indexing supported). This is the canonical key (parity with execute_step). The legacy alias ``args`` is also accepted; supplying BOTH with different values is a validation error. - label (str, optional): Human-readable label - timeout (str, optional): Per-step RF timeout (e.g., "10s") - assign_to (str, optional): Variable name to capture return value (e.g., "cart_count") NOTE: batch steps do NOT support ``bdd_group``/``bdd_intent`` — use per-step ``execute_step(bdd_group=..., bdd_intent=...)`` for BDD grouping. A step missing ``keyword`` returns an actionable validation error. | |
| on_failure | No | Policy on step failure: - "stop": abort immediately - "retry": retry without recovery logic - "recover" (default): attempt tiered recovery before giving up On DESKTOP (PlatynUI) sessions, retries are restricted to failures where the input provably never fired (element-not-found); any other desktop failure records immediately instead of blindly re-firing a click/keystroke, and retries run with a capped descriptor-resolution timeout so a bad locator cannot burn the whole budget. | recover |
| session_id | Yes | Session to execute within (must exist or be auto-created). | |
| timeout_ms | No | Total batch time budget in milliseconds (1000-600000, default 120000). | |
| max_recovery_attempts | No | Max recovery retries per failed step (1-10, default 2). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden. It discloses sequential execution, variable chaining via ${STEP_N}, and the 0-based/1-based indexing ambiguity with a preference. It does not elaborate on recovery mechanics beyond 'with recovery', but the schema covers on_failure parameters. The disclosed sequencing and indexing are valuable behavioral insights.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured. The first sentence states the core purpose, followed by a clear benefit (round-trip reduction), then precise behavioral details about sequencing and indexing. Every sentence carries necessary information without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the 5 parameters and existing output schema, the description covers the essential operational context: what it does, how steps chain, and indexing rules. It omits details like failure policies or timeout expectations, but those are documented in the schema parameters, so the description is sufficiently complete for an agent to call correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds meaning beyond the schema by explaining the ${STEP_N} indexing nuances (0-based vs 1-based) and the preference when ambiguous, which is not fully specified in the schema's step description. This enriches the semantic understanding of arguments.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool executes multiple RF keywords in one call, with recovery and variable chaining. It differentiates from single-step siblings like execute_step by emphasizing batch execution and round-trip reduction, though it could more explicitly contrast with execute_flow or other batching tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies a batch use case via 'multiple keywords' and 'reduces N MCP round-trips to 1', but it does not explicitly state when to choose this over execute_step (e.g., for single keywords or BDD grouping). The schema notes BDD limitations, but the description itself lacks explicit alternatives or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
execute_flowC
Execute structured flow (if/for/try) within a session.
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Items to iterate when structure="for". | |
| rethrow | No | Whether to rethrow after except/finally. | |
| item_var | No | Variable name to bind each item in for-each loops. | item |
| condition | No | Expression for if/conditional flows. | |
| structure | Yes | Flow type ("if", "for", "try"). | |
| try_steps | No | Steps for the try block (when structure="try"). | |
| else_steps | No | Steps for the else branch (if). | |
| session_id | Yes | Session id to run the flow in. | |
| then_steps | No | Steps for the main branch (if/loop body/try block). | |
| except_steps | No | Steps for the except block. | |
| finally_steps | No | Steps for the finally block. | |
| max_iterations | No | Maximum iterations for for-each loops. | |
| except_patterns | No | Error patterns to match for except handling. | |
| stop_on_failure | No | Whether to stop loop/branch execution on first failure. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations at all, the description carries the full burden of disclosing side effects, state changes, and error behavior, but it does not do so. It does not mention that executing a flow may mutate session state, how failures or rethrows behave, or whether partial execution leaves side effects. The schema hints at these behaviors through fields like stop_on_failure and rethrow, but the description itself does not surface them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single compact sentence with the core idea front-loaded and no filler. While it is lean and well ordered, it is also somewhat under-specified for such a complex tool, so it earns a 4 rather than a 5.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 14-parameter control-flow executor with no annotations and many structure-dependent fields, a one-line description is not enough to guide correct invocation. It does not explain how the structure parameter selects among if/for/try block parameters, what side effects flow execution has on the session, or how errors are handled. The presence of an output schema reduces the return-value burden, but the invocation and execution semantics remain under-specified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents all 14 parameters, including structure-specific fields like then_steps, except_steps, and max_iterations. The tool description adds no parameter-level meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb ('Execute'), a resource ('structured flow'), and enumerates the supported flow types ('if/for/try'), while scoping execution to a session. This makes it reasonably distinct from sibling tools like execute_step or execute_batch, though it does not explicitly name or contrast those alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use execute_flow versus execute_step, execute_batch, or other siblings. It only states the operation and the session context; there are no exclusions, conditions, or pointers to alternatives, so choosing this tool over its siblings is left entirely to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
execute_stepB
Execute a single Robot Framework keyword (or Evaluate) within a session.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "keyword" (default) or "evaluate" (runs BuiltIn.Evaluate). | keyword |
| record | No | Override the record gate that decides whether a successful step is appended to session.steps for build_test_suite output. - None (default): auto-classify. Read-only inspection keywords (Get Title, Log, etc.) are NOT recorded; everything else IS. Carve-outs that always record: ``assign_to`` is set, or a named test is currently open (after start_test). - True: force-record this step regardless of classification. - False: drop this step regardless of classification. The decision is surfaced as ``recorded: bool`` in the response. | |
| keyword | Yes | Keyword name (Library.Keyword supported). Use find_keywords to discover correct keyword names before calling. | |
| arguments | No | Keyword arguments; positional and named (`name=value`) supported. | |
| assign_to | No | Variable name(s) to assign the result to (string or list). CRITICAL: Use this to capture results for later steps. Example: assign_to="response" captures ${response} variable | |
| bdd_group | No | Optional group name for BDD keyword generation. Steps with the same bdd_group are clustered into a single behavioral keyword when build_test_suite(bdd_style=True) is called. Example: bdd_group="add product to cart" | |
| bdd_intent | No | BDD intent prefix for the group: "given", "when", "then", "and", "but". Used with bdd_group to assign Given/When/Then prefixes in the generated BDD test suite. | |
| expression | No | Expression for mode="evaluate"; falls back to keyword/first argument. | |
| session_id | No | Session to execute in; resolves default if omitted. | default |
| timeout_ms | No | Optional timeout in milliseconds for keyword execution. If not provided, uses smart defaults based on keyword type: - Element actions (Click, Fill): 5000ms - Navigation (Go To, New Page): 60000ms - Read operations (Get Text): 2000ms - API calls (GET, POST): 30000ms Set to 0 or negative to disable timeout. | |
| use_context | No | Whether to run inside RF native context; defaults via config/attach. | |
| detail_level | No | Response verbosity: "minimal" | "standard" | "full". | minimal |
| scenario_hint | No | Optional scenario text to auto-configure libraries on first call. | |
| raise_on_failure | No | If True, raise on failure; otherwise return error in payload. | |
| pre_validate_timeout_ms | No | Override the pre-validation gate's timeout for this single call. Pre-validation is the fast ~500ms-default check that verifies an element is visible / enabled before the keyword runs; it auto-retries once with a 200ms backoff on transient failures. - None (default): use ``ExecutionConfig.PRE_VALIDATION_TIMEOUT`` (500ms) for slow-loading pages this is sometimes too tight. - A positive int (e.g. 2000): extend the gate to this many milliseconds for this call only. Useful when a page legitimately takes ~1–2s to settle. - 0 or negative: skip pre-validation entirely for this call (last resort — also disables the keyword timeout). Failure responses include a ``pre_validate_timeout_hint`` entry explaining how to use this when the gate trips. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the purpose and does not reveal side effects, error handling, or return behavior. While schema parameter descriptions cover things like recording and timeouts, the top-level description itself lacks any behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that conveys the core action with zero waste. It is appropriately sized and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 15 parameters, an output schema, and rich sibling tools, the description is too minimal. It does not synthesize the overall behavior (e.g., how steps are recorded for build_test_suite, BDD grouping, or when to use this over execute_batch). The schema covers details, but the high-level context is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% coverage with detailed descriptions for all 15 parameters. The one-sentence description adds no parameter-specific meaning beyond the schema, so the baseline of 3 is appropriate given the high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it executes a single Robot Framework keyword or Evaluate within a session, distinguishing it from siblings like execute_batch or execute_flow that handle multiple steps. The verb 'Execute' and resource 'single Robot Framework keyword' are specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly state when to use this tool versus alternatives. It mentions 'within a session' but provides no guidance on scenarios where execute_batch or execute_flow would be preferable. The only hint appears in the schema description for the keyword parameter, but that is not part of the tool description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_keywordsA
Discover Robot Framework keywords using multiple strategies.
WHEN TO USE THIS TOOL:
ALWAYS before calling execute_step with an unfamiliar keyword
When you're unsure of exact keyword name or spelling
To discover what keywords are available in imported libraries
When error says "No keyword with name 'X' found"
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum number of results to return. | |
| query | Yes | Search text or intent description. Examples: "click a button", "validate json", "get*request" | |
| context | No | Scenario context (e.g., "web", "mobile", "api") used by semantic discovery. | web |
| strategy | No | Discovery approach: - "semantic": Hybrid keyword search combining name/doc pattern matching, tag/action-class classification, and (when installed) sentence-transformers embedding similarity. For best semantic ranking, install the optional extra: ``uv add robotmcp[semantic]``. Without the extra, falls back to pattern + tag + difflib SequenceMatcher ranking; the strategy is still useful but ranking quality is reduced. - "pattern": Glob/regex matching (best when you know partial name) - "catalog": List all available keywords. This is a LITERAL substring filter on keyword/library names — a multi-word natural-language query will return 0; use library_name= to list a library (e.g. "PlatynUI"/"PlatynUI.BareMetal"), or strategy="semantic" for intent matching. - "session": List keywords from session's loaded libraries | semantic |
| session_id | No | Required for strategy="session" to search the live RF namespace. | |
| library_name | No | Optional library filter applied to ALL strategies. When set, restricts results to the named library and its compatible siblings (e.g., library_name="Browser" excludes SeleniumLibrary but keeps BuiltIn, Collections, String). Takes precedence over the session's explicit_library_preference when both are present. Catalog strategy additionally scopes the underlying lookup to this library. | |
| current_state | No | Optional state payload to improve semantic matching. | |
| strict_library | No | OBS-33 — when True AND a library preference is set (via ``library_name`` or session ``explicit_library_preference``), exclude EVERY library that isn't the preferred one. Default behaviour (False) preserves "compatible siblings" — BuiltIn / Collections / String / DateTime etc. remain visible alongside the preferred library. Use strict mode to scope discovery tightly to a single library (e.g., pattern ``"Get*"`` + ``library_name="Browser"`` + ``strict_library=True`` → Browser keywords only, no BuiltIn helpers). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. The detailed strategy parameter documentation discloses important behavior: semantic search has an optional dependency and falls back to pattern matching when not installed, catalog strategy is a literal substring filter that returns 0 for multi-word natural-language queries, and session strategy requires a session_id. It does not explicitly state read-only/no-side-effects, but 'Discover' plus the described search mechanics make the behavior clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, immediately followed by actionable usage guidance. The long parameter documentation is dense but each part earns its place given the tool's complexity, and no redundant or filler text is present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 8 parameters and an output schema, but the description covers all necessary context: when to call it, how each strategy behaves, library filtering, strict mode, and session requirements. An agent can correctly invoke this tool without needing to infer missing information.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the parameter descriptions go far beyond names. Each strategy is explained with its intended use and limitations, library_name semantics clarify sibling compatibility and precedence, and strict_library is described with a concrete example. This gives the agent everything needed to choose parameter values correctly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Discover Robot Framework keywords using multiple strategies.' It clearly distinguishes this discovery/search tool from execution tools like execute_step and detail tools like get_keyword_info by framing the tool as the way to find keywords before executing them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides an explicit 'WHEN TO USE THIS TOOL' section with concrete triggers such as 'ALWAYS before calling execute_step with an unfamiliar keyword' and when an error says keyword not found. It does not explicitly name alternative tools for cases like retrieving details for a known keyword, so it stops short of full when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_keyword_infoA
Get keyword/library docs or parse a signature. Call this before execute_step when you know the keyword name but not its arguments.
Modes: "keyword" (default — document one keyword), "library" (list a library's keywords), "session" (resolve against the live session namespace), "parse" (parse a signature string). Pass session_id to scope the lookup to that session's libraries.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | One of "keyword" (default), "library", "session", or "parse". | keyword |
| arguments | No | Optional arguments to parse when mode="parse". | |
| session_id | No | Optional session id. - mode="keyword" / "global" (OBS-19): when provided without ``library_name``, restricts the keyword lookup to libraries imported in that session (plus neutral helpers like BuiltIn, Collections). When the keyword exists only in other libraries, the response carries a library-mismatch error + plugin-generated alternative hint instead of the keyword doc. Sessions without ``session_id`` get the global lookup (cross-library matches[]). - mode="session" / "namespace": required to address the live RF namespace. - **Externalisation gate (OBS-21)**: any mode with ``session_id`` provided enables artifact externalisation for large payloads (``library.doc``, ``library.keywords``, ``keyword.doc``, ``matches``). Without ``session_id``, payloads stay inline regardless of size — there's no artifact store to write to, so sessionless callers get the full content. Preserves backwards compat. | |
| keyword_name | No | Keyword to document (required for modes "keyword"/"session"/"parse"). | |
| library_name | No | Library to document (required for mode "library"; optional for keyword mode — explicit per-call scope that takes precedence over session-derived scope). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does explain the modes and session scoping, but it does not explicitly state that it is a read-only operation or disclose potential behaviors like the library-mismatch error and artifact externalisation (though these are detailed in the schema). The description adds some context but not a comprehensive behavioral profile.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise: two sentences and a list of modes. The primary purpose is front-loaded, and every sentence contributes. No fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, multiple modes) and the presence of a detailed output schema and exhaustive schema descriptions, the description is sufficient. It covers the primary use case and mode enumeration. It omits some nuances (e.g., externalisation) but those are covered in the schema, so the description is adequately complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds value by clarifying the modes and the role of session_id (e.g., scoping the lookup), but it does not go deeply beyond what the schema already documents. It meets but does not exceed the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action ('Get keyword/library docs or parse a signature') with a concrete verb and resource. It also enumerates distinct modes, making the tool's scope unambiguous and distinguishing it from other lookup tools like find_keywords.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs when to use: 'Call this before execute_step when you know the keyword name but not its arguments.' It also lists modes, which implicitly guide when each is appropriate. This is clear, actionable guidance with no reliance on inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_locator_guidanceA
Provide locator/selector guidance for Browser, SeleniumLibrary, AppiumLibrary, PlatynUI.BareMetal, or RequestsLibrary.
For API testing, call with library="requests" (or "api") to get a RequestsLibrary request/response cookbook — session setup, response-field access (${resp.json()["field"]}), the $resp-in-Evaluate rule, Status Should Be, JSON body/headers, the Cookie token header, and expected_status= for non-2xx — BEFORE writing Evaluate-based assertions.
For VISUAL validation, call with library="visual" (or "screenshot") to learn WHEN a screenshot beats the DOM/ARIA tree (canvas/image text, layout/overlap, obscured elements, color, charts) and the dual read-back pattern — useful for any UI library (Browser/Selenium/Appium/PlatynUI) when a multimodal model drives rf-mcp.
| Name | Required | Description | Default |
|---|---|---|---|
| library | No | Target library ("Browser", "SeleniumLibrary", "AppiumLibrary", "PlatynUI.BareMetal", or "RequestsLibrary"/"api"). Case-insensitive. | browser |
| keyword_name | No | Optional keyword name for context-specific hints. | |
| error_message | No | Optional error text to tailor guidance (e.g., from a failed keyword). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It explains the tool's action ('provide guidance') but does not disclose side effects, return format (though output schema exists), or any limitations. It is not misleading, but it does not add behavioral context beyond the basic function.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured, front-loading the core purpose and then detailing two important use cases. It is somewhat long but each sentence provides useful information, and the sections are clearly separated. No redundant words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description, combined with the presence of an output schema, covers the main usage scenarios effectively. It explains why and when to use it for API and visual cases, which are the most specialized. The general case (any of the listed libraries) is mentioned but could be slightly more elaborated, yet it is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds significant value for the `library` parameter by specifying aliases ('requests'/'api', 'visual'/'screenshot') and detailing what guidance each subset includes (API cookbook contents, visual validation scenarios). This enriches the schema's basic description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: providing locator/selector guidance for specific libraries (Browser, SeleniumLibrary, etc.). It distinguishes itself from siblings by highlighting specific use cases for API testing and visual validation, making it obvious when this tool is relevant versus others.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives explicit when-to-use guidance for two major scenarios: API testing (library='requests') and visual validation (library='visual'), including details like 'BEFORE writing Evaluate-based assertions.' However, it does not explicitly state when NOT to use it or mention alternatives beyond siblings, though the context makes it clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_session_stateC
Retrieve aggregated session state for debugging and visibility.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| sections | No | Specific data blocks to include (e.g., summary, page_source, variables, application_state, ui_tree). ui_tree (desktop/PlatynUI sessions only): accessibility-tree snapshot. Lists applications; pass application names via elements_of_interest to expand their subtrees (bounded depth, ADR-025). | |
| session_id | Yes | Active session identifier to inspect. | |
| state_type | No | Type of application state to fetch when requesting application_state (dom|api|database|all). | all |
| since_version | No | ||
| dom_chunk_size | No | Maximum size of each DOM chunk when streaming is enabled (minimum 1024 bytes). | |
| include_dom_stream | No | Chunk large page_source payloads into page_source_stream entries for easier transport. | |
| include_reduced_dom | No | Whether to include lightweight semantic DOM (ARIA snapshots) for quick inspection. | |
| elements_of_interest | No | Targeted element identifiers passed to application state collectors. | |
| page_source_filtered | No | When True, returns sanitized/filtered DOM text instead of the full source. | |
| page_source_filtering_level | No | Filtering aggressiveness for DOM output (standard|aggressive). | standard |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It implies a read-only inspection ('Retrieve') and mentions debugging, but does not explicitly state non-mutating behavior, performance implications, or any side effects. The word 'retrieve' hints at safety but is not declared.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single 10-word sentence, which is extremely concise but under-specified for a tool with 11 parameters. While it has no fluff, it is not appropriately sized for the tool's complexity, missing necessary operational context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (11 parameters, modes, streaming options), the description is far from complete. It does not define 'aggregated', explain deltas vs full state, or mention any configuration nuances. The output schema exists, but the behavior and semantics of the tool are largely undefined.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 82%, so most parameters are documented in the schema. The description adds 'aggregated' to clarify the output nature, but does not explain undocumented parameters like mode and since_version. The minimal description does not compensate for these gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Retrieve') and resource ('aggregated session state') with a stated purpose ('for debugging and visibility'). It is distinct from siblings like manage_session which suggests management rather than read-only inspection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives such as manage_session or execute_flow. The description gives a high-level purpose but no conditions, exclusions, or prerequisites for invoking this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
intent_actionA
Execute a high-level intent that auto-resolves to the correct library keyword.
Valid intents: navigate, click, fill, hover, select, assert_visible, extract, wait_for.
Also accepted but DEPRECATED:
extract_text — equivalent to
extractwithmode="text". Theextractverb is the canonical mode-aware getter (text / attribute / count / value / url / title) and additionally surfacesextracted_valueat the top level of the response.extract_textwill be removed in a future release; preferintent="extract"for new code.
The intent is resolved based on the session's active library (Browser/SeleniumLibrary/AppiumLibrary).
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Zero-based nth-match index. Disambiguates when multiple elements match the same locator (e.g., an id duplicated across mobile vs desktop nav). Browser library appends ``>> nth=<n>``; SeleniumLibrary appends ``:nth-of-type(<n+1>)`` for CSS locators only (other locator types are unaffected and log a debug-level warning). | |
| mode | No | For ``intent="extract"`` only. Selects what to read from the page; ignored for other intents. "text" — element text content (default) "attribute" — element attribute value (requires attribute_name) "count" — number of matching elements (multi-match OK) "value" — DOM property "value" (input values) "url" — current page URL (no target needed) "title" — current page title (no target needed) The extracted value is surfaced as ``result["extracted_value"]`` and assigned to ``assign_to`` if provided. mode="count" additionally skips pre-validation for this call — counting is the only mode where matching zero/multiple elements is the expected outcome rather than a failure. | text |
| force | No | Use when: the element is visible but Playwright reports it "blocked by another element" — overlay, sticky header, cookie-consent banner, modal backdrop, animation still running. Symptom: ``Click intercepted`` or ``element is not stable`` / ``outside of the viewport`` errors despite the element appearing correct in the ARIA snapshot. Example: a "Submit" button covered by a sticky consent banner the user can't dismiss programmatically. What it does: for a Browser-library click intent, swaps ``Click`` for ``Click With Options force=True``, which skips Playwright's actionability checks. For other libraries / intents whose mapping declares no ``force_keyword``, the flag is silently ignored. Caveat: do NOT use ``force=True`` to drive elements that are genuinely hidden (display:none, visibility:hidden) — that's an anti-pattern; the resulting click won't behave like a real user click. Prefer natural locators first; fall through to ``force=True`` only when an overlay is the genuine cause. | |
| match | No | Select-match strategy for the ``select`` intent. ``"label"`` (default) - match by visible option text. Mirrors RF semantics for ``Select Options By label``. ``"value"`` - match by ``<option value="X">`` attribute. ``"index"`` - match by zero-based integer index. ``"text"`` - synonym for ``"label"`` (most libraries). ``"auto"`` - OPT-IN heuristic. Numeric value -> ``"value"``, otherwise ``"label"``. Use with care: numeric visible labels (years, amounts) mis-route. For SeleniumLibrary, this also picks the dispatched keyword (``Select From List By Label`` / ``Value`` / ``Index``). Ignored for non-select intents. | label |
| value | No | Value for fill/select intents | |
| commit | No | Use when: the page uses Vue, React, Angular reactive forms, jQuery validate, idealForms, formvalidation.io, or any framework that gates validation on the DOM ``change`` event. Symptom: a form submit is rejected with a "required" or validation error despite every visible field appearing correctly filled; the framework's internal model still thinks the inputs are empty because Playwright's ``fill`` didn't fire a real ``change``. What it does: after a successful Browser-library FILL, dispatches a real DOM ``change`` event on the target via Browser's ``Dispatch Event`` keyword. Off by default — the follow-up is best-effort and any failure is logged and ignored (it never escalates a successful fill into a failed step). No effect for non-FILL intents, non-Browser libraries, or failed fills. | |
| intent | Yes | Action verb (e.g. "click", "navigate", "fill", "extract") | |
| target | No | Locator or URL (e.g. "#submit", "text=Login", "https://example.com"). Optional for extract mode="url"/mode="title". | |
| options | No | Additional options (e.g. {"timeout": "10s"}) | |
| assign_to | No | Variable name to capture result (esp. useful for extract: the extracted text/count/attribute is assigned to this var). | |
| session_id | No | Session to execute against (uses default if not provided) | |
| detail_level | No | Response detail level | standard |
| attribute_name | No | Required when ``intent="extract"`` and ``mode="attribute"``; the HTML attribute name to read (e.g. ``"href"``, ``"data-testid"``, ``"value"``). Ignored for other modes. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It explains that the intent is resolved based on the session's active library, lists valid intents, and details the deprecation of extract_text. It does not explicitly state whether operations can be mutating (e.g., clicks, fills) or require permissions, but it does give substantive behavior context. A 4 is appropriate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is about 200 words, well-structured with paragraphs and bullet-like lists. It front-loads the purpose and valid intents, then addresses deprecation. It is not overly verbose and conveys key information efficiently, though it could be slightly tightened. A 4 reflects good organization without wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description, combined with the extremely detailed schema (100% coverage) and an output schema, provides a complete picture. It explains the intent resolution, deprecation, and library-dependent behavior. Nothing critical is missing for an agent to call this tool correctly, especially given the parameter-rich schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description itself focuses on the intent mechanism and deprecation, not on individual parameters. All parameter meanings are already exhaustively documented in the schema (mode, force, commit, match, etc.). The description adds no new parameter semantics beyond what the schema provides, hence the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Execute') and resource ('high-level intent that auto-resolves to the correct library keyword'), and lists valid intents. It is clear and not a tautology, though it does not explicitly differentiate from sibling tools like execute_step or execute_flow, so it earns a 4 rather than a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not provide guidance on when to use this tool versus alternatives. It only mentions the deprecated extract_text and prefers extract, but does not say when to choose intent_action over execute_step, execute_flow, or other siblings. No when-to-use or when-not-to-use guidance is present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
manage_attachC
Inspect or control attach bridge configuration.
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | One of: - "status" (default): Check bridge configuration and health - "stop": Send stop command to bridge (sets stop flag) - "cleanup"/"clean": Clean expired sessions and check bridge health - "reset"/"reconnect": Stop bridge and clean all local sessions - "disconnect_all"/"terminate"/"force_stop": Force stop bridge and terminate all | status |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description must carry the full burden of disclosing behavioral traits. 'Inspect or control' hints at mutation but does not disclose the potentially destructive force-stop/terminate/disconnect-all actions, side effects, or reversibility. The action enum documents these, but the description itself is silent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one concise, front-loaded sentence with no filler. It could be slightly more informative about destructive behavior, but as a high-level statement it is efficiently worded and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The rich action enum and presence of an output schema cover much of what an agent needs to invoke the tool, but the top-level description still lacks usage context and safety warnings for a tool with highly destructive actions. It is adequate but has clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter is 100% covered by schema descriptions with an exhaustive enum and per-action semantics, so the description does not need to add parameter detail. It also adds none, which is acceptable given the baseline for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
'Inspect or control attach bridge configuration' names a specific verb and resource, making the tool's scope clear. It is not tautological and the 'attach bridge' resource distinguishes it from the sibling session/library tools, though it does not explicitly reference them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description offers no guidance on when to use this tool versus manage_session or the other siblings, no mention of the default action, and no exclusions. The only usage hints come from the action enum in the schema, which the description itself does not surface.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
manage_library_pluginsC
Inspect or reload library plugins.
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | One of "list", "reload", or "diagnose". | list |
| plugin_name | No | Plugin name when action="diagnose". |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden of explaining behavior. It implies reload is a mutating operation and inspect is non-mutating, but it does not disclose side effects, reversibility, permission requirements, or what diagnose actually does.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four words with no filler, so it is very concise and front-loaded. However, the brevity creates ambiguity by substituting 'inspect' for the schema's more specific 'list' and 'diagnose' actions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with three distinct actions and no annotation coverage, a single generic sentence is not enough. An agent cannot tell what diagnose entails, what reload's consequences are, or when to reach for this tool instead of a sibling. The output schema covers return shape but not these behavioral and usage gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema coverage is 100%, and the schema already documents both parameters, including the action enum and the conditional plugin_name. The description adds no parameter-specific meaning, but the baseline of 3 is appropriate because the schema handles the semantic load.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description identifies a specific resource ('library plugins') and high-level operations ('inspect or reload'), giving a general sense of purpose. However, it collapses the three concrete actions in the schema (list, reload, diagnose) into two umbrella verbs, and it does not explicitly mention 'diagnose' as a distinct operation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided about when to use this tool or how to choose among list, reload, and diagnose. There is no mention of alternatives or exclusions, so the agent must infer usage solely from the schema enum and sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
manage_sessionA
Manage session lifecycle: initialize, configure libraries/variables, and organize tests.
For a NEW scenario, prefer analyze_scenario — it is the front door that CREATES the session (and auto-configures libraries). Use manage_session for explicit session ops on an existing session (importing extra libraries/resources/variables, multi-test structure). Do NOT call action="init" right after analyze_scenario — the session already exists; that only causes redundant churn.
Workflows: Single test: analyze_scenario -> execute_step (repeat) -> build_test_suite Multi-test: analyze_scenario -> set_suite_setup -> start_test -> execute_step (repeat) -> end_test -> start_test -> ... -> build_test_suite (action="init" is the explicit alternative when you are NOT starting from analyze_scenario, e.g. driving a bare session directly.)
Actions and parameters (session_id is always required):
init - Create session and load libraries (explicit entry; for a new
scenario prefer analyze_scenario instead).
Params: libraries (list of library names),
variables (dict or list to pre-set).
import_library - Add a library to an existing session.
Params: library_name, args (constructor args), alias.
import_resource - Import a Robot Framework resource file.
Params: resource_path, args.
set_variables - Set variables in the session.
Params: variables (dict {"NAME": "value"} or list ["NAME=value"]),
scope ("test" | "suite" | "global", default "suite").
import_variables - Load variables from a Python variable file.
Params: variable_file_path, args (passed to get_variables()).
start_test - Begin a named test (enables multi-test mode). Local mode only.
Params: test_name (required),
test_documentation, test_tags,
test_setup (dict {"keyword": "...", "arguments": [...]}),
test_teardown (same format as test_setup).
Alias: start_task.
end_test - End the current test. Local mode only.
Params: test_status ("pass" or "fail", default "pass"),
test_message (optional error description).
NOTE: test_status and test_message are session tracking metadata.
They do NOT affect the .robot file generated by build_test_suite.
Alias: end_task.
add_data_row - Add a data row to the current data-driven (template) test.
Requires an active test with template set via start_test.
Params: args (list of values matching the template keyword's [Arguments]).
Alias: data_row.
Example:
manage_session(action="start_test", test_name="Cart Test",
template="Add And Verify Product")
manage_session(action="add_data_row", args=["Backpack", "1", "$29.99"])
manage_session(action="add_data_row", args=["Bike Light", "2", "$39.98"])
manage_session(action="end_test")
The data rows appear under [Template] in the generated .robot file.
list_tests - List all tests in the session with their status and step counts.
Params: (none).
set_suite_setup - Set a suite-level setup keyword (appears in *** Settings ***).
Params: keyword (required), args (keyword arguments).
set_suite_teardown - Set a suite-level teardown keyword (appears in *** Settings ***).
Params: keyword (required), args (keyword arguments).Returns: Dict with success, session_id, and action-specific details. On failure: error and guidance fields are present.
Examples: Initialize session with libraries: manage_session(action="init", session_id="s1", libraries=["Browser", "BuiltIn", "Collections"])
Set suite-level variables:
manage_session(action="set_variables", session_id="s1",
variables={"BASE_URL": "https://example.com", "TIMEOUT": "30"})
Import a library with constructor arguments:
manage_session(action="import_library", session_id="s1",
library_name="Browser", args=["chromium"])
Load a Python variable file:
manage_session(action="import_variables", session_id="s1",
variable_file_path="config/variables.py",
args=["production", "secret_key"])
Start a named test (multi-test mode):
manage_session(action="start_test", session_id="s1",
test_name="Login Test", test_tags=["smoke"],
test_setup={"keyword": "Open Browser", "arguments": ["chromium"]})
End the current test:
manage_session(action="end_test", session_id="s1")
Set suite setup (for generated .robot file):
manage_session(action="set_suite_setup", session_id="s1",
keyword="New Browser", args=["chromium"])
Set suite teardown:
manage_session(action="set_suite_teardown", session_id="s1",
keyword="Close Browser")| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| alias | No | ||
| scope | No | suite | |
| action | Yes | ||
| keyword | No | ||
| profile | No | ||
| scenario | No | ||
| template | No | ||
| libraries | No | ||
| test_name | No | ||
| test_tags | No | ||
| variables | No | ||
| model_name | No | ||
| model_tier | No | ||
| session_id | No | ||
| test_setup | No | ||
| test_status | No | pass | |
| library_name | No | ||
| test_message | No | ||
| tool_profile | No | ||
| resource_path | No | ||
| test_teardown | No | ||
| test_documentation | No | ||
| variable_file_path | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals important side effects and constraints: init after analyze_scenario causes redundant churn, end_test status is only session tracking metadata and does not affect the generated .robot file, add_data_row rows appear under [Template], and start_test/end_test are local mode only. This is strong, specific behavioral transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but appropriately structured for a multi-action tool: it opens with the key routing warning, then provides workflows, per-action parameters, return behavior, and examples. Every section is useful, and the most important usage guidance is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 24 parameters, no annotations, and zero schema descriptions, the description is unusually comprehensive: it covers workflows, all major actions, return values, failure guidance, and common usage examples. The main gap is the undocumented set_tool_profile/tool_profile-related parameters and a few schema-only fields, leaving some invocation paths unexplained.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 0% description coverage, so the description compensates in detail for most parameters: each action lists its relevant params, and examples clarify data shapes such as variables, test_setup, and args. However, several schema parameters—profile, tool_profile, scenario, model_name, model_tier, and the set_tool_profile action—are not documented in the description, and template is referenced but not listed under start_test params. This prevents a perfect score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence states the tool's scope: "Manage session lifecycle: initialize, configure libraries/variables, and organize tests." It then differentiates itself sharply from analyze_scenario, which is the session-creating front door. This makes the tool's purpose and boundaries immediately clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit when-to-use and when-not-to-use guidance: prefer analyze_scenario for new scenarios, do not call action="init" right after analyze_scenario, and use manage_session for explicit session operations on existing sessions. It also provides concrete single-test and multi-test workflows and an explicit alternative for the init action.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
recommend_librariesA
Recommend libraries for a scenario or generate/merge sampling prompts.
WHEN TO USE THIS TOOL:
IMMEDIATELY after analyze_scenario, before execute_step
When you encounter "No keyword with name" errors
To discover which libraries provide needed functionality
This tool analyzes scenario text and suggests relevant libraries, saving you from guessing which libraries to import.
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of samples to request when mode="sampling_prompt" (defaults to 4). | |
| mode | No | "direct", "sampling_prompt", or "merge_samples". | direct |
| context | No | Context such as "web", "mobile", or "api". Defaults to "web". | web |
| samples | No | Sampled recommendations to merge when mode="merge_samples". | |
| scenario | Yes | Natural-language description of the task to automate. | |
| session_id | No | Optional session id to align recommendations with an existing session. | |
| include_keywords | No | When True, include a compact keyword list (names only) for the top recommendation. | |
| apply_search_order | No | When True, applies recommended order to the session. | |
| check_availability | No | When True, checks installability/presence of suggested libs. | |
| use_llm_refinement | No | When True, uses LLM via ctx.sample() to refine recommendations. | |
| available_libraries | No | Optional pre-fetched library metadata to use instead of registry defaults. | |
| max_recommendations | No | Maximum libraries to return (direct mode). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full disclosure burden, but it only describes a suggestion/analysis behavior. It does not disclose that the default apply_search_order=true can mutate session search order, that check_availability defaults to true and probes the environment, or that use_llm_refinement can invoke ctx.sample(). These are material behavioral traits for an agent deciding whether to call this tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is reasonably compact and front-loaded with the core purpose, followed by scannable bullets. It is slightly repetitive because the opening sentence and the final sentence both express the recommending idea, but the structure helps an agent scan quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output schema and high schema coverage remove the need to describe return values and parameter formats. However, for a 12-parameter, multi-mode tool with no annotations, the description omits important context such as session-mutating defaults and how the sampling/merge modes relate to the main recommendation workflow.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds no parameter-level meaning beyond naming 'scenario' as the input; the schema's own parameter descriptions already carry the mode, k, samples, and flag semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and object: 'Recommend libraries for a scenario or generate/merge sampling prompts.' It reinforces this with 'analyzes scenario text and suggests relevant libraries', and situates it among siblings by saying it runs after analyze_scenario and before execute_step and is used to discover which libraries provide needed functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'WHEN TO USE THIS TOOL' section gives explicit triggers: immediately after analyze_scenario, on 'No keyword with name' errors, and when discovering needed libraries. It lacks explicit when-not-to-use guidance or named alternative tools such as check_library_availability or find_keywords, so it is clear but not a full routing map.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resume_batchA
Resume a failed batch from its failure point, optionally inserting fix steps.
After execute_batch returns status=FAIL with a batch_id, call this to:
Re-run the failed step (with optional fix_steps injected before it)
Continue executing remaining steps from the original batch
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch_id from a failed execute_batch response. | |
| fix_steps | No | Optional steps to execute before retrying the failed step. Same format as execute_batch steps. | |
| timeout_ms | No | Override remaining timeout budget (uses original if omitted). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavior disclosure. It clearly explains that the tool reruns the failed step, optionally injects fix_steps before it, and continues remaining steps from the original batch. It does not discuss side effects or edge cases like repeated failures, but the core execution behavior is transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the core purpose, then uses a numbered list to clarify the exact order of operations. Every sentence earns its place; there is no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description provides the essential precondition, the execution sequence, and the optional fix-step mechanism. Since an output schema exists, return-value details are not required, and the parameter schema covers format specifics. It could be slightly more explicit about not using this tool for non-failed batches, but the current framing is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents each parameter thoroughly. The description adds workflow context around 'fix_steps' and the failure-point relationship, but does not meaningfully expand on parameter formats or defaults beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('resume') with a clear resource ('a failed batch'), and precisely states the behavior: re-run the failed step and continue remaining steps. It clearly differentiates itself from execute_batch by describing the failure-point continuation workflow rather than initial execution.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a specific trigger condition: 'After execute_batch returns status=FAIL with a batch_id, call this to...' This is clear enough for an agent to know when to invoke it. It does not explicitly list exclusions or alternative tools, but the failure condition and step-by-step follow-up make the usage context unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_test_suiteB
Validate or execute a Robot Framework suite.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "dry"/"validate" for dry run; "full" to execute. Defaults to "full". | full |
| session_id | No | Session containing steps to build/execute; optional if suite_file_path is given. | |
| output_level | No | Response verbosity ("minimal", "standard", "detailed"). | standard |
| suite_file_path | No | Path to an existing .robot file to validate/execute. | |
| include_warnings | No | Whether to include warnings in validation output. | |
| validation_level | No | Dry-run validation depth ("minimal", "standard", "strict"). Default "standard". | standard |
| execution_options | No | RF execution options (variables, tags, loglevel, etc.). For ``suite_file_path`` with dry/validate mode, these are forwarded to Robot (e.g. ``variables``, ``include_tags``, ``exclude_tags``, ``test`` / ``tests``, ``pythonpath``, ``loglevel``). Subprocess cap: ``dry_run_timeout`` (preferred), ``dryrun_timeout``, or ``timeout`` (seconds); default comes from config ``DRY_RUN_TIMEOUT``. | |
| capture_screenshots | No | Enable screenshot capture on failures (if supported). |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must disclose behavior on its own. It only states 'validate or execute', but doesn't mention side effects (e.g., whether execution is destructive, whether it generates reports, whether it requires a running session) or any constraints. This is insufficient for an agent to predict the tool's impact, especially given the tool's complexity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the tool's purpose. It avoids unnecessary detail and stays focused, scoring high on efficiency. There is no redundant wording or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having eight parameters, nested options, and an output schema, the one-sentence description does not explain overall workflow, mode selection, or parameter combinations (e.g., session_id vs suite_file_path). The schema covers individual parameters, but the description lacks the high-level context needed for a tool this complex, especially with sibling tools that may overlap in functionality.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides descriptions for all parameters (100% coverage), so the description does not need to repeat them. The description adds nothing about parameter usage, but the baseline is 3 given complete schema coverage. The description's lack of parameter context doesn't degrade the score, as the schema fills the gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Validate or execute a Robot Framework suite.' It specifies the resource (Robot Framework suite) and the actions (validate/execute), which is enough to distinguish it from sibling tools that target individual steps or flows. The verb is specific and the scope is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description offers no guidance on when to use this tool over alternatives like build_test_suite, execute_flow, or execute_step. It neither states conditions nor recommends alternatives, leaving the agent to infer usage from the tool name and schema. There is no mention of prerequisites or typical scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_library_search_orderC
Set explicit library search order for keyword resolution.
| Name | Required | Description | Default |
|---|---|---|---|
| libraries | Yes | Library names in priority order (highest first). | |
| session_id | No | Session to apply the search order to. | default |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are absent, so the description carries the full burden. It only says 'set', which implies a mutation, but does not disclose consequences such as whether the order is replaced entirely, session-specific effects, permissions required, or any side effects. For a mutation tool, this is insufficient disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that front-loads the core action and purpose. There is zero waste—every word contributes meaning. It is optimally concise for its content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description lacks critical behavioral context: what an 'explicit order' means in practice, whether it replaces or merges with existing orders, and how it affects keyword resolution across sessions. Since annotations are missing, the description should fill this gap but does not.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both parameters well-documented ('Library names in priority order (highest first)' and 'Session to apply the search order to'). The description adds no parameter-specific detail beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action 'Set' and the resource 'library search order', with the purpose 'for keyword resolution'. It is distinct from siblings like manage_library_plugins and recommend_libraries, though it does not explicitly name them. The verb and resource are specific enough to differentiate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives. The description only states what it does, with no mention of conditions, exclusions, or scenarios where another tool would be more appropriate. This is a significant gap given the large sibling list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
visual_checkA
Capture a screenshot of the current UI for VISUAL validation (change: visual-inspection-guidance).
Token-cheap by DEFAULT: saves the screenshot to disk and returns the PATH as text — a multimodal agent WITH file access reads that file on demand for checks the DOM/ARIA can't do (canvas/image text, layout/overlap, obscured elements, color, charts). Call get_locator_guidance(library="visual") for when to use it.
Set return_image=true ONLY if your model is multimodal AND cannot read the saved file (e.g. a hosted/remote MCP): the response then includes an image content block. This requires ROBOTMCP_SCREENSHOT_MODE to allow images (image|auto); text-only deployments (mode=file, the default) always return just the path so a text-only model is never sent unsupported image content.
Works across Browser/SeleniumLibrary/AppiumLibrary/PlatynUI (uses the session's screenshot keyword). Degrades cleanly if capture fails.
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| session_id | Yes | ||
| return_image | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description fully carries the burden. It discloses default behavior (saves to disk, returns path), the effect of return_image=true (image content block), the required ROBOTMCP_SCREENSHOT_MODE, and graceful degradation on failure. This is rich and actionable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but every sentence earns its place. It is front-loaded with the core action and then covers options, environment, and compatibility. The structure is logical and not repetitive, though slightly dense.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and no annotations, this description is near-complete: it covers purpose, usage scenarios, return types, environmental requirements, supported libraries, and failure behavior. An agent would have enough context to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate. It thoroughly explains return_image (default false, mode requirements) and implies filename through 'saves the screenshot to disk'. session_id is left inferred, but overall it adds significant meaning to otherwise bare parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Capture a screenshot of the current UI for VISUAL validation'. It explicitly distinguishes the tool's use case (checks DOM/ARIA can't do) from other tools. This makes it easy to differentiate from siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use guidance by listing scenarios like 'canvas/image text, layout/overlap, obscured elements, color, charts' and directs to 'Call get_locator_guidance(library="visual")' for more. It also implies not to use when DOM/ARIA checks suffice.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
19 tool updates
v0.35.0- First observed
analyze_scenario - First observed
build_test_suite - First observed
check_library_availability - First observed
execute_batch - First observed
execute_flow - First observed
execute_step - First observed
find_keywords - First observed
get_keyword_info - First observed
get_locator_guidance - First observed
get_session_state - First observed
intent_action - First observed
manage_attach - First observed
manage_library_plugins - First observed
manage_session - First observed
recommend_libraries - First observed
resume_batch - First observed
run_test_suite - First observed
set_library_search_order - First observed
visual_check
TDQS
Scored across 19 tools
The set has several overlapping clusters: session creation (analyze_scenario vs manage_session init), execution (intent_action, execute_step, execute_batch, execute_flow), and keyword/library discovery (recommend_libraries, find_keywords, get_keyword_info, check_library_availability). The detailed descriptions help differentiate these tools, but the boundaries are not always obvious, and two discovery tools share the same 'No keyword with name' trigger.
Most tools follow a clear verb_noun snake_case pattern such as execute_batch, recommend_libraries, and build_test_suite. A few names deviate—intent_action is noun-oriented and visual_check is adjective+noun—but the overall convention is consistent and readable.
19 tools is on the heavy side and includes several near-duplicate discovery and execution aids that could be consolidated. However, the server covers a broad workflow from scenario analysis through suite generation and visual validation, so the count is not unreasonable for its scope.
The workflow from scenario analysis through keyword discovery, execution, batching, suite generation, and running is well covered. Minor gaps exist, such as no explicit session teardown/reset action and some redundancy among discovery helpers, but agents can work around these.
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Drive real Android & iOS devices and web browsers from natural language for mobile + web QA. 290+ tools across device control, app management, automation sessions, browser automation, and flow recording / replay. Bearer-auth — get a token at robotactions.com → Profile → API Tokens.
Build and run agents and automations across hundreds of apps using natural language.
Browser-based QA for AI-built software. Test pages with real browsers via agents.
Related MCP Servers
- AlicenseBqualityBmaintenanceRobotMCP is a comprehensive Model Context Protocol (MCP) server that bridges the gap between human language and Robot Framework automation. It enables AI agents to understand test intentions, execute steps interactively, and generate complete test suites from successful executions.192,793 PyPI117Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables generating Robot Framework test cases with SeleniumLibrary, creating page object models, and performing performance monitoring through natural language.9 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to execute browser automation, perform QA tasks, and generate test code through natural language commands using Playwright.7-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to drive Robot Framework through natural language, discovering keywords, running live test steps across web, mobile, API, database, and desktop targets, and generating clean .robot test suites from plain-English instructions.Apache 2.0