Skip to main content
Glama

Compraloco

Confirmar pedido con código del correo

verify_order_identity
Idempotent

Confirma un pedido contraentrega mediante el código de 6 dígitos enviado al correo electrónico del comprador (y access_token, o el checkout_token del checkout que creó el pedido) para liberar el despacho inmediato con Dropi Colombia.

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>",
      "code": "<code>"
    },
    "name": "verify_order_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
codeYes
tokenNo
order_idYes
access_tokenNo
checkout_tokenNo
challenge_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds the concrete effect of the mutation (releasing immediate dispatch) and the alternative auth paths (access_token or the checkout_token from the checkout that created the order). It does not disclose what happens on an invalid or expired code, whether attempts are limited, or whether state changes are reversible.

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?

A single dense sentence with the action and its purpose front-loaded, and no filler. The nested parenthetical listing the token options is slightly hard to parse but each clause carries information.

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

Completeness2/5

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

For a 7-parameter mutation tool with zero schema coverage and no output schema, the description is thin: it omits one required parameter entirely, does not explain which credential combination is valid, and says nothing about failure modes or what a successful confirmation returns. It explains the happy path well but leaves the agent under-equipped for anything else.

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 0%, so the description must carry parameter meaning, and it only partly does: it explains that `code` is 6 digits and that either `access_token` or `checkout_token` may be supplied. It never mentions `order_id`, which is one of the two required parameters, nor `id`, `token`, or `challenge_token`, leaving the agent to guess at the auth-combination rules.

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 specific verb and resource: confirming a cash-on-delivery order using a 6-digit code sent to the buyer's email, with the concrete goal of releasing immediate dispatch via Dropi Colombia. The action is unambiguous, but it never names or distinguishes itself from siblings such as resend_order_confirmation or get_order.

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?

Usage is implied by mentioning that the code comes from the buyer's email and that success releases dispatch, so an agent can infer this is the post-purchase confirmation step. There is no explicit when-not guidance, no statement about what to do if the code was never received (the obvious resend_order_confirmation case), and no prerequisite ordering relative to get_order.

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