Skip to main content
Glama
agent-wallet-advisor

agent-wallet-advisor

by vdelengov

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_WALLET_POINT_VALUESNoJSON object mapping point program keys to their value in cents per point, e.g. {"amex_membership_rewards": 1.8}. Supported keys are chase_ultimate_rewards, amex_membership_rewards, and citi_thankyou. Cash back cannot be overridden.
AGENT_WALLET_ENDING_SOON_DAYSNoNumber of days used to flag rules that are ending soon. Defaults to 30.
AGENT_WALLET_STALE_AFTER_DAYSNoNumber of days after which card data is considered stale. Defaults to 90.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
best_cardA

Pick the card that earns the most rewards for a purchase. Call this before paying.

Args:
    merchant: Merchant name, e.g. "Whole Foods".
    category: One of dining, groceries, travel, gas, online_shopping, streaming,
        drugstores, entertainment, transit, other. If unknown or empty, the category
        is guessed from the merchant and the result says so.
    amount: Purchase amount in US dollars.
    wallet: Card names the user holds (see list_cards). Omit to compare all cards.
    point_values: Optional cents-per-point the user assigns to a points program, e.g.
        {"amex_membership_rewards": 1.8}. Keys: chase_ultimate_rewards,
        amex_membership_rewards, citi_thankyou. Defaults are 1.0. The ranking can
        change with these values, and the result says where the break-even is.
    stale_after_days: Optional age in days after which card data counts as stale
        (default 90). A rule is also stale once its valid_until has passed. The best and
        runner-up cards report data_as_of, data_age_days, stale and stale_reason.
    ending_soon_days: Optional window in days (default 30). If the rule behind the best or
        runner-up card ends within it, the result lists it under ending_soon.
    `warning` is set when either recommended card is stale or its rule ends soon. Expired
    and not-yet-started rules are skipped automatically; `rule` on each card shows which
    rule (promotion, category or base rate) set the rate.
list_cardsA

List supported cards with their bonus categories and annual fees.

explain_ruleA

Explain one card's reward rules: rates, caps, dates, point value, fee, what isn't modeled, and data freshness.

Args:
    card: Card name, id, or alias (e.g. "Amex Gold").
    stale_after_days: Optional age in days after which card data counts as stale (default 90).
    ending_soon_days: Optional window in days for marking a rule as ending soon (default 30).

`rules` lists every category rule and promotion with valid_from, valid_until and a status:
active, ending_soon, upcoming or expired.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: list_cards discovers supported cards, best_card recommends a card for a purchase, and explain_rule gives detailed rule explanations for one card. Although list_cards and explain_rule both expose card information, the summary-versus-detail distinction is clear.

Naming Consistency4/5

list_cards and explain_rule follow a clear verb_noun pattern, while best_card is a noun phrase without an explicit verb. The deviation is minor and still readable, so the set is mostly consistent.

Tool Count5/5

Three tools are well matched to the focused advisory scope: discover cards, recommend a card, and explain rules. Each tool has a clear purpose and none feels redundant.

Completeness5/5

The surface covers the core lifecycle of listing supported cards, evaluating the best card for a purchase, and explaining the rules behind a card. Supporting details such as point valuations, wallet filtering, and staleness are handled through parameters rather than missing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues