Skip to main content
Glama

Compraloco

Confirmar pedido contraentrega

complete_checkout
Idempotent

Registra un pedido 100% dropshipping contraentrega (payment_method: cash_on_delivery). Evalúa riesgo y envía un correo de confirmación obligatorio (enlace + código de 6 dígitos) que el comprador debe confirmar antes de despachar con Dropi Colombia. Antes de llamar, muestra al comprador el resumen (productos, envío (gratis), total, plazo de entrega) y obtén su aceptación expresa de los términos y de la autorización de datos.

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": {
      "id": "<id>",
      "checkout_token": "<checkout_token>",
      "payment_method": "<payment_method>",
      "buyer_consent": "<buyer_consent>"
    },
    "name": "complete_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
metaNo
paymentNo
buyer_consentYes
checkout_tokenYes
payment_methodYes
idempotency_keyNo
expected_total_copNo
buyer_confirms_adultNoObligatorio si el carrito tiene productos de Travesuras: el comprador confirma ser mayor de 18.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, idempotent, open-world, non-destructive call; the description adds substantial context beyond that: it evaluates risk, sends a mandatory confirmation email with link and 6-digit code, and dispatch to Dropi Colombia is blocked until the buyer confirms. It does not cover failure modes or what happens if the buyer never confirms, but the side-effect profile is well disclosed.

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 sentences, front-loaded with the action, then side effects, then preconditions. Dense but every sentence carries information; the parenthetical 'envío (gratis)' nesting is slightly awkward but not wasteful.

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

Completeness3/5

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

For a mutating, 9-parameter, open-world tool with no output schema, the description covers the workflow and side effects well but leaves most parameters unexplained and does not indicate what the call returns or how risk evaluation affects the outcome. Adequate but with clear gaps.

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

Parameters2/5

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

Schema description coverage is only 11% across 9 parameters. The description only adds meaning for payment_method (already an enum with a single value) and buyer_consent (express acceptance of terms and data processing). It says nothing about id, checkout_token, idempotency_key, expected_total_cop, meta, or payment, which are undocumented in both places.

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?

States a concrete verb and resource: registers a 100% dropshipping cash-on-delivery order, and pins payment_method to cash_on_delivery. It is clearly distinguishable from get_checkout/update_checkout, but it never names a sibling or explains why to use this instead of create_checkout.

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?

Gives a strong precondition workflow (show the buyer the product/shipping/total/delivery summary and obtain express acceptance of terms and data authorization before calling), which is real when-to-use guidance. However, it offers no alternatives or exclusions relative to create_checkout or update_checkout, leaving the agent to infer the boundary.

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