Skip to main content
Glama

dosvirgos · Tienda de coleccionables

Ver producto

get_product
Read-only

Usala cuando ya tenés el código de un producto (de search_products o de un link /p/CÓDIGO) y necesitás decidir si sirve. Devuelve precio, estado con su explicación, defectos con su gravedad, qué incluye, idioma, edición, medidas, peso, descripción completa y todas las fotos.

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

Input Schema

NameRequiredDescriptionDefault
codigoYesCódigo del producto, ej. C072. No distingue mayúsculas.

Output Schema

NameRequiredDescriptionDefault
productoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful behavioral context beyond that: it enumerates exactly what the payload covers (condition with its explanation, defects with severity, included items, language, edition, measurements, weight, description, all photos), which tells the agent this is a decision-support read rather than a bare lookup. It does not say what happens when the code does not exist, which is the main remaining gap.

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?

One tight sentence pair: the usage condition comes first, followed by the return inventory, with no filler or repetition. Every clause carries information the agent needs.

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 one-parameter read tool with an output schema and read-only annotations, this is nearly complete: the trigger, the argument source, and the payload scope are all present. Only the behavior on a missing or invalid code is left unstated, which is a minor but real omission.

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?

With a single parameter and 100% schema coverage, the schema already documents the format and case-insensitivity. The description still adds meaning the schema lacks by explaining where the value comes from (search_products results or a /p/CÓDIGO link), which helps an agent construct the argument correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb-and-resource outcome ("Devuelve precio, estado con su explicación, defectos con su gravedad...") and frames the tool's job as fetching the full detail of one product by code in order to decide whether it is suitable. It also distinguishes itself from the sibling search_products by positioning that tool as the place the code comes from, so an agent can tell the two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives an explicit trigger condition: use it when you already have the code (from search_products or a /p/CÓDIGO link) and need to judge the product. That implicitly routes the no-code case to search_products. There is no explicit when-not-to-use statement or mention of the other siblings (get_order_status, create_cart_link, quote_shipping), so it stops just short of a full routing rule.

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