Skip to main content
Glama

FormNord 3D printing

FormNord: bestill for brukeren

create_order
Idempotent

Place an order for a quote (quote_id) or a cart of several parts (cart_id) on the user's behalf and get a payment link. Only call this after the user has given you their details and explicitly confirmed that they accept the terms (https://formnord.no/print/vilkar) and have the right to use the model. Returns payment_url, which the user opens to pay with Vipps or card (the order is not paid until they do). Calling it again for the same quote returns the same order. Delivery address must be in Norway. If kode is price_pending, slicing is still confirming the price: wait a minute (or poll get_quote_status) and call again. If kode is price_updated, the exact price differs from the estimate (total_nok): show the user the new price and call again only after they accept it.

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": {
      "customer": "<customer>",
      "accepted_terms": "<accepted_terms>",
      "confirmed_rights": "<confirmed_rights>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
cart_idNokurv_id from create_cart (several parts in one order).
customerYes
quote_idNotilbud_id from get_print_quote (one part). Give either quote_id or cart_id.
accepted_termsYestrue only if the user explicitly accepted https://formnord.no/print/vilkar.
confirmed_rightsYestrue only if the user confirmed they have the right to use and print the model.

Output Schema

NameRequiredDescriptionDefault
okYes
kodeNoMachine-readable error code when ok is false.
grunnNoHuman-readable reason (Norwegian) when ok is false.
order_idNo
total_nokNo
payment_urlNoThe user opens this to pay with Vipps or card.
already_orderedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cart_id
      Added value: +{
      +  "description": "kurv_id from create_cart (several parts in one order).",
      +  "type": "string"
      +}
    • changedInput schema / properties / quote_id / description
      Previous value: -"tilbud_id from get_print_quote."New value: +"tilbud_id from get_print_quote (one part). Give either quote_id or cart_id."
    • changedInput schema / required
      Previous value: -[
      -  "quote_id",
      -  "customer",
      -  "accepted_terms",
      -  "confirmed_rights"
      -]New value: +[
      +  "customer",
      +  "accepted_terms",
      +  "confirmed_rights"
      +]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, idempotent and open-world, and the description adds real context beyond them: the order is not paid until the user opens payment_url, repeat calls for the same quote return the same order, delivery must be in Norway, and the price_pending/price_updated state machine is spelled out. That is exactly the behavioral texture the hints alone cannot convey.

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?

Front-loads the action and the two input modes, then layers preconditions, the return value, and edge-case handling in descending order of importance. Every sentence carries operational information — no restatement of the title or filler.

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?

Covers the prerequisites, the delivery-region constraint, the payment flow, idempotency, and both non-terminal error codes for a mutation tool with a nested customer object. Return values are partly covered by the output schema, and the one named field (payment_url) is given with its user-facing significance.

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 80% and the schema already documents quote_id/cart_id provenance, the Norwegian postcode/phone expectations and the meaning of accepted_terms/confirmed_rights. The description reinforces the either-or choice and the confirmation prerequisites but adds little syntax or format detail the schema does not already carry, 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?

States a specific verb and resource ("Place an order") and immediately disambiguates the two input modes: a single quote via quote_id or a multi-part cart via cart_id, with the payoff ("get a payment link"). An agent can distinguish this from create_cart and get_print_quote without opening any schema.

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 explicit preconditions (user details collected, explicit terms acceptance, confirmed rights) and explicit when-not guidance (do not call again after price_updated until the user accepts the new price). It also names the alternative for the price_pending path — wait a minute or poll get_quote_status — so the fallback is unambiguous.

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