Skip to main content
Glama

Compraloco

Ver producto

get_product
Read-onlyIdempotent

Devuelve ficha, todas las variantes (variant_id para el checkout), precios COP, stock y fotos. Envío gratis a toda Colombia, pago contraentrega.

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

Input Schema

NameRequiredDescriptionDefault
idYes
product_idNo
include_adultNoSolo true: permite fichas de productos para adultos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully discloses what is returned (variants, COP prices, stock, photos), but the second sentence about free shipping and cash-on-delivery is store policy, not tool behavior, and adds no operational context such as not-found handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is dense and front-loaded with genuinely useful return information. The second sentence is marketing copy about shipping and payment that does not help an agent decide or invoke, so it dilutes an otherwise tight definition.

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?

No output schema exists, so the description must carry the return contract, and it only sketches it (variants, prices, stock, photos) without structure or pagination detail. Combined with an unresolved id versus product_id ambiguity and no mention of failure modes, it is not complete enough for a three-parameter lookup tool.

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?

With schema description coverage at 33%, the description must compensate and does not: it never explains the relationship between the two string identifiers id and product_id, nor when the optional include_adult flag matters. The only parameter-adjacent detail, variant_id, is a return field rather than an input, so the ambiguity an agent would hit when calling this tool remains unresolved.

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?

"Devuelve ficha, todas las variantes (variant_id para el checkout), precios COP, stock y fotos" states a concrete verb (devuelve) plus the exact payload of a product lookup, which is far more specific than the name alone and distinguishes it from transactional siblings like get_checkout or get_order. It stops short of naming any sibling to contrast against, 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says to use this after search_catalog returns an id, or that it is the read path versus get_checkout for purchase flows. The parenthetical "variant_id para el checkout" hints at a handoff to checkout tools but never states the condition or the alternative explicitly.

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