Skip to main content
Glama

Bestil brev med betalingslink (uden API-nøgle)

create_letter_order

Opretter et fysisk tekstbrev til en adresse i Danmark og returnerer et betalingslink. Brugeren skal selv åbne linket og betale; brevet sendes først, når betalingen er gennemført. Kræver ingen API-nøgle. Bekræft altid modtagerens adresse og prisen med brugeren først. English: Creates a physical text letter to an address in Denmark and returns a payment link. The user opens the link and pays; the letter is sent only after payment. No API key needed. Always confirm the recipient's address and the price with the user first.

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": {
      "letterType": "<letterType>",
      "sender": "<sender>",
      "recipient": "<recipient>",
      "text": "<text>"
    },
    "name": "create_letter_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesBrevets tekst.
senderYes
recipientYes
letterTypeYes
customerEmailNoValgfri e-mail til kvittering.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $defs / address / properties / careOf
      Added value: +{
      +  "description": "c/o name, printed between the name and the street. \"c/o \" is added.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare non-read-only and open-world but say nothing about the two-phase flow; the description supplies that the letter is not sent until payment completes, which is critical operational context. It still does not explain what happens on unpaid/expired links or whether the order can be cancelled, so it is not fully transparent.

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

Conciseness3/5

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

Content is front-loaded and each sentence adds real information, but the entire description is duplicated in Danish and English, roughly doubling length without adding meaning for an agent. The redundancy costs tokens for no behavioral gain.

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?

With no output schema, the description correctly explains the return value (a payment link) and the asynchronous payment model, which is the biggest unknown. However, for a 5-parameter write tool it leaves the meaning of letterType and the cost implications of the enum unexplained.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, so the description needs to compensate, yet it only reinforces that the recipient address and price should be confirmed. It says nothing about letterType ('almindelig' vs 'rekommanderet', which presumably affects price), the text body, sender fields, or customerEmail.

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 ('Opretter et fysisk tekstbrev til en adresse i Danmark') plus the distinctive outcome (returns a payment link) and a differentiator from the send_letter family ('Kræver ingen API-nøgle'). An agent can identify exactly what this tool produces 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?

Gives a concrete pre-call workflow: always confirm the recipient's address and the price with the user first, and explains that the user must open and pay via the link. It lacks an explicit statement of when to prefer this over siblings like send_letter (e.g. 'use this when the user has no API key'), leaving the routing partly inferred.

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