Skip to main content
Glama

Crear una alerta

crear_alerta

Crea una alerta: los bienes nuevos que cumplan los filtros llegan por email. Aplica los límites del plan (número de alertas, altas al mes, alertas nacionales o por grupo de tipo de bien). Los filtros no se pueden editar después: para cambiarlos, borra y crea otra.

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": "crear_alerta"
  }
}

Input Schema

NameRequiredDescriptionDefault
envioNoagrupado (por defecto), individual (no en alertas nacionales) o sin_email (solo avisos en la web).
tituloNoNombre de la alerta (opcional).
filtrosYesFiltros de la alerta. Sin provincia la alerta es nacional (requiere un plan que lo incluya).

Output Schema

NameRequiredDescriptionDefault
idNo
envioNo
errorNoCódigo de error del API, si la llamada falla.
activaNo
creadaNo
tituloNo
filtrosNo
messageNo
_limitesNoCupos y rate limit restantes tras la llamada.
nacionalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses meaningful behavior: email delivery of new matches, plan-imposed quotas (number of alerts, monthly creations, national or asset-group alerts), and the immutability of filters after creation. It does not describe the response payload, but an output schema exists.

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

Conciseness4/5

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

Three dense sentences, front-loaded with the core action and outcome, then constraints. No filler, though the plan-limit sentence packs several distinct rules into one clause and could be slightly clearer.

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?

With annotations, a full output schema, and 100% parameter coverage, the description supplies the remaining decision-relevant context: quotas, immutability, and delivery mode. Only minor gaps remain, such as what happens when a plan limit is exceeded.

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 every parameter, including the nested filtros object, is already documented in the schema. The description adds only the rule that omitting provincia makes the alert national and requires a plan that includes it, which is largely restated from the schema. Baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource ("Crea una alerta") and immediately explains the outcome: new assets matching the filters arrive by email. It is clearly distinguishable from siblings like borrar_alerta or pausar_alerta, though it never names them explicitly.

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?

It gives a concrete usage rule: filters cannot be edited afterwards, so to change them you must delete and create another — effectively routing the agent to borrar_alerta plus a re-creation. It also flags plan limits as a precondition, but does not cover other alternatives such as pausar_alerta for temporary stops.

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.