Skip to main content
Glama

Flowering UCP

create_checkout

Opret checkout. checkout: {line_items | cart_id, context:{postal_code}}. Svarer med requires_escalation og continue_url, hvor køberen selv afslutter på flowering.dk.

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": {
      "checkout": "<checkout>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
metaNoUCP request metadata, fx {"ucp-agent":{"profile":"https://..."}}.
checkoutYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

There are no annotations, so the description carries the full disclosure burden. It does disclose the two response fields (requires_escalation, continue_url) and the important behavioral fact that the buyer completes checkout externally on flowering.dk; however it says nothing about permissions, idempotency, failure modes, or what happens to an abandoned checkout.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the key response contract near the front and no filler. The density is high, though the terse arrow-style notation and Danish-only phrasing make it slightly harder to parse than plain prose would.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, this covers the shape of the input and the headline response fields. It omits error behavior and prerequisites, which is a real gap given nothing else documents them.

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?

The schema leaves the required `checkout` property as an undescribed object, and the description compensates by spelling out its supported shape: either line_items or cart_id plus context.postal_code. The `meta` parameter is left to its own schema description, which is acceptable at 50% coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Opret checkout" essentially restates the tool name, so the opening sentence is tautological. The description does add value by stating the outcome: a checkout object is created and the buyer finalizes it on flowering.dk, which tells an agent this is a hand-off rather than a completed sale.

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

Usage Guidelines2/5

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

No guidance on when to call this versus siblings such as create_cart, complete_checkout or get_checkout, and no preconditions are stated. The mention of requires_escalation and continue_url implies a step in a flow, but the agent must infer the sequencing itself.

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