Skip to main content
Glama

Create a Trisport cart link

create_cart_link
Read-onlyIdempotent

Builds a link that opens the customer's cart on trisport.ro with these products already added. Nothing is ordered or paid here: the customer reviews the cart and checks out on the website. For products with sizes, pass the size product_id from get_product.

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false; the description reinforces this by stating 'Nothing is ordered or paid here', which is useful confirmation of the non-mutating semantics despite a name that sounds like a write. It does not add rate limits or note the 20-item cap, so it stops short of 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 sentences, no filler. The core behavior leads, the non-purchase caveat follows, and the parameter hint is last where it belongs.

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 does describe the return value implicitly (a link that opens the cart). For a single-parameter tool this is largely sufficient, though a brief note on the item cap and quantity range would close the remaining gap.

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 0%, so the description must carry the load. It does supply the key semantic that product_id may need to be a size-specific id fetched from get_product, which the schema does not say. However it is silent on quantity behavior (default, 1-20 range) and the 20-item array cap, leaving meaningful gaps.

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?

States a specific verb and resource ('Builds a link that opens the customer's cart on trisport.ro with these products already added') and names the platform, so the agent knows exactly what is produced. It also disambiguates from sibling tools by pointing to get_product for size product_ids, distinguishing it from search_products/get_recommendations.

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?

Clearly establishes the context of use: the customer reviews the cart and checks out on the website, so this is a pre-checkout step, not a purchase. It also gives the explicit routing rule ('pass the size product_id from get_product') linking it to a sibling. It stops short of stating when NOT to use it or any prerequisite conditions.

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