Skip to main content
Glama

Begad (UAE marketplace)

Prepare a cart

create_cart
Read-only

Check products and quantities and return a cart link. When the person opens it the items go into their own Begad cart and they check out there. Never places an order or takes payment.

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": {
      "items": "<items>"
    },
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
languageNoLanguage of product links and names. Defaults to Arabic for an Arabic query, otherwise English.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description is consistent with readOnlyHint=true and adds real context the annotations cannot convey: the returned link deposits items into the recipient's own cart and the checkout happens on their side, so the call is a deferred handoff, not a purchase. "Never places an order or takes payment" reinforces the safety profile in plain language. It omits link lifetime/expiry and what happens when a product is unavailable, so not a 5.

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?

Three short sentences, front-loaded with the action and result, then the consequence of opening the link, then the negative guarantee. No filler and nothing that restates the title verbatim.

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, the description correctly states the return value (a cart link) and its downstream effect, which is the key thing an agent needs. Remaining gaps for a two-parameter handoff tool are modest: link expiry/reservation behavior and the failure mode for bad product IDs. Nothing essential for a correct first call is missing.

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

Parameters2/5

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

Schema coverage is only 50%: the nested items array and its product_id/quantity fields carry no schema descriptions, and the description does not compensate, saying only "check products and quantities." It does not explain that items is a list of up to 30 product/quantity pairs, what quantity range is allowed, or how invalid or out-of-stock product IDs are handled. The language parameter is fully documented in the schema, so the description adds nothing there.

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?

"Check products and quantities and return a cart link" gives a concrete verb (check/return) and a concrete artifact (cart link), and the follow-up sentence defines the artifact's effect. It is clearly distinguishable from catalog-reading siblings like get_product or search_products. It stops short of naming any sibling as an alternative, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the tool for turning a set of chosen products into a shareable cart, and the description clarifies the person checks out in their own account. There is no explicit when-to-use framing (e.g. "use once the user has settled on items") and no exclusion pointing at search_products or get_product for browsing.

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