Skip to main content
Glama

Create cart link

create_cart_link
Read-only

Build a dabugs.com link that fills the user's cart with these SKUs and opens checkout, so the user can finish the purchase in their own browser (works on phones).

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_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with that by framing the output as a link the user completes in their own browser. It adds useful context about the hand-off to the user's browser, but omits link expiry, whether SKUs are validated server-side, and what a bad SKU produces.

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 tight sentence with the action front-loaded and the user-facing rationale trailing. Every clause carries information; only a slightly fragmented parenthetical costs it a point.

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 one-parameter tool with no output schema, the definition covers what the tool does and why an agent would choose it. It stops short of saying precisely what is returned (a URL string, its lifetime), which matters given there is no output schema to fall back on.

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

Parameters3/5

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

The phrase 'with these SKUs' signals the items array of SKUs, but nothing about per-item qty, the 1-20 item bounds, or the default quantity is conveyed. With schema description coverage at 0%, the description does little to compensate for the undocumented qty field and array limits.

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?

The description uses a concrete verb ('Build a ... link') on a concrete resource (dabugs.com cart/checkout link) and explains the effect (fills cart with these SKUs and opens checkout). It is clearly distinguishable from server-side order tools like place_order, though it never names a sibling to sharpen the boundary.

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?

It states the situation the tool serves ('so the user can finish the purchase in their own browser (works on phones)'), which implies when to reach for it over a server-side checkout. However, it never explicitly says when not to use it or contrasts it with place_order or prepare_checkout, leaving the choice to inference.

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