Skip to main content
Glama

FormNord 3D printing

FormNord: flere deler i samme bestilling

create_cart

Combine up to 10 quotes (quote_ids from get_print_quote) into one order: one start fee, one shipping package and the minimum price applied to the whole order. Use it when a model comes in several files (e.g. a zip with several parts). Returns cart_id, the combined price (pris.totalt, with pris.spart saved compared with ordering each part alone) and bestill_url. Order with create_order using cart_id, or give the user bestill_url. A new call with other quote_ids makes a new cart.

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": {
      "quote_ids": "<quote_ids>"
    },
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idsYestilbud_id from get_print_quote, one per part.

Output Schema

NameRequiredDescriptionDefault
okYes
kodeNoMachine-readable error code when ok is false.
prisNo
delerNo
grunnNoHuman-readable reason (Norwegian) when ok is false.
venterNotrue while slicing still confirms the price of a part.
kurv_idNocart_id for create_order.
bestill_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, non-idempotent write; the description adds real substance on top, namely how pricing is aggregated (one start fee, one shipping package, minimum price across the whole order) and the fact that repeated calls with different quote_ids create separate carts. It stops short of saying whether carts expire or can be abandoned, which is the main remaining behavioral unknown for a stateful object.

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?

A dense but well-ordered paragraph: what it does, when to use it, what it returns, and the next step. No filler sentences, and the most decision-relevant information (combining, savings, next step) comes first.

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?

Complete for a one-parameter cart-creation tool: the trigger condition, the pricing consequence, the return fields, and the follow-up action are all covered, and an output schema exists to carry return-value detail. Nothing needed to invoke it correctly is missing.

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% and the single parameter already documents its origin ('tilbud_id from get_print_quote, one per part'), so the description largely restates that rather than adding new meaning. The 'up to 10' and per-part guidance duplicate maxItems and the item description in the schema.

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 ('Combine up to 10 quotes into one order') plus the resulting pricing model, which makes it immediately distinguishable from create_order and get_print_quote. The scope limit (max 10) and the consolidation outcome are front-loaded.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Use it when a model comes in several files, e.g. a zip with several parts') and an explicit routing decision afterwards (create_order with cart_id, or hand the user bestill_url). It also warns that a new call with different quote_ids produces a new cart rather than updating the existing one.

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