Skip to main content
Glama

regexcronsql-validator

Server Details

Valida regex, cron y SQL contra ejecucion real. Pago por llamada via x402/USDC.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
encodi/regexcronsql-validator
GitHub Stars
0
Server Listing
regexcronsql-validator

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a completely different domain: cron expressions, regular expressions, and SQL queries. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow the same 'validar_' prefix followed by the target domain (cron, regex, sql). This creates a clear and predictable pattern.

Tool Count5/5

With exactly three tools for three distinct validation areas, the count is well-scoped and each tool justifies its existence.

Completeness5/5

The server fully covers the stated purpose of validating cron, regex, and SQL. Each tool provides meaningful execution and results, leaving no obvious gaps.

Available Tools

3 tools
validar_cronValidar expresión cronAInspect

Calcula las próximas ejecuciones reales de una expresión cron usando cron-parser (no una suposición del modelo sobre cuándo dispararía). Interpreta los campos en UTC para que el resultado no dependa de la zona horaria del servidor que corre la tool. Cuesta $0.02 USDC (Base) por llamada.

ParametersJSON Schema
NameRequiredDescriptionDefault
countNoCantidad de próximas ejecuciones a devolver. Default 5, máximo 20.
from_dateNoFecha ISO 8601 desde la cual calcular las próximas ejecuciones (ej: "2026-08-07T00:00:00Z"). Si se omite, se usa el momento actual.
cron_expressionYesExpresión cron estándar de 5 campos (minuto hora día-mes mes día-semana), 6 con segundos, o un atajo como "@daily". Ej: "0 9 * * 1-5" = 9am de lunes a viernes.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorYesMensaje de error si valid_expression es false; null si es válida.
next_executionsYesFechas ISO 8601 en UTC de las próximas ejecuciones, en orden cronológico.
valid_expressionYesfalse si la expresión cron no es válida.
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses that it uses cron-parser for real calculations (not model guesses), interprets fields in UTC for deterministic results, and costs $0.02 USDC per call. These are meaningful behavioral details, though error handling and edge cases are not covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core function, then adds parser details, UTC handling, and cost. Every sentence provides distinct value with no redundancy or fluff, making it highly concise and well-structured.

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

Completeness4/5

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

Given an output schema exists, the description does not need to explain return values. It covers the tool's purpose, calculation method, timezone behavior, and cost, which is quite complete for a simple computation tool. However, it lacks explicit usage guidelines and error behavior, preventing a perfect score.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description adds context about UTC interpretation and cron-parser usage, which indirectly informs how parameters like cron_expression and from_date behave, but it does not add explicit parameter-level semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool calculates the next real executions of a cron expression using cron-parser, which is a specific verb+resource. It distinguishes itself from sibling tools (validar_regex, validar_sql) by focusing on cron expressions and their execution timing, not just regex or SQL validation.

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

Usage Guidelines3/5

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

The description implies usage by explaining it computes next executions and uses a real parser, but it does not explicitly state when to use this tool vs alternatives or provide exclusions. The UTC timezone note and cost hint at appropriate contexts, but no direct comparison to siblings is given, so guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

validar_regexValidar expresión regularAInspect

Ejecuta un patrón de expresión regular (motor nativo de JavaScript) contra una lista de strings de prueba y devuelve, para cada uno, si hizo match, el match completo y los grupos capturados. Usa RegExp real, no una suposición del modelo sobre qué haría el patrón. Cuesta $0.02 USDC (Base) por llamada.

ParametersJSON Schema
NameRequiredDescriptionDefault
flagsNoFlags de RegExp de JavaScript a aplicar (ej: "gi" para global + case-insensitive). Vacío por defecto.
patternYesEl patrón de la expresión regular, sin delimitadores de barra (ej: "^[0-9]{3}-[0-9]{4}$", no "/^[0-9]{3}-[0-9]{4}$/").
test_stringsYesLista de strings a evaluar contra el patrón, uno por uno. Máximo 50 strings, 2000 caracteres cada uno.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorYesMensaje de error si valid_pattern es false; null si es válido.
resultsYesUn resultado por cada test_string, en el mismo orden en que se recibieron.
valid_patternYesfalse si el patrón no es una expresión regular válida en JS.
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It discloses the use of the native JavaScript engine, per-call cost, and the output structure (match, full match, captured groups). However, it does not mention error handling for invalid regex patterns or potential timeouts, which is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences long, front-loaded with the main verb 'Ejecuta' and resource. Every sentence adds value: function, reliability disclaimer, and cost. No wasted words, ideal for quick agent parsing.

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

Completeness4/5

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

The description covers the tool's core purpose, output details, and cost, and an output schema exists to handle return values. It does not explain behavior for invalid regex or edge cases, but that is a minor omission given the tool's simplicity and other structured metadata. Overall, it is adequately complete.

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

Parameters3/5

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

Schema description coverage is 100%, so the input schema already fully documents all three parameters. The description adds no additional parameter-level detail, merely restating 'patrón' and 'strings de prueba' conceptually. Baseline 3 is appropriate here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Ejecuta') and resource ('expresión regular'), and clearly differentiates itself from sibling validators (validar_cron, validar_sql) by focusing on regex execution. It also explains what it returns, making its purpose unambiguous.

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

Usage Guidelines4/5

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

The description implies usage for validating regex against test strings and emphasizes that it uses the real JavaScript engine rather than a model's guess, which is a strong guideline for when to rely on it. It does not explicitly mention alternatives like validar_cron or validar_sql, but the sibling list and regex-specific wording provide sufficient context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

validar_sqlValidar consulta SQLAInspect

Ejecuta una consulta SQL (dialecto Postgres, motor pg-mem en memoria) contra tablas de prueba opcionales y devuelve las filas reales resultantes. Usa un motor SQL real, no una suposición del modelo sobre qué devolvería la query. Sin base de datos persistente: las tablas se crean desde cero en cada llamada y se descartan al terminar. Cuesta $0.04 USDC (Base) por llamada.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesLa consulta SQL a ejecutar (ej: "SELECT nombre FROM clientes WHERE activo = true"). Máximo 5000 caracteres.
tablesNoTablas de prueba a crear antes de correr la query. Omitir si la query no referencia ninguna tabla. Máximo 5 tablas.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rowsYesFilas resultantes de la ejecución real de la query, hasta un máximo de 500.
errorYesMensaje de error si valid_query es false; null si es válida.
truncatedYestrue si el resultado real tenía más de 500 filas y se cortó.
valid_queryYesfalse si la query tiene un error de sintaxis o de ejecución (ej: tabla inexistente).
Behavior5/5

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

With no annotations provided, the description provides rich behavioral context: it uses pg-mem (in-memory) with Postgres dialect, tables are created and discarded each call (no persistence), costs $0.04 per call, and returns actual rows. This goes beyond basic function and reveals key operational traits, enabling the agent to anticipate side effects and costs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three concise sentences, each earning its place: function, value proposition (real engine), and behavior (ephemeral tables, cost). It is front-loaded with the core purpose and avoids redundancy. Ideal length for the tool's complexity.

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

Completeness5/5

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

Given the tool's moderate complexity, the description covers all key aspects: execution mechanics, engine/dialect, test tables, return value, persistence, and cost. It also benefits from a full output schema (context signal) and complete parameter descriptions in the schema, so the description is sufficient for effective use.

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

Parameters3/5

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

Schema description coverage is 100%, so the input schema already documents both query and tables. The tool description adds minimal semantic value beyond the schema, merely mentioning 'tablas de prueba opcionales' without additional detail. Per the baseline rule for high coverage, this scores a 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Ejecuta una consulta SQL (dialecto Postgres, motor pg-mem en memoria) contra tablas de prueba opcionales y devuelve las filas reales resultantes.' It specifies the verb (ejecuta), resource (consulta SQL), and distinct scope (test tables, returns rows). The distinction from siblings ('validar_cron', 'validar_regex') is implicit through the focus on SQL execution, making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description implies when to use the tool: 'Usa un motor SQL real, no una suposición del modelo sobre qué devolvería la query.' This signals that the tool is for situations requiring actual SQL execution rather than model inference. It also notes optional test tables and cost, providing practical context. However, it does not explicitly name alternatives or exclusions, so it falls short of a perfect score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables testing webhook endpoints by sending HTTP requests with custom headers, method, and body, measuring latency and TLS info, with pay-per-call via x402 micropayments.
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.