Skip to main content
Glama

MODEACC

Voir une pièce MODEACC

get_product
Read-onlyIdempotent

Donne le détail d'une pièce MODEACC à partir de son id (donné par search_products) : description, matière, toutes les photos, tailles encore en stock, couleurs, boutique, date de livraison estimée au Maroc et lien pour l'acheter.

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
idYesIdentifiant de la pièce.
langNoLangue des noms et descriptions (défaut : fr).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/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. The description adds substantive behavioral context absent from the annotations and output schema — notably that stock sizes, an estimated Morocco delivery date and a purchase link are returned. It says nothing about caching, freshness of stock/delivery data, or failure when an id is unknown.

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 that opens with the verb and resource, then a dense but purposeful enumeration of returned fields. No filler; the length is justified by the enumerated outputs, though the trailing list is slightly long.

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 no output schema, describing the returned fields is essential and the description does it thoroughly. The lang parameter's effect on the returned names/descriptions is only implied, and error behavior for an invalid id is unaddressed, but nothing critical for calling the tool is missing.

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?

Schema coverage is 100% and both parameters carry descriptions including the lang enum and its fr default, so the baseline is 3. The description goes beyond the schema by explaining the provenance of 'id' (supplied by search_products), which is real added meaning for correct invocation.

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 resource ('Donne le détail d'une pièce MODEACC') and enumerates exactly what is returned — description, matière, photos, tailles en stock, couleurs, boutique, délai Maroc, lien d'achat. This clearly separates it from the search/list siblings.

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?

Explicitly anchors usage by saying the id is 'donné par search_products', which tells the agent this is the follow-up lookup after a search. It does not state when not to use it or contrast with store_info/list_categories, but the intended flow is unambiguous.

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