Skip to main content
Glama

Enviar aviso de prueba al webhook

enviar_webhook_prueba

SÓLO MODO PRUEBA: manda UN aviso de prueba, firmado igual que los reales y marcado con "mode": "test", al webhook del comercio, para comprobar que su servidor lo recibe, verifica la firma y responde 2xx. Eventos: link.pagado o transaccion.rechazada (el webhook tiene que estar suscrito a ese evento). Sólo a URLs públicas, hasta 10 por hora. Dice si el servidor respondió y con qué código, nada más.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "enviar_webhook_prueba"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventoNopor omisión link.pagado
link_idNoid de un enlace de PRUEBA tuyo, para que el aviso lleve sus datos; sin él se usa uno inventado
webhook_idNoid del webhook (listar_webhooks); sólo hace falta si hay varios activos

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the 10-per-hour rate limit, that only public URLs are accepted, that the payload is signed identically to real events and tagged mode=test, and that the response is limited to success/failure plus the HTTP status code. These are exactly the side effects and constraints an agent needs before firing an outbound call to a third-party server.

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?

Front-loads the hard constraint ("SÓLO MODO PRUEBA"), then packs event options, rate limit and return behavior into a few dense sentences with no filler. Every clause carries an operational constraint.

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?

No output schema exists, and the description explicitly bounds the return value to whether the server responded and with which code, so the agent knows what to expect. Rate limits, URL restrictions, event prerequisites and payload marking are all covered for a zero-required-parameter mutation tool.

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

Parameters4/5

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

Schema description coverage is already 100%, so the baseline is 3; the description adds real meaning on top by noting the webhook must be subscribed to the selected event and that the notice carries the link's data. The fallback behavior for link_id and the webhook_id-only-if-multiple case are restated from the schema rather than expanded.

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

Purpose5/5

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

States a specific verb and resource ("manda UN aviso de prueba ... al webhook del comercio") plus the distinguishing scope marker "SÓLO MODO PRUEBA" and the "mode": "test" payload flag. An agent can tell this apart from ver_entregas_webhook or ver_webhook without opening any schema.

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?

Gives a clear when-to-use condition: to confirm the merchant's server receives the notice, verifies the signature and answers 2xx, and adds the prerequisite that the webhook must be subscribed to the chosen event. It states limits (public URLs only, 10 per hour) but never names a sibling alternative for related needs such as inspecting past deliveries, so it stops short of explicit when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources