Skip to main content
Glama

Quote account VPN

quote_account_vpn

Quote the current Firecracker plan's VPN product for checkout, returning the exact EUR total and term before payment; no provisioning or charge occurs.

Instructions

Quote the one canonical VPN product based on the current Firecracker plan for common checkout when vpn_account_order is advertised. Omit tier for a new request; standard/full_exit are backend compatibility/proof codes, not sellable VPN plan choices. Additional traffic is purchased separately with quote_network_vpn_traffic_pack. Internet exit is a gateway setting. Pass an owned attachment network when required; no provisioning or charge occurs before payment. Uses prepare_after_payment=true. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks. Read current capabilities and owned resource state first; obtain approval for the exact change. An accepted operation is pending, not proof of connectivity. Poll the returned operation/resource on its in_progress flag, waiting next_check_seconds between reads: while in_progress is true its reason_code is what is awaited (reason_kind waiting, e.g. a queued or pending reason, or a control plane that has not answered yet), never an error; only in_progress false with reason_kind failure is a failure. Preserve reason_code. On transport uncertainty inspect state and reuse only the original key and unchanged request; never automatically retry. Requires full API access, networking:manage, enabled paid operations, networking:order and spend caps. Choose a supported live catalog tier and its documented request kind; preserve the exact quote; disclose its gross_amount in EUR before user approval. The same Idempotency-Key is required for quote and confirmation. API-key checkout supports the advertised account-balance payment method only. Payment acceptance is not resource readiness.

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": {
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "quote_account_vpn"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoCompatibility code only: omit for the one current VPN product. Preserve an existing legacy request code only when recovering that unchanged quote intent; this is not a VPN plan choice.
network_idNoExact lowercase UUID returned by an owned networking resource
period_monthsNoPaid term in months from the current list_network_products catalog; omit for one month. The 1-120 bound is not an offer list. Disclose this term and the exact quoted total before confirmation.
idempotencyKeyYesStable Idempotency-Key for this exact intent; reuse unchanged on recovery, never generate a new key for an uncertain result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.21
    • addedInput schema / properties / tier / description
      Added value: +"Compatibility code only: omit for the one current VPN product. Preserve an existing legacy request code only when recovering that unchanged quote intent; this is not a VPN plan choice."
    • changedInput schema / required
      Previous value: -[
      -  "tier",
      -  "idempotencyKey"
      -]New value: +[
      +  "idempotencyKey"
      +]
  2. Changed1 schema field changedv2.3.20
    • addedInput schema / properties / period_months
      Added value: +{
      +  "description": "Paid term in months from the current list_network_products catalog; omit for one month. The 1-120 bound is not an offer list. Disclose this term and the exact quoted total before confirmation.",
      +  "maximum": 120,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observedv2.3.16

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: no provisioning or charge before payment, `prepare_after_payment=true`, required scopes (networking:read vs networking:manage), backend-enforced ownership/feature/2FA locks, and a precise polling contract for `in_progress`, `reason_code` and `reason_kind`. It also spells out the recovery rule (never auto-retry, reuse only the original key on an unchanged request), which is exactly the kind of behavior the readOnly/destructive/idempotent hints cannot convey.

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?

The purpose is front-loaded and nearly every clause carries operational information, but the body is a dense wall of run-on sentences mixing payment semantics, scopes, polling, idempotency, and pricing disclosure with no paragraphing or ordering. A reader must re-parse it to extract the call sequence, which is a structural cost rather than a length cost.

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?

There is no output schema, yet the description still tells the agent what comes back (an operation/resource with `in_progress`, `reason_code`, `reason_kind`, `next_check_seconds`) and what must be surfaced to the user (`gross_amount` in EUR, term). For a quote tool with a multi-step approval and polling flow, the definition covers prerequisites, scope requirements, failure semantics, and recovery without leaving a material gap.

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

Parameters3/5

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

Schema description coverage is 100%, and the parameter descriptions already explain tier as a compatibility code, the 1-120 bound, and the idempotency-key format, so the schema carries most of the load. The description reinforces this ("standard/full_exit are backend compatibility/proof codes, not sellable VPN plan choices"; "preserve the exact quote; disclose its gross_amount in EUR") but adds little syntax or format detail beyond what is already structured. Baseline 3 applies when the schema is this complete.

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

Purpose4/5

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

Opens with a specific verb and resource ("Quote the one canonical VPN product") and ties it to the current Firecracker plan plus the `vpn_account_order` advertisement condition. It also distinguishes the resource from adjacent ones by stating that traffic is bought via quote_network_vpn_traffic_pack and that internet exit is a gateway setting. The phrasing is jargon-heavy ("canonical", "Firecracker plan", "common checkout"), which costs a point on immediate legibility.

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 explicit when-to-use conditions ("when vpn_account_order is advertised"), explicit exclusions ("Omit tier for a new request"; "Additional traffic is purchased separately with quote_network_vpn_traffic_pack"; "Internet exit is a gateway setting"), and a named ordering prerequisite ("Read current capabilities and owned resource state first; obtain approval for the exact change"). The alternative for the traffic need is named outright rather than left 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