Skip to main content
Glama

create_basket_link

Read-onlyIdempotent

Make a link that opens NerdMarket with these packs (SKU and quantity) listed, ready for the person to check and add to their basket with one button, then pay at checkout. Nothing is added or bought until they press it. Also says whether each line can be added now and the total.

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

Input Schema

NameRequiredDescriptionDefault
itemsYesthe packs to list, at most 20 lines

Output Schema

NameRequiredDescriptionDefault
urlYesgive this to the person: it opens the list on NerdMarket, where they add it to their basket
linesYes
totalNothe lines' total including VAT, before delivery; absent when a line can't be added
can_addYestrue when every line can be added now; otherwise the page shows the problems and adds nothing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description still earns credit for explicitly confirming the deferred-action semantics ('Nothing is added or bought until they press it') and for noting that the response reports per-line addability and totals, which an agent cannot infer from the annotations alone.

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?

Two sentences, front-loaded with the action and the payload, with no filler. Minor redundancy in 'then pay at checkout' and the closing line about per-line addability, which the output schema already covers.

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?

With an output schema present, the description needn't explain return values, and annotations cover safety and idempotency. What remains — that a link is produced, that no commitment occurs until the recipient clicks, and that the link carries SKU/quantity lines — is exactly the context needed to call this correctly.

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?

Schema coverage is 100% with one well-documented nested parameter, including the 20-line cap and SKU provenance. The description only restates 'SKU and quantity' without adding format, validation, or edge-case meaning, so the baseline of 3 applies.

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?

Opens with a specific verb and resource: 'Make a link that opens NerdMarket with these packs (SKU and quantity) listed'. That verb+resource pairing plus the mention of SKU/quantity is enough to tell an agent this is a pre-filled basket deep-link generator, clearly distinct from browse/search/get_product siblings.

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 context is only implied: the 'ready for the person to check and add' framing suggests sharing a link for a hand-picked bundle, but the description never says when to prefer this over search_products or get_product, nor what preconditions apply. The schema's 'SKU from get_product' hint helps only indirectly.

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