Skip to main content
Glama

Détail d'une offre

get_product
Read-onlyIdempotent

Rend une offre de destockage-habitat.com par son identifiant (offer_id rendu par search_products) et, au plus 10, les autres offres en ligne du même produit : prix particulier TTC, stock, villes de retrait, livraison et lien vers la fiche, où se fait l'achat. Une offre réservée aux professionnels sort sans prix.

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

Input Schema

NameRequiredDescriptionDefault
offer_idYesIdentifiant de l'offre (offer_id de search_products).

Output Schema

NameRequiredDescriptionDefault
offerYes
other_offersYesAutres offres en ligne du même produit, 10 au plus.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 closed-world, so the safety profile is covered. Beyond that, the description discloses two non-obvious behaviors: the result is capped at 10 related offers, and pro-only offers are returned without a price — exactly the kind of caveat an agent would otherwise misread as missing data.

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?

A single front-loaded sentence states the resource, the id source and the returned payload, with the cap and the pro-offer caveat placed after but still early. The field enumeration (price, stock, cities, delivery, link) is somewhat redundant with the output schema but not enough to bloat the text.

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?

With an output schema present, the description does not need to list return fields, yet it does so briefly while also covering the two behavioral edge cases (10-offer cap, missing price for pro offers). What is missing is failure behavior for an unknown or malformed `offer_id`, which matters for a single-required-parameter lookup tool.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema description already says "offer_id de search_products", so the description's provenance note largely repeats structured data. The only added meaning is the accepted identifier shape implied by the offer-id format, which the pattern field already encodes. Baseline 3 applies when the schema does the work.

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 specific verb and resource ("Rend une offre ... par son identifiant") and immediately scopes it: one offer plus at most the 10 other online offers for the same product. It explicitly ties itself to the sibling `search_products` as the source of `offer_id`, so an agent can tell this is the detail-lookup step rather than the search step.

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?

Usage context is clear: this is the follow-up call once you have an `offer_id` from `search_products`, which is a genuine workflow hint rather than a restatement. There is no explicit when-not or mention of what to do if the id is stale or unknown, so it stops short of full routing guidance.

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