Skip to main content
Glama

eglise.shop — Christian bookstore (FR/EN)

Ajouter au panier

add_to_cart

Ajoute un ou plusieurs livres (id de search_books ou de get_book) au panier. Plafonds : 20 livres différents et 10 exemplaires par livre.

Input Schema

NameRequiredDescriptionDefault
itemsYes
cart_idYesIdentifiant du panier renvoyé par create_cart (commence par fr. ou en.).
currencyNoDevise d'affichage (code ISO). FR : XOF, EUR, CAD, USD, CHF, TRY, XAF, GBP, AUD, ZAR, MAD. EN : idem avec NGN à la place de MAD. Le prix en XOF (devise de base) est toujours renvoyé en plus. Le lien transmet la devise au site (?wmc-currency=).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag a non-idempotent, non-destructive write, so the bar is lower; the description still adds the concrete capacity ceilings that annotations cannot express. It does not say what happens when a cap is exceeded (error vs. partial add), which is the one behavioral 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?

Two short sentences with zero filler: the action and the id provenance come first, then the hard caps. Everything stated is actionable.

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 three-parameter mutation with a well-described schema, the description covers action, valid id sources and limits. The missing piece is failure behavior on cap violation and confirmation of what the response contains, though the currency field already notes the XOF price is always returned.

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 67% and the schema already documents cart_id, currency and quantity bounds in detail. The description still adds meaning beyond the schema by declaring the cart-level limit of 20 distinct books and by pinning the id source, which the nested items.id field leaves unqualified.

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 pairs a specific verb ('Ajoute') with a precise resource ('un ou plusieurs livres ... au panier') and even names the sibling tools that produce valid inputs (search_books, get_book). This makes it distinguishable from create_cart, which provisions the cart rather than filling it.

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?

It tells the agent what inputs to use (book ids from search_books/get_book) and states the operating envelope: 20 distinct books, 10 copies per book. It stops short of naming alternatives or exclusions (e.g., that remove_from_cart handles reductions, or that create_cart must run first), so usage is strongly implied rather than fully enumerated.

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