Skip to main content
Glama

Calculate base quote

get_quote
Read-onlyIdempotent

Use find_session for discovery and pricing. Compatibility tool for a selected service: calculate its base price before account perks. Required inputs: game, service, quantity (1..5, 20% off at 5), currency (EUR or USD), server, and rank for rank-priced services; Minecraft also needs edition.

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": {
      "game": "<game>",
      "service": "<service>",
      "quantity": "<quantity>",
      "currency": "<currency>",
      "server": "<server>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame id or slug from list_games.
rankNo
seatsNoHired teammates, excluding the customer and friends. Must match the service seat rule.
serverYesRegion token from list_services or Minecraft server/world. Never include credentials.
editionNo
serviceYesBookable service id from list_services.
currencyYes
quantityYes

Output Schema

NameRequiredDescriptionDefault
fxYes
urlYes
kindYes
unitYes
basisYes
noticeYes
bookUrlYes
currencyYes
quantityYes
quotedAtYes
amountMinorYes
notReservedYes
savingMinorYes
perUnitMinorYes
amountEurMinorYes
formattedPriceYes
bundleDiscountPercentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / quantity / maximum
      Previous value: -10New value: +5
  2. Changed1 schema field changed
    • addedInput schema / properties / seats
      Added value: +{
      +  "description": "Hired teammates, excluding the customer and friends. Must match the service seat rule.",
      +  "maximum": 5,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. Changed4 schema fields changed
    • addedOutput schema / properties / bundleDiscountPercent
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / perUnitMinor
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / savingMinor
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "kind",
      -  "basis",
      -  "notReserved",
      -  "currency",
      -  "amountMinor",
      -  "amountEurMinor",
      -  "formattedPrice",
      -  "unit",
      -  "quantity",
      -  "quotedAt",
      -  "fx",
      -  "notice",
      -  "bookUrl",
      -  "url"
      -]New value: +[
      +  "kind",
      +  "basis",
      +  "notReserved",
      +  "currency",
      +  "amountMinor",
      +  "amountEurMinor",
      +  "perUnitMinor",
      +  "savingMinor",
      +  "bundleDiscountPercent",
      +  "formattedPrice",
      +  "unit",
      +  "quantity",
      +  "quotedAt",
      +  "fx",
      +  "notice",
      +  "bookUrl",
      +  "url"
      +]
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds business behavior not in structured data: the price is pre-perk base price and quantity 5 carries a 20% discount. It does not explain whether perks or currency conversion are applied downstream, but the key pricing semantics are disclosed.

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?

Two dense sentences, front-loaded with the routing hint followed by the concrete input list. Every clause carries information, though the phrase 'Compatibility tool' and the redundant mention of find_session for pricing add noise rather than clarity.

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?

Return values are covered by the output schema and safety by annotations, so the remaining burden is input and routing guidance, which the description mostly meets. The unresolved overlap with find_session on pricing, plus the silent seats parameter, leaves a real gap for an eight-parameter tool.

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 only 50%, and the description compensates by explaining the conditional requirements the schema cannot express: rank is needed for rank-priced services and Minecraft additionally needs edition. The quantity discount rule and the 1..5 range are also restated usefully. It says nothing about seats, the eighth parameter, which remains undocumented in both places.

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?

States a specific verb and resource: 'calculate its base price before account perks' for a selected service. That distinguishes it from list_services and get_availability, though the label 'Compatibility tool' muddies whether it is a first-class or legacy path, and the opening 'Use find_session for discovery and pricing' blurs who actually owns pricing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives one routing hint: use find_session for discovery. But it points at find_session for 'pricing' as well, while this tool's stated job is to calculate base price, so the agent cannot tell which one to call for a price. No explicit when-not conditions are given.

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