Skip to main content
Glama
maximeallanic

Carrefour Drive MCP

get_chat_preprompts

Use navigation page type, title, and optional product GTIN to fetch contextual and generic chat suggestions for the Carrefour AI assistant and populate chat suggestion chips on search results or product pages.

Instructions

Retrieves contextual and/or generic pre-suggested questions/prompts for the Carrefour AI chat assistant (OCB), based on the user's current navigation context (page type and title). For product detail pages, a product GTIN can also be provided. Returns contextual questions relevant to the current page (e.g. recipe suggestions for a search on 'tomato') and generic questions (e.g. recipe ideas, shopping list generation, product recommendations). Useful for populating chat suggestion chips on search results or product pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesMaximum number of preprompts to return.
modesYesList of prompt modes to retrieve. Possible values: 'contextual' (questions related to the current page context) and/or 'generic' (general shopping assistant questions).
navigationCurrentPageTypeYesThe type of the current page. Examples: 'search-results-product-listing-page', 'product-detail-page'.
navigationProductPageGtinNoThe GTIN (barcode) of the product when on a product detail page. Only applicable when navigationCurrentPageType is 'product-detail-page'.
navigationCurrentPageTitleYesThe title of the current page the user is on (e.g. 'Résultat(s) pour "tomate" - Carrefour.fr' for a search results page, or the product name for a product detail page).
Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It explicitly frames the operation as read-only ('Retrieves', 'Returns') and explains the contextual vs generic response behavior with examples. It does not discuss auth or rate limits, but for a non-mutating retrieval tool this is a minor gap.

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?

The description is compact and well-structured. Every sentence earns its place: the first states the core action, the second gives output examples, and the third identifies the primary use case. No redundant filler.

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?

Given the tool's moderate complexity, all required parameters are documented, and the description covers the return value categories (contextual and generic preprompts) even without an output schema. It could explicitly state response formatting or pagination, but the overall description is sufficient for correct invocation.

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%, placing the baseline at 3, but the description adds meaningful context: examples of page titles, clarification that GTIN applies only to product detail pages, and concrete examples of contextual vs generic modes. This helps an agent choose parameter values correctly.

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 uses a specific verb ('Retrieves') and identifies a precise resource: contextual and/or generic pre-suggested questions for the Carrefour AI chat assistant. It clearly differentiates from siblings like search_products or get_personalized_recommendations by focusing on chat preprompts and navigation context.

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 states when to use the tool: for populating chat suggestion chips on search results or product pages, based on the user's navigation context. It does not explicitly exclude alternatives, but the use case is clear and well-scoped.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maximeallanic/CarrefourDriveMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server