Skip to main content
Glama

Compraloco

Reenviar correo de confirmación

resend_order_confirmation

Reenvía el correo de confirmación (enlace + código de 6 dígitos) de un pedido pendiente. Usa access_token (devuelto por complete_checkout) o el checkout_token del checkout que creó el pedido.

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": {
      "order_id": "<order_id>"
    },
    "name": "resend_order_confirmation"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes
access_tokenNo
checkout_tokenNo

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?

Annotations already flag this as non-read-only, non-idempotent, and open-world, but the description adds the crucial side effect: a real email is sent to the customer containing a link and a 6-digit code, and it only applies to pending orders. It stops short of saying what happens if the order is already confirmed or whether sending can be repeated safely.

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, no filler, with the order-state constraint front-loaded and the credential options following. Nothing here could be cut without losing information.

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?

For a tool with three bare-schema parameters, no output schema, and annotations covering only the safety profile, the description supplies the missing effect, precondition, and credential semantics. Error behavior, recipient confirmation, and rate limits remain undocumented but are secondary.

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 0%, so the description carries the full burden, and it does explain the origin and meaning of both access_token and checkout_token with a concrete provenance for each. It never states that exactly one credential is required or what happens if both or neither are supplied, which is the remaining gap.

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?

Specific verb plus resource: resend the confirmation email for a pending order, and it even specifies what the email contains (link + 6-digit code). That clearly separates it from get_order or verify_order_identity, though it never names a sibling to contrast with explicitly.

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 precondition 'de un pedido pendiente' and the credential guidance (access_token from complete_checkout, or the checkout_token of the checkout that created the order) tell the agent where in the flow this belongs. There is still no explicit when-not guidance or named alternative for other order states.

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