Skip to main content
Glama

Quote paid TLS certificate

quote_certificate
Idempotent

Create a short-lived EUR quote for a paid TLS certificate to validate the catalog offer, CSR and contacts before ordering. Returns the exact VAT-inclusive total without charging or ordering.

Instructions

Create a short-lived quote for one exact paid TLS certificate or eligible renewal. This validates the current catalog generation, identifiers, customer contacts, and the public PKCS#10 CSR without charging or ordering. The response contains the final customer total in EUR including VAT. Disclose that exact total before order_certificate. The customer private key must never be supplied. Requires paid operations, certificates:order, spend caps, and a client-global idempotencyKey that must also be used for confirmation.

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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "quote_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.
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
idempotencyKeyYesClient-global unique key used for this quote and its exact order confirmation
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

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?

Beyond the supplied annotations, it discloses that catalog generation, identifiers, contacts, and CSR are validated, that no charge or order occurs, that the response contains the final total including VAT, that the quote is short-lived, and that CSR private keys must never be transmitted. It also names the required permissions and spend-cap precondition and that the same idempotencyKey carries through to order confirmation, which goes well past the idempotentHint annotation.

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?

Five sentences, each front-loading a distinct fact: what it creates, what it validates, that it does not charge, what the response contains, and the prerequisites. No filler or restatement of the title, and the most important cost/disclosure constraint sits mid-description where it is easy to find.

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?

For an 11-parameter mutation-class tool with nested objects and no output schema, the description covers the non-obvious cases: that the call is non-destructive and non-billing, what the response payload contains, the authorization and spend-cap requirements, and the idempotency contract. Nothing an agent needs in order to call it safely or to sequence it before order_certificate is missing.

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 description coverage is 100%, so the schema baseline already carries parameter meaning. The description still adds cross-parameter context: the certificate must be 'one exact' one (constraining offer_generation exactness), the idempotencyKey must be reused for order confirmation, and the CSR must never contain a private key. Minor remaining ambiguity, such as the exact lifetime of the short-lived quote, is left to the schema or to runtime behavior.

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 description opens with a specific verb and resource ('Create a short-lived quote for one exact paid TLS certificate or eligible renewal') and narrows scope to a single exact certificate, which separates it from the broader quote_* sibling family. An agent can tell it apart from order_certificate without inspecting either 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?

It states the workflow explicitly: quote validates everything 'without charging or ordering', and the returned EUR total must be disclosed 'before order_certificate'. That is strong when-to-use guidance linking two sibling tools. It stops short of naming exclusions (e.g., when to use quote_automatic_ssl_domain instead), so it is not fully exhaustive.

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