Skip to main content
Glama

XRechnung Pro

Buy invoices (pack of 10 or Pro)

start_purchase

Start a purchase on behalf of the user. Free: 3 invoices per month without an account. Then: pack of 10 invoices for 5.83 EUR incl. VAT (one-time), or Pro, unlimited for one year, 22.61 EUR incl. VAT. Returns checkout_url, a Stripe payment page (card and other methods). Give that link to the user, or pay there yourself if you are authorised to. Without an API key pass the user's email: after payment an account is created for that address and get_purchase_status returns an API key. With an API key on the connection the purchase is credited to that account and email is not needed. Nothing is charged by this call itself. Only call it when the user wants to buy.

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": {
      "product": "<product>"
    },
    "name": "start_purchase"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail of the person the purchase is for. Required without an API key. Receipt and account access go there.
productYespack = 10 invoices, one-time; pro = unlimited for one year, renews yearly, can be cancelled any time

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (openWorldHint, non-readOnly), it discloses that nothing is charged by this call, that the result is a Stripe checkout_url supporting card and other payment methods, and how authentication mode changes behavior (email creates an account and yields an API key via get_purchase_status; an API key credits the existing account). These are exactly the behavioral facts an agent needs before invoking a payment flow.

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?

A single front-loaded paragraph with the core action first, then pricing, then the return value, then the auth variants. Pricing detail (EUR amounts, VAT) is somewhat promotional but does answer 'what will this cost', so most sentences earn their place.

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 two-parameter checkout-starter with no output schema, it covers cost, return value, follow-up flow, and both auth modes. Minor gaps remain (what happens for an existing account/duplicate purchase, what email is required when the API key is present on an already-known connection), but nothing likely to cause misinvocation.

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 100%, so both parameters are already documented; the description adds consequence-level meaning — that email is only needed without an API key and that receipt/account access go there, and that Pro renews yearly and is cancellable. It largely restates the enum semantics rather than adding new syntax, keeping it above baseline but short of maximal.

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 opening sentence states a specific verb and resource ('Start a purchase on behalf of the user') and the rest immediately specifies the two product tiers, so the agent knows this is the buy/checkout entry point rather than an invoice-creation or status tool. It also names the natural follow-up, get_purchase_status, which further pins down its role among siblings.

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 gives an explicit gating condition ('Only call it when the user wants to buy') and explains the two paths after the call (hand the link to the user, or pay there if authorised). It does not contrast against siblings such as get_purchase_status or get_account_status for pre-purchase checks, so it is clear but not exhaustive.

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