Skip to main content
Glama

Nitech — heating spare parts and ordering

quote_cart_shipping

Read-onlyIdempotent

Calculer le port actuel depuis les produits, profils et zones Nitech relus à chaque appel. Entrées : pays, code postal requis pour la France, product_id et quantity. Limites : 30 lignes, 100 unités par produit, 300 au total. Renvoie HT, TVA, TTC, zone, groupes tarifaires et politique observée. Ce résultat n’est pas une réservation ; aucune commande n’est créée ; montant à relire lors d’une future commande. Le calcul commercial des boutiques reste autoritaire. Livraison GLS optionnelle : delivery={mode:gls_pickup,relay_id}, identifiant obtenu par search_relay_points ; destination de recherche complète requise pour les devis. Aucun champ libre de relais. Le récapitulatif confirmed=false porte le mode, le relais vérifié, les frais et le total. Conserver identité/email/téléphone du destinataire, et facturation indépendante. Toute modification exige un nouvel aperçu et un nouvel accord/token ; jamais de remplacement silencieux du relais. Lire category et fields (path, reason, expected_correction) dans les erreurs. Corriger la saisie si demandé ; destination_not_served appelle une autre destination ou Nitech ; temporarily_unavailable appelle la même demande sans accuser l’adresse. Après correction : nouveau devis, puis coordonnées et montant à faire confirmer avant création. Aucun contrôle postal réel.

Input Schema

NameRequiredDescriptionDefault
linesYes
deliveryNo
destinationYes

Output Schema

NameRequiredDescriptionDefault
zoneNo
errorNo
linesNo
noticeNo
statusNo
parcelsNo
currencyNo
deliveryNo
tax_rateNo
warningsNo
read_onlyNo
tax_basisNo
destinationNo
observed_atNo
parcel_basisNo
parcel_countNo
order_createdNo
rules_appliedNo
effective_fromNo
policy_versionNo
schema_versionNo
shipping_amount_htNo
shipping_amount_ttcNo
commercial_authorityNo
effective_from_basisNo
must_recheck_at_orderNo
result_is_reservationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "required": [
      +        "delivery"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "destination": {
      +          "required": [
      +            "country_code",
      +            "postal_code",
      +            "address_line1",
      +            "city"
      +          ]
      +        }
      +      }
      +    }
      +  }
      +]
    • addedInput schema / properties / delivery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "mode": {
      +      "const": "gls_pickup"
      +    },
      +    "relay_id": {
      +      "pattern": "^[A-Za-z0-9_-]{1,80}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "mode",
      +    "relay_id"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / destination / properties / address_line1
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / destination / properties / city
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / delivery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "mode": {
      +      "const": "gls_pickup"
      +    },
      +    "relay": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "address": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address_line1": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "address_line2": {
      +              "maxLength": 161,
      +              "minLength": 0,
      +              "type": "string"
      +            },
      +            "city": {
      +              "maxLength": 100,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "country_code": {
      +              "pattern": "^[A-Z]{2}$",
      +              "type": "string"
      +            },
      +            "postal_code": {
      +              "maxLength": 12,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "address_line1",
      +            "address_line2",
      +            "postal_code",
      +            "city",
      +            "country_code"
      +          ],
      +          "type": "object"
      +        },
      +        "holidays_gls": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "EndDate": {
      +                "format": "date",
      +                "type": "string"
      +              },
      +              "StartDate": {
      +                "format": "date",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "StartDate",
      +              "EndDate"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 100,
      +          "type": "array"
      +        },
      +        "name": {
      +          "maxLength": 120,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "opening_hours": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "breaks": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 10,
      +                "type": "array"
      +              },
      +              "day": {
      +                "enum": [
      +                  "MON",
      +                  "TUE",
      +                  "WED",
      +                  "THU",
      +                  "FRI",
      +                  "SAT",
      +                  "SUN"
      +                ]
      +              },
      +              "periods": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "from": {
      +                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
      +                      "type": "string"
      +                    },
      +                    "to": {
      +                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$|^24:00$",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "from",
      +                    "to"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 10,
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "day",
      +              "periods",
      +              "breaks"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 7,
      +          "type": "array"
      +        },
      +        "relay_id": {
      +          "pattern": "^[A-Za-z0-9_-]{1,80}$",
      +          "type": "string"
      +        },
      +        "working_days_gls": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "Breaks": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "OpeningHours": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "From": {
      +                          "maximum": 86400000,
      +                          "minimum": -3600000,
      +                          "type": "integer"
      +                        },
      +                        "To": {
      +                          "maximum": 86400000,
      +                          "minimum": -3600000,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "From",
      +                        "To"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 10,
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "OpeningHours"
      +                ],
      +                "type": "object"
      +              },
      +              "DayOfWeek": {
      +                "enum": [
      +                  "MON",
      +                  "TUE",
      +                  "WED",
      +                  "THU",
      +                  "FRI",
      +                  "SAT",
      +                  "SUN"
      +                ]
      +              },
      +              "OpeningHours": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "OpeningHours": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "From": {
      +                          "maximum": 86400000,
      +                          "minimum": -3600000,
      +                          "type": "integer"
      +                        },
      +                        "To": {
      +                          "maximum": 86400000,
      +                          "minimum": -3600000,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "From",
      +                        "To"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 10,
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "OpeningHours"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "DayOfWeek",
      +              "OpeningHours"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 7,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "relay_id",
      +        "name",
      +        "address"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "mode",
      +    "relay"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "EMPTY_CART",
      -  "INVALID_QUANTITY",
      -  "INVALID_ARGUMENTS",
      -  "PRODUCT_NOT_AVAILABLE",
      -  "INCOMPLETE_LOGISTICS_PROFILE",
      -  "DESTINATION_NOT_SERVED",
      -  "ZONE_UNDETERMINED",
      -  "CURRENT_RULE_UNSUPPORTED",
      -  "SOURCE_UNAVAILABLE",
      -  "BACKEND_ACCESS_DENIED",
      -  "BACKEND_TIMEOUT",
      -  "BACKEND_UNAVAILABLE",
      -  "BACKEND_RESPONSE_INVALID",
      -  "BACKEND_RESPONSE_TOO_LARGE",
      -  "CANONICAL_INVALID",
      -  "CANONICAL_UNAVAILABLE"
      -]New value: +[
      +  "EMPTY_CART",
      +  "INVALID_QUANTITY",
      +  "INVALID_ARGUMENTS",
      +  "PRODUCT_NOT_AVAILABLE",
      +  "INCOMPLETE_LOGISTICS_PROFILE",
      +  "DESTINATION_NOT_SERVED",
      +  "ZONE_UNDETERMINED",
      +  "CURRENT_RULE_UNSUPPORTED",
      +  "SOURCE_UNAVAILABLE",
      +  "BACKEND_ACCESS_DENIED",
      +  "BACKEND_TIMEOUT",
      +  "BACKEND_UNAVAILABLE",
      +  "BACKEND_RESPONSE_INVALID",
      +  "BACKEND_RESPONSE_TOO_LARGE",
      +  "CANONICAL_INVALID",
      +  "CANONICAL_UNAVAILABLE",
      +  "GLS_UNAVAILABLE",
      +  "RELAY_INVALID",
      +  "RELAY_NOT_ELIGIBLE"
      +]
    • changedOutput schema / properties / error / properties / next_action / enum
      Previous value: -[
      -  "correct_then_requote_and_confirm",
      -  "change_destination_or_contact_nitech",
      -  "retry_same_request",
      -  "reconcile_same_key_same_arguments",
      -  "renew_confirmation",
      -  "contact_nitech"
      -]New value: +[
      +  "correct_then_requote_and_confirm",
      +  "change_destination_or_contact_nitech",
      +  "retry_same_request",
      +  "reconcile_same_key_same_arguments",
      +  "renew_confirmation",
      +  "contact_nitech",
      +  "search_relay_then_requote_and_confirm",
      +  "change_delivery_then_requote_and_confirm"
      +]
  2. Changed4 schema fields changed
    • addedOutput schema / properties / error / properties / arguments_may_change
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / error / properties / category
      Added value: +{
      +  "enum": [
      +    "invalid_input",
      +    "destination_not_served",
      +    "temporarily_unavailable",
      +    "operation_uncertain",
      +    "other_rejection"
      +  ]
      +}
    • addedOutput schema / properties / error / properties / fields
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "expected_correction": {
      +        "maxLength": 600,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "path": {
      +        "maxLength": 160,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "reason": {
      +        "maxLength": 80,
      +        "pattern": "^[a-z_]+$",
      +        "type": "string"
      +      },
      +      "validation_layer": {
      +        "enum": [
      +          "format",
      +          "serviceability",
      +          "reference",
      +          "technical"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "reason",
      +      "expected_correction",
      +      "validation_layer"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 25,
      +  "type": "array"
      +}
    • addedOutput schema / properties / error / properties / next_action
      Added value: +{
      +  "enum": [
      +    "correct_then_requote_and_confirm",
      +    "change_destination_or_contact_nitech",
      +    "retry_same_request",
      +    "reconcile_same_key_same_arguments",
      +    "renew_confirmation",
      +    "contact_nitech"
      +  ]
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/closed-world, and the description adds substantial context beyond them: recomputation on every call, no reservation or order created, the shop's commercial calculation remains authoritative, recipient identity/email/phone must be preserved, any change requires a new preview and fresh consent/token, and relay replacement is never silent.

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?

Purpose is front-loaded and nearly every sentence adds operational value (limits, return fields, relay flow, error taxonomy). It is dense and semi-colon heavy with no grouping, which makes it harder to scan than it needs to be, but there is little outright filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only pricing tool with nested inputs and an output schema, the description covers what's needed: inputs and limits, return fields (HT, TVA, TTC, zone, tarifs, confirmed=false), relay workflow, error structure (category/fields/path/reason/expected_correction), and the required confirmation sequence before order creation.

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 0% schema description coverage the description carries the burden and does well: it names pays, postal code required for France, product_id/quantity, the 30-line / 100-per-product / 300-total caps, and the delivery={mode:gls_pickup, relay_id} shape including where relay_id comes from. It does not individually clarify the conditional address_line1/city requirement except via the general 'destination de recherche complète' phrase.

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?

States a specific verb and resource ('Calculer le port actuel') and clarifies the data source (produits, profils, zones Nitech relus à chaque appel). It also explicitly distinguishes itself from order creation ('aucune commande n’est créée'), though it never contrasts with the closely related sibling quote_cart.

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

Usage Guidelines5/5

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

Gives explicit when-to-use context (GLS delivery requires relay_id from search_relay_points, full destination required for quotes) and prescriptive branching for error cases: destination_not_served → another destination or Nitech, temporarily_unavailable → retry the same request without blaming the address. Post-correction flow is also specified.

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