Skip to main content
Glama

Cheat sheet

cheat_sheet
Read-only

The card to use for each everyday kind of purchase right now: groceries, dining, gas, Amazon, Costco, travel, streaming, drugstores and everything else. With no cards given and no saved wallet, it picks from every card earnrate knows (scope: all cards, each row noting the card's fee and conditions). With cards named in the conversation or a saved wallet, it picks from the user's own cards, with caps, picks and activations as they are. The kind, noAnnualFee, business and issuer filters apply only when it picks from every card. For one specific store, call best_card_for_purchase instead. Pass on the notes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cheat_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoPurchase date, YYYY-MM-DD. Defaults to today.
kindNocash: cash back cards only. points: points and miles cards only.
cardsNoCards the user named in this conversation, to answer for just those cards without saving anything. Leave out to use the user's saved wallet if they have one; with neither, the answer covers every card earnrate knows.
issuerNoOnly this issuer's cards.
businessNoBusiness cards instead of personal ones.
everyCardNotrue to pick from every card earnrate knows even when the user has a saved wallet ("which cards should I get?"); the filters then apply.
valuationNoInstead of the user's saved point values (or earnrate's defaults): flat, points at their cash-out value, MR and UR at 1¢; or points-heavy, MR and UR at 1.7¢, for people who transfer points to airlines and hotels.
membershipsNoMemberships the user has, such as amazon-prime or costco, when they're named in the conversation rather than saved.
noAnnualFeeNoOnly cards with no annual fee.

Output Schema

NameRequiredDescriptionDefault
dateYes
rowsYes
notesYes
scopeYes
quarterYes
assumptionsYes
membersOnlyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / cards / items / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • addedOutput schema / properties / membersOnly
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "scope",
      -  "quarter",
      -  "date",
      -  "rows",
      -  "notes",
      -  "assumptions"
      -]New value: +[
      +  "scope",
      +  "quarter",
      +  "date",
      +  "rows",
      +  "notes",
      +  "membersOnly",
      +  "assumptions"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / cards / items / properties / enrolled / description
      Previous value: -"Statement credits the user has enrolled in with the issuer, as credit ids from search_cards. A credit that needs enrolling counts only when it's here. Ask; never assume."New value: +"Statement credits the user has enrolled in with the issuer, and free nights they use, as ids from search_cards. A credit that needs enrolling counts only when it's here. Ask; never assume."
    • changedInput schema / properties / cards / items / properties / skippedCredits / description
      Previous value: -"Statement credit ids the user says they don't use. They don't count toward a pick or against the card's annual fee."New value: +"Statement credit and free night ids the user says they don't use. They don't count toward a pick or against the card's annual fee."
  4. Changed1 schema field changed
    • addedInput schema / properties / cards / items / properties / skippedCredits
      Added value: +{
      +  "description": "Statement credit ids the user says they don't use. They don't count toward a pick or against the card's annual fee.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / cards / items / properties / enrolled
      Added value: +{
      +  "description": "Statement credits the user has enrolled in with the issuer, as credit ids from search_cards. A credit that needs enrolling counts only when it's here. Ask; never assume.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / cards / items / properties / opened
      Added value: +{
      +  "description": "The day the account opened (YYYY-MM-DD), for a card with a first-year rate. Optional; without it the card is ranked at its standard rates.",
      +  "type": "string"
      +}
  6. Changed4 schema fields changed
    • changedInput schema / properties / issuer / enum
      Previous value: -[
      -  "amex",
      -  "bank-of-america",
      -  "barclays",
      -  "capital-one",
      -  "chase",
      -  "citi",
      -  "column",
      -  "discover",
      -  "sofi",
      -  "synchrony",
      -  "td-bank",
      -  "usbank",
      -  "wells-fargo"
      -]New value: +[
      +  "amex",
      +  "bank-of-america",
      +  "barclays",
      +  "caltech-efcu",
      +  "capital-one",
      +  "chase",
      +  "citi",
      +  "column",
      +  "discover",
      +  "elan",
      +  "goldman-sachs",
      +  "navy-federal",
      +  "penfed",
      +  "sofi",
      +  "synchrony",
      +  "td-bank",
      +  "usbank",
      +  "wells-fargo"
      +]
    • changedInput schema / properties / memberships / items / enum
      Previous value: -[
      -  "amazon-prime",
      -  "bank-of-america-account",
      -  "bank-of-america-small-business-account",
      -  "bofa-rewards-member",
      -  "bofa-rewards-preferred-honors",
      -  "bofa-rewards-preferred-plus",
      -  "bofa-rewards-premier",
      -  "costco",
      -  "nordy-club-ambassador",
      -  "sams-club",
      -  "sams-club-plus"
      -]New value: +[
      +  "amazon-prime",
      +  "bank-of-america-account",
      +  "bank-of-america-small-business-account",
      +  "bofa-rewards-member",
      +  "bofa-rewards-preferred-honors",
      +  "bofa-rewards-preferred-plus",
      +  "bofa-rewards-premier",
      +  "caltech-efcu",
      +  "costco",
      +  "navy-federal",
      +  "nordy-club-ambassador",
      +  "penfed-honors-advantage",
      +  "rei-co-op",
      +  "sams-club",
      +  "sams-club-plus",
      +  "usbank-smartly-100",
      +  "usbank-smartly-25",
      +  "usbank-smartly-50",
      +  "verizon-account"
      +]
    • addedOutput schema / properties / assumptions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "scope",
      -  "quarter",
      -  "date",
      -  "rows",
      -  "notes"
      -]New value: +[
      +  "scope",
      +  "quarter",
      +  "date",
      +  "rows",
      +  "notes",
      +  "assumptions"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / memberships / items / enum
      Previous value: -[
      -  "amazon-prime",
      -  "bank-of-america-account",
      -  "bank-of-america-small-business-account",
      -  "bofa-rewards-member",
      -  "bofa-rewards-preferred-honors",
      -  "bofa-rewards-preferred-plus",
      -  "bofa-rewards-premier",
      -  "costco",
      -  "nordy-club-ambassador"
      -]New value: +[
      +  "amazon-prime",
      +  "bank-of-america-account",
      +  "bank-of-america-small-business-account",
      +  "bofa-rewards-member",
      +  "bofa-rewards-preferred-honors",
      +  "bofa-rewards-preferred-plus",
      +  "bofa-rewards-premier",
      +  "costco",
      +  "nordy-club-ambassador",
      +  "sams-club",
      +  "sams-club-plus"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / issuer / enum
      Previous value: -[
      -  "amex",
      -  "bank-of-america",
      -  "capital-one",
      -  "chase",
      -  "citi",
      -  "column",
      -  "discover",
      -  "sofi",
      -  "td-bank",
      -  "usbank",
      -  "wells-fargo"
      -]New value: +[
      +  "amex",
      +  "bank-of-america",
      +  "barclays",
      +  "capital-one",
      +  "chase",
      +  "citi",
      +  "column",
      +  "discover",
      +  "sofi",
      +  "synchrony",
      +  "td-bank",
      +  "usbank",
      +  "wells-fargo"
      +]
  9. Changed1 schema field changed
    • changedInput schema / properties / issuer / enum
      Previous value: -[
      -  "amex",
      -  "bank-of-america",
      -  "capital-one",
      -  "chase",
      -  "citi",
      -  "column",
      -  "sofi",
      -  "td-bank",
      -  "usbank",
      -  "wells-fargo"
      -]New value: +[
      +  "amex",
      +  "bank-of-america",
      +  "capital-one",
      +  "chase",
      +  "citi",
      +  "column",
      +  "discover",
      +  "sofi",
      +  "td-bank",
      +  "usbank",
      +  "wells-fargo"
      +]
  10. Changed4 schema fields changed
    • addedInput schema / properties / everyCard
      Added value: +{
      +  "description": "true to pick from every card earnrate knows even when the user has a saved wallet (\"which cards should I get?\"); the filters then apply.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / memberships / description
      Previous value: -"Memberships the user has, such as amazon-prime, when they're named in the conversation rather than saved."New value: +"Memberships the user has, such as amazon-prime or costco, when they're named in the conversation rather than saved."
    • changedInput schema / properties / memberships / items / enum
      Previous value: -[
      -  "amazon-prime",
      -  "bank-of-america-account",
      -  "bank-of-america-small-business-account",
      -  "bofa-rewards-member",
      -  "bofa-rewards-preferred-honors",
      -  "bofa-rewards-preferred-plus",
      -  "bofa-rewards-premier",
      -  "nordy-club-ambassador"
      -]New value: +[
      +  "amazon-prime",
      +  "bank-of-america-account",
      +  "bank-of-america-small-business-account",
      +  "bofa-rewards-member",
      +  "bofa-rewards-preferred-honors",
      +  "bofa-rewards-preferred-plus",
      +  "bofa-rewards-premier",
      +  "costco",
      +  "nordy-club-ambassador"
      +]
    • changedInput schema / properties / valuation / description
      Previous value: -"flat (default): points at their cash-out value, about 1¢. points-heavy: Amex MR and Chase UR at 1.7¢, for people who transfer points to airlines and hotels."New value: +"Instead of the user's saved point values (or earnrate's defaults): flat, points at their cash-out value, MR and UR at 1¢; or points-heavy, MR and UR at 1.7¢, for people who transfer points to airlines and hotels."
  11. Changed5 schema fields changed
    • addedInput schema / properties / business
      Added value: +{
      +  "description": "Business cards instead of personal ones.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / issuer
      Added value: +{
      +  "description": "Only this issuer's cards.",
      +  "enum": [
      +    "amex",
      +    "bank-of-america",
      +    "capital-one",
      +    "chase",
      +    "citi",
      +    "column",
      +    "sofi",
      +    "td-bank",
      +    "usbank",
      +    "wells-fargo"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "cash: cash back cards only. points: points and miles cards only.",
      +  "enum": [
      +    "any",
      +    "cash",
      +    "points"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / noAnnualFee
      Added value: +{
      +  "description": "Only cards with no annual fee.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / valuation
      Added value: +{
      +  "description": "flat (default): points at their cash-out value, about 1¢. points-heavy: Amex MR and Chase UR at 1.7¢, for people who transfer points to airlines and hotels.",
      +  "enum": [
      +    "flat",
      +    "points-heavy"
      +  ],
      +  "type": "string"
      +}
  12. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already state this is a read-only, non-destructive, closed-world operation, so the description focuses on added behavioral context. It discloses that all-card results note fee and conditions, that saved-card answers use caps/picks/activations as-is, and that filters only apply in all-cards mode.

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?

The description is front-loaded with the core purpose and moves efficiently through scope modes, filter applicability, and the alternative tool. It is dense but not wasteful, though 'Pass on the notes' is unexplained and the paragraph could be easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given nine parameters, full schema descriptions, annotations, and an output schema, the description covers the critical mode behavior and the single-store alternative. It omits explicit mention of the everyCard override and valuation/memberships parameters, but those are documented in the schema, so the remaining gap is minor.

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 100%, so the schema already defines each parameter; the description adds meaningful conditional semantics by saying kind, noAnnualFee, business, and issuer filters apply only when picking from every card. It also clarifies that named cards are answered as-is without saving, which complements the schema's cards description.

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 outcome: 'The card to use for each everyday kind of purchase right now,' and lists the categories covered. It also distinguishes itself from best_card_for_purchase for single-store queries, so an agent can route correctly without opening the schema.

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?

It explicitly says when to use an alternative: 'For one specific store, call best_card_for_purchase instead.' It also explains the mode switch between all cards, named cards, and the saved wallet, plus when the kind/noAnnualFee/business/issuer filters apply.

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.