Skip to main content
Glama

Previsualizar una alerta

alertas_previsualizar
Read-onlyIdempotent

Antes de crear_alerta: cuántas subastas activas coinciden ahora con esos filtros y una muestra de hasta 5 ids (las más recientes), para ajustar filtros demasiado estrechos o amplios. Mismos filtros y reglas de plan que crear_alerta. No crea nada ni consume cuota.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filtros": "<filtros>"
    },
    "name": "alertas_previsualizar"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtrosYesFiltros de la alerta. Sin provincia la alerta es nacional (requiere un plan que lo incluya).

Output Schema

NameRequiredDescriptionDefault
notaNo
errorNoCódigo de error del API, si la llamada falla.
activasNo
messageNo
muestraNo
_limitesNoCupos y rate limit restantes tras la llamada.
filtros_aplicadosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / filtros_aplicados
      Added value: +{
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive semantics, so the description's real contribution is the plan-gating note ('mismos ... reglas de plan que crear_alerta') and the explicit 'no consume cuota', neither of which is derivable from the annotations. It also bounds the sample at 5 most-recent ids, which is behavioral detail the schema does not express. Return shape details are left to the output schema.

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?

Two dense sentences, front-loaded with the prerequisite relationship and the payload description. Nothing is repeated from the annotations and no filler phrases appear.

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 for the return values and annotations for safety, the description covers the missing pieces an agent needs: purpose, ordering relative to crear_alerta, plan constraints, and quota cost. Only minor gap is that it does not contrast with search-style siblings like buscar_bienes if an agent wanted to preview by listing instead.

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

Parameters3/5

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

Schema description coverage is 100% and the single nested 'filtros' object is documented field by field, so the schema does the heavy lifting. The description only adds that filters follow crear_alerta's rules and that a missing provincia makes the alert national, which is marginal added meaning 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?

States exactly what the tool returns: how many active auctions currently match the filters, plus a sample of up to 5 ids (the most recent ones). It also names the sibling it precedes (crear_alerta), so the agent can separate preview from creation without opening either schema.

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

Usage Guidelines5/5

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

Explicitly positions the tool as a pre-step: 'Antes de crear_alerta', with the stated goal of adjusting filters that are too narrow or too broad. It also states the negative conditions (creates nothing, consumes no quota) and that filter and plan rules are identical to crear_alerta, leaving little to infer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.