Skip to main content
Glama

Compraloco

Cotizar envío contraentrega

quote_shipping
Read-onlyIdempotent

Plazo de entrega contraentrega en Colombia para un departamento y ciudad opcional. El envío es gratis: el valor siempre es 0.

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": {
      "department": "<department>"
    },
    "name": "quote_shipping"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
quantityNo
departmentYes
variant_idNo
weight_gramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral context that annotations cannot convey: shipping is always free and the quoted value is always 0, which prevents an agent from trying to compute or validate a nonzero cost. It does not describe what else the response contains beyond the timeframe, but with annotations in place this is solid.

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?

Two short sentences with no filler; the delivery-scope constraint is front-loaded and the zero-cost fact follows immediately. Nothing is redundant, though the phrasing 'Plazo de entrega contraentrega' is slightly circular in the opening.

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 five-parameter tool with no output schema and zero schema coverage, the description is thin: it omits what the tool actually returns (a timeframe string? an object?), how quantity, variant_id and weight_grams influence the result, and any validation rules for the department/city pair. An agent could call it, but only by guessing at the majority of the inputs.

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% across five parameters, so the description must carry the meaning and it only covers two: department (required) and city (optional). quantity, variant_id and weight_grams — including weight, which is the most consequential input for a shipping estimate — are undocumented in both schema and description, leaving the agent to guess their effect.

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 names the concrete resource and scope: delivery timeframe for cash-on-delivery (contraentrega) shipping in Colombia, keyed on a department and an optional city. An agent can tell this is a shipping-quote lookup rather than a checkout mutation. It stops short of a crisp verb ('quote'/'estimate') and never distinguishes itself from the checkout siblings, so it is clear but not fully differentiated.

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 COD/Colombia scoping implicitly signals when the tool applies (quoting delivery for a contraentrega order), but there is no explicit when-to-use statement, no exclusions, and no pointer to any alternative such as the checkout tools that would consume this quote. Usage is inferable rather than stated.

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