Skip to main content
Glama

Create a cart link

create_cart_link
Read-onlyIdempotent

Build a Seduction.lk link that opens the store with these products in the shopper's cart, ready for them to check out themselves. Products must be in stock. Nothing is ordered or charged.

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description still adds real context beyond them: the stock precondition and the explicit 'Nothing is ordered or charged', which reassures an agent this is a shareable link rather than an order placement. It omits link lifetime and whether repeated calls return the same link despite the idempotent hint.

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 core action, then the precondition, then the side-effect disclaimer. Every sentence adds distinct information with no repetition of the title.

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 description covers what is produced, what it does not do, and the main prerequisite. The remaining gap is the shape of the returned link and any expiry behavior, which matters because the whole point is handing that link to a shopper.

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 description coverage is 0%, so the description must carry the meaning of the single `items` parameter, and it only gestures at 'these products'. It never explains the product_id/quantity pairing, the default quantity of 1, or the caps (max 20 items, quantity 1-10), all of which an agent must discover from raw schema constraints alone.

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 opens with a specific verb and artifact: 'Build a Seduction.lk link that opens the store with these products in the shopper's cart.' That is unmistakably different from the sibling read tools (get_product, search_products, list_categories), so an agent can select it without inspecting the schema.

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 states the key precondition ('Products must be in stock') and the intended outcome ('ready for them to check out themselves'), which tells the agent when this is the right call. It stops short of naming an alternative or explicitly saying when not to use it, but no sibling offers a comparable capability.

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