Skip to main content
Glama

get_product

Read-onlyIdempotent

Consulta la ficha pública y las variantes de un producto. Las variantes se devuelven paginadas.

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

Input Schema

NameRequiredDescriptionDefault
product_idYes
variation_pageNo

Output Schema

NameRequiredDescriptionDefault
productYes
variationsYes
variation_pageYes
variation_total_pagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that variants are returned paginated, which is useful behavioral context beyond the annotations, but it does not explain pagination defaults or access requirements. An output schema exists, so return-value details are appropriately omitted.

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?

Two short sentences, front-loaded with the core action and resource. There is no redundant wording, and the pagination note is placed where it matters.

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?

This is a simple two-parameter read tool with annotations and an output schema, so the description does not need to explain return values. However, with 0% schema coverage it should explain both parameters more fully; it only gestures at pagination and leaves product_id semantics undocumented.

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 compensate for both parameters, but it does not. It alludes to 'un producto' and paginated variants, loosely mapping to product_id and variation_page, but gives no identifier constraints, page range, default value, or page-size semantics.

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 uses a specific verb, 'Consulta', and names the resource: a product's public record and its variants. It implicitly distinguishes get_product from search_products by focusing on a single product, though it does not explicitly name the sibling alternative.

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: call this when you already have a product_id and need the product's details and variants. There is no explicit when-not guidance, no mention of when to use search_products instead, and no prerequisites such as whether the product must exist or be public.

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