Skip to main content
Glama

Order paid TLS certificate

order_certificate
DestructiveIdempotent

Places and pays for an approved TLS certificate order using the exact quote, CSR, and payment method after explicit user approval.

Instructions

Confirm and pay for the exact quote returned by quote_certificate. Call only after the user explicitly approves the exact final EUR total, certificate names, term, validation level, and payment method. Use the unchanged request, same idempotencyKey, and exact short-lived quote token. The private key remains customer-controlled. Paid certificate orders may become non-refundable once submitted or issued under the certificate authority's policy. Requires certificates:order and paid-operation spend controls.

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_id": "<product_id>",
      "offer_id": "<offer_id>",
      "offer_generation": "<offer_generation>",
      "common_name": "<common_name>",
      "csr": "<csr>",
      "administrator_contact_id": "<administrator_contact_id>",
      "technical_contact_id": "<technical_contact_id>",
      "quote_token": "<quote_token>",
      "payment": "<payment>",
      "acknowledge_exact_quote_and_payment": "<acknowledge_exact_quote_and_payment>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "order_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
csrYesCustomer-generated PEM PKCS#10 CSR. The private key must remain with the customer and must never be sent to VPSnet or an AI assistant.
paymentYesPayment object. For account balance use { payment: 1, successUrl: '', cancelUrl: '' }
offer_idYesPublished EUR offer ID returned by the selected catalog product
product_idYesPublished product ID returned by list_certificate_catalog
renewal_ofNoExisting eligible certificate order UUID when quoting a renewal
common_nameYesPrimary certificate name and its validation method
quote_tokenYesExact short-lived quote_token returned by quote_certificate
idempotencyKeyYesSame client-global idempotency key used for quote_certificate
offer_generationYesExact offer generation returned by the catalog; stale generations are rejected
alternative_namesNoOptional unique subject alternative names; pricing is returned by quote_certificate
technical_contact_idYesOwned technical contact ID selected in the VPSnet certificate order form
organization_contact_idNoOwned organization contact ID when required for OV or EV validation
administrator_contact_idYesOwned administrator contact ID selected in the VPSnet certificate order form
acknowledge_exact_quote_and_paymentYesTrue only after the user approves the exact quoted EUR total, names, term, and payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • removedInput schema / properties / alternative_names / items / description
      Removed value: -"Primary certificate name and its validation method"
  2. First observedv2.3.16

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=true, openWorld=true, but the description adds non-obvious behavior: orders may become non-refundable under CA policy, the private key stays customer-side, the quote token is short-lived, and spend/permission controls apply. This is exactly the irreversible-consequence and auth context an agent needs before a destructive paid submission.

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?

Five dense sentences, front-loaded with the action and the hard precondition, with no filler. Minor redundancy: 'The private key remains customer-controlled' partly restates the csr field description, and the approval list repeats the acknowledge flag's intent.

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 14-parameter, destructive, money-spending tool this covers prerequisites, idempotency, irreversibility, permission scope, and key handling. It does not say what a successful response yields (order ID / status) and there is no output schema, leaving a small gap an agent would need to discover empirically.

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 the baseline is 3; the description earns above baseline by explaining cross-call semantics the schema cannot: quote_token must be the exact short-lived value from quote_certificate and idempotencyKey must be the same one reused, so retries are safe. It does not elaborate on contact IDs, SANs, or renewal_of beyond the schema, so not a 5.

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 (confirm and pay for a TLS certificate order) and anchors it to the sibling quote_certificate as its prerequisite. An agent can immediately tell this is the paid-commit step rather than the quoting, free-certificate, or cancellation paths.

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 gating condition: call only after the user approves the exact final EUR total, certificate names, term, validation level, and payment method. It also names the prerequisite tool (quote_certificate) and the exact-call constraint (unchanged request, same idempotencyKey, exact quote token), leaving little to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools