Skip to main content
Glama

defacto_get_product

Fetch complete DeFacto product details from a product URL or site path, including prices, sizes, stock, variants, attributes, reviews, and images.

Instructions

Full detail of one DeFacto product.

product: a full defacto.com.tr product URL or site path, e.g. "https://www.defacto.com.tr/100-pamuk-bisiklet-yaka-kolsuz-midi-elbise-3511234" (the trailing "-" is the product variant id — find one with defacto_search_products first). Returns name, product code, category breadcrumb, colour, season, list / discounted / campaign prices in TRY, sizes with per-size stock, colour variants, description, the Ürün Bilgileri attributes, review count and fit percentages, and image URLs.

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

Input Schema

NameRequiredDescriptionDefault
productYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose that the return payload is read-only product data including per-size stock and TRY prices. However, it says nothing about failure modes — invalid URL, unknown variant id, rate limiting, or region/site restrictions — which matters for a fetch-by-identifier tool.

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?

Front-loaded with the one-line purpose, then input format, then return contents in a sensible order, with no filler or marketing language. The long return-value enumeration is somewhat redundant given an output schema exists, costing a little tightness.

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 fetch tool with an output schema and no annotations, the description covers what an agent needs to construct a valid call and anticipate the payload. The main gap is operational behavior — errors and access constraints — rather than anything about the input or output shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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, and it does thoroughly: the single parameter is defined as a full product URL or site path, illustrated with a concrete example, and the trailing '-<id>' segment is explained as the product variant id plus how to obtain it. This is meaning well beyond the bare string schema.

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?

States a specific verb and scope — 'Full detail of one DeFacto product' — which is immediately distinguishable from the list/search siblings. It also pins the resource to a single product identified by URL or site path, so an agent knows exactly what entity this returns.

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?

The description explicitly names the prerequisite route: find the product id 'with defacto_search_products first', which effectively tells the agent to search before fetching. It does not state explicit exclusions (e.g. don't use for browsing categories or bulk listing), so it falls short of a full when/when-not statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.