Skip to main content
Glama

Kotitila

Create a cart link

create_cart_link
Read-only

Build a link that fills the customer's Kotitila cart with the given products and quantities. Products with size/weight options need an option id from get_product. Out-of-stock items are reported back. The customer reviews and pays on the site.

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.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds that the link is a hand-off artefact the customer completes on the site, and that partial failure (out-of-stock items) is surfaced in the response rather than raising an error. That is useful behaviour beyond the annotations. It omits link lifetime/expiry and whether the link can be reused, which are the remaining behavioural unknowns.

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?

Four short sentences, front-loaded with the purpose, then the prerequisite, then the failure mode, then the hand-off. Every sentence carries information an agent needs; nothing is repeated from the title or schema.

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 single-parameter tool with no output schema, the description covers what the call produces, the prerequisite lookup, and the outcome of unavailable stock. The only material gap is lifecycle detail about the generated link (validity, single-use or not), which an agent may need when telling a user what to do next.

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

Parameters4/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 burden, and it does add real meaning: `items` are products plus quantities, and an entry for a size/weight product must carry an option id sourced from get_product — resolving the otherwise ambiguous `id` field. It does not restate the per-item quantity ceiling or the 20-item cap, but those are enforced by the schema itself.

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 concrete verb and resource: "Build a link that fills the customer's Kotitila cart with the given products and quantities." That is unmistakably distinct from get_product, search_products, get_delivery_options and get_store_info, so an agent can select it without opening 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 condition that routes the agent to a sibling: products with size/weight options need an option id obtained from get_product. It also sets the post-call expectation (out-of-stock items come back, the customer reviews and pays on the site). It stops short of explicit when-not-to-use guidance, but the context is clear.

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