Skip to main content
Glama

Points or cash verdict

points_value
Read-onlyIdempotent

Exact cents-per-point for an award vs the cash fare, in the trip currency: (cash − award fees − what paying cash would earn) ÷ points × 100. When the award is paid by transferring bank points, pass bank + program: it applies the traveler's transfer ratio (e.g. Belgian Amex to Flying Blue is 2:1) and any active bonus, and judges the value per bank point spent. Call it for every award you compare, rather than doing the maths yourself.

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": {
      "currency": "<currency>",
      "options": "<options>",
      "cash_back_pct": "<cash_back_pct>",
      "points_per_unit_paying_cash": "<points_per_unit_paying_cash>"
    },
    "name": "points_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYes
currencyYesCurrency of all prices, e.g. "EUR", "USD", "GBP". Cash fare and award fees must be in the same currency; convert first if they differ.
cash_back_pctYesCash/crypto back % the traveler would earn paying cash (e.g. 4 for a 4% card). Null if unknown.
points_per_unit_paying_cashYesCard points earned per dollar/euro on the cash fare (e.g. 5 for Amex Platinum on flights). Null if unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / options / items / properties / bank / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "amex_mr",
      -      "chase_ur",
      -      "capital_one",
      -      "citi_ty",
      -      "bilt",
      -      "wells_fargo",
      -      "us_bank",
      -      "amex_mr_be",
      -      "amex_mr_nl",
      -      "amex_mr_uk",
      -      "amex_mr_fr",
      -      "amex_mr_de",
      -      "revolut_eu",
      -      "revolut_uk",
      -      "amex_mr_es",
      -      "amex_mr_it",
      -      "amex_mr_se",
      -      "amex_mr_ch",
      -      "amex_mr_ca",
      -      "rbc_avion_ca",
      -      "amex_mr_au",
      -      "anz_au",
      -      "westpac_au",
      -      "nab_au",
      -      "cba_au",
      -      "dbs_sg",
      -      "uob_sg",
      -      "citi_sg",
      -      "hsbc_sg",
      -      "amex_mr_sg",
      -      "hsbc_hk",
      -      "citi_hk",
      -      "amex_mr_hk",
      -      "scb_hk",
      -      "hdfc_in",
      -      "axis_in",
      -      "amex_mr_in",
      -      "icici_in",
      -      "enbd_ae",
      -      "amex_mr_ae",
      -      "mashreq_ae",
      -      "fab_ae"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "amex_mr",
      +      "chase_ur",
      +      "capital_one",
      +      "citi_ty",
      +      "bilt",
      +      "wells_fargo",
      +      "us_bank",
      +      "rove",
      +      "amex_mr_be",
      +      "amex_mr_nl",
      +      "amex_mr_uk",
      +      "amex_mr_fr",
      +      "amex_mr_de",
      +      "revolut_eu",
      +      "revolut_uk",
      +      "amex_mr_es",
      +      "amex_mr_it",
      +      "amex_mr_se",
      +      "amex_mr_ch",
      +      "amex_mr_ca",
      +      "rbc_avion_ca",
      +      "amex_mr_au",
      +      "anz_au",
      +      "westpac_au",
      +      "nab_au",
      +      "cba_au",
      +      "dbs_sg",
      +      "uob_sg",
      +      "citi_sg",
      +      "hsbc_sg",
      +      "amex_mr_sg",
      +      "hsbc_hk",
      +      "citi_hk",
      +      "amex_mr_hk",
      +      "scb_hk",
      +      "hdfc_in",
      +      "axis_in",
      +      "amex_mr_in",
      +      "icici_in",
      +      "enbd_ae",
      +      "amex_mr_ae",
      +      "mashreq_ae",
      +      "fab_ae"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is the computation semantics: what is subtracted (award fees, forgone cash earn), how transfer ratios and active bonuses are applied, and that the verdict is per bank point when a bank is supplied. It omits output shape and how multiple options are ranked, so not a 5.

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?

Three sentences: formula first, then the transfer branch, then the usage imperative. Dense but front-loaded and every clause carries information; the parenthetical formula is long but earns its place.

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?

No output schema exists, and the description only implies the return values ('exact cents-per-point', 'value per bank point spent') without saying whether it returns a verdict per option, a ranking, or a recommendation. For a 4-parameter nested-options computation tool that is a real gap, though the formula and transfer behavior cover the core.

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 75%, and the description adds meaning beyond it by explaining the bank+program pairing ('pass bank + program') and its effect (transfer ratio plus active bonus), with a concrete ratio example. It does not clarify cash_back_pct or miles_earned_paying_cash beyond the schema text.

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 computation and its unit ('Exact cents-per-point for an award vs the cash fare, in the trip currency') and even gives the formula, which unambiguously separates it from award_chart (charts) and transfer_options (ratio lookup).

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?

Gives a clear directive to call it for every award compared instead of doing the maths manually, and a conditional branch (pass bank + program when the award is funded by a transfer). It does not name the sibling tools or state when not to use it, so alternatives remain implicit.

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