Skip to main content
Glama

Update a card

update_card
DestructiveIdempotent

Changes settings on a card already in the wallet: its category picks for this period, checkout label, anniversary, opening date (optional; for first-year rates), activated categories, cap spending so far (capSpent), spending this year toward its spend bonuses (milestoneSpent), statement credits enrolled in and free nights used (enrolled), credits used this period (creditUsed), credits or free nights not used at all (skippedCredits), what a free night is worth to the user (nightValues, only if they say), or a welcome bonus to track. Picks replace the saved ones in each choice group you set (other groups are kept) for the current period. Use it when the user picks new categories, such as each quarter on U.S. Bank Cash+. It uses the user's hosted earnrate wallet, not a wallet file on their computer.

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": {
      "cardId": "<cardId>"
    },
    "name": "update_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
addedNoLeave this out: adding a card saves today. earnrate.dev gives it when putting back a card it removed.
bonusNoA welcome bonus the user is working toward, so purchases recorded on this card count toward it and answers can favor it. Ask when they opened the account; spending needed and the deadline default to the card's published offer. null stops tracking it.
picksNoFor cards where the cardholder picks bonus categories: choice id → option ids, from search_cards, e.g. {"five-percent": ["tv-internet-streaming", "fast-food"]}. Saved for the current period; [] clears a choice's picks. Ask the user; don't guess.
cardIdYesThe card id from search_cards, e.g. chase-sapphire-preferred.
openedNoOptional: the day the account opened, YYYY-MM-DD. Only for cards with a first-year rate (search_cards lists it), which applies only while a purchase falls in the window; without a date the card is ranked at its standard rates. Ask the user; never guess or assume a card is new. null removes it.
capSpentNoDollars already spent this period on a capped bonus, for a card the user starts tracking partway through: cap key (as list_wallet shows it) → dollars, e.g. {"five-percent-quarterly": 400}. Ask; recorded purchases add to it from then on.
enrolledNoStatement credit ids the user has enrolled in with the issuer, or, for a credit that needs no enrolling, says they use, and free night ids they say they use (search_cards and list_wallet list each card's credits and free nights, e.g. "lululemon" on Amex Platinum, "anniversary-night" on IHG Premier). A credit that needs enrolling counts in answers only once it's here, and any credit or free night counts against the annual fee only once it's here (or, for a credit, has been used). Replaces the current list. Ask; never assume.
activatedNoRule ids the user has activated with the issuer, such as rotating categories. Replaces the current list.
creditUsedNoDollars of a statement credit already received this period: credit id → dollars, e.g. {"lululemon": 40}. Ask; recorded purchases add to it from then on.
anniversaryNoThe account's anniversary as MM-DD: for cards whose cap resets on it, and for a fee card's renewal check (whether it still pays for itself before the fee comes due). Optional; the opening date stands in. Ask; don't guess.
nightValuesNoWhat a yearly free night is worth to the user, in dollars, only if they say: free night id → dollars, e.g. {"anniversary-night": 300}. The night then counts at that instead of its point cap, and a night with no point cap counts only this way. Setting one marks the night used, even when enrolled in the same call leaves it out (only skippedCredits naming it says otherwise). null clears it; other nights keep theirs.
bonusReceivedNoThe month the welcome bonus posted, YYYY-MM, or "none" if the card never paid one, only if the user says. Issuers count repeat-bonus waits from it. null forgets it.
checkoutLabelNoHow the card appears at checkout or in a browser wallet, e.g. "Amex Gold". Optional; null goes back to the card's own name.
milestoneSpentNoDollars already spent on the card this year, for its spend bonuses (bonuses after a yearly spending total, as search_cards lists them): milestone id → dollars, e.g. {"spend-15k": 9000}. Every purchase on the card counts, so give each milestone the same total. Ask; recorded purchases add to it from then on.
skippedCreditsNoStatement credit and free night ids the user doesn't use, e.g. ["dunkin"] on Amex Gold. They're left out of picks, the to-do list and the annual-fee math; every other credit or free night on the card counts against its fee once it's in enrolled (or, for a credit that needs no enrolling, has been used). Replaces the current list; [] counts them all again.

Output Schema

NameRequiredDescriptionDefault
notesYes
cardIdsYes
createdYes
messageYes
membershipsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / added
      Added value: +{
      +  "description": "Leave this out: adding a card saves today. earnrate.dev gives it when putting back a card it removed.",
      +  "format": "date",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / bonus / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "by": {
      -        "description": "The deadline, YYYY-MM-DD, only if the user's offer differs from the published one.",
      -        "format": "date",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -        "type": "string"
      -      },
      -      "opened": {
      -        "description": "The day the account opened, YYYY-MM-DD.",
      -        "format": "date",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -        "type": "string"
      -      },
      -      "spend": {
      -        "description": "Dollars of spending the bonus needs, only if the user's offer differs from the published one.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "spent": {
      -        "description": "Dollars already spent toward the bonus. Default 0.",
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "opened"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "by": {
      +        "description": "The deadline, YYYY-MM-DD, only if the user's offer differs from the published one.",
      +        "format": "date",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +        "type": "string"
      +      },
      +      "met": {
      +        "description": "The month the spending was reached, YYYY-MM, only if the user says; recorded purchases set it.",
      +        "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
      +        "type": "string"
      +      },
      +      "opened": {
      +        "description": "The day the account opened, YYYY-MM-DD.",
      +        "format": "date",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +        "type": "string"
      +      },
      +      "spend": {
      +        "description": "Dollars of spending the bonus needs, only if the user's offer differs from the published one.",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "spent": {
      +        "description": "Dollars already spent toward the bonus. Default 0.",
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "opened"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / bonusReceived
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "description": "A month, YYYY-MM.",
      +          "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
      +          "type": "string"
      +        },
      +        {
      +          "const": "none",
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The month the welcome bonus posted, YYYY-MM, or \"none\" if the card never paid one, only if the user says. Issuers count repeat-bonus waits from it. null forgets it."
      +}
  3. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / bonus / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "by": {
      -        "description": "The deadline, YYYY-MM-DD, only if the user's offer differs from the published one.",
      -        "format": "date",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -        "type": "string"
      -      },
      -      "opened": {
      -        "description": "The day the account opened, YYYY-MM-DD.",
      -        "format": "date",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -        "type": "string"
      -      },
      -      "spend": {
      -        "description": "Dollars of spending the bonus needs, only if the user's offer differs from the published one.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "spent": {
      -        "description": "Dollars already spent toward the bonus. Default 0.",
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "opened"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "by": {
      +        "description": "The deadline, YYYY-MM-DD, only if the user's offer differs from the published one.",
      +        "format": "date",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +        "type": "string"
      +      },
      +      "opened": {
      +        "description": "The day the account opened, YYYY-MM-DD.",
      +        "format": "date",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +        "type": "string"
      +      },
      +      "spend": {
      +        "description": "Dollars of spending the bonus needs, only if the user's offer differs from the published one.",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "spent": {
      +        "description": "Dollars already spent toward the bonus. Default 0.",
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "opened"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed2 schema fields changed
    • removedInput schema / properties / picks / additionalProperties / minItems
      Removed value: -1
    • changedInput schema / properties / picks / description
      Previous value: -"For cards where the cardholder picks bonus categories: choice id → option ids, from search_cards, e.g. {\"five-percent\": [\"tv-internet-streaming\", \"fast-food\"]}. Saved for the current period. Ask the user; don't guess."New value: +"For cards where the cardholder picks bonus categories: choice id → option ids, from search_cards, e.g. {\"five-percent\": [\"tv-internet-streaming\", \"fast-food\"]}. Saved for the current period; [] clears a choice's picks. Ask the user; don't guess."
  5. Changed1 schema field changed
    • changedInput schema / properties / nightValues / description
      Previous value: -"What a yearly free night is worth to the user, in dollars, only if they say: free night id → dollars, e.g. {\"anniversary-night\": 300}. The night then counts at that instead of its point cap, and a night with no point cap counts only this way. Setting one marks the night used. null clears it; other nights keep theirs."New value: +"What a yearly free night is worth to the user, in dollars, only if they say: free night id → dollars, e.g. {\"anniversary-night\": 300}. The night then counts at that instead of its point cap, and a night with no point cap counts only this way. Setting one marks the night used, even when enrolled in the same call leaves it out (only skippedCredits naming it says otherwise). null clears it; other nights keep theirs."
  6. Changed1 schema field changed
    • addedInput schema / properties / nightValues
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "description": "What a yearly free night is worth to the user, in dollars, only if they say: free night id → dollars, e.g. {\"anniversary-night\": 300}. The night then counts at that instead of its point cap, and a night with no point cap counts only this way. Setting one marks the night used. null clears it; other nights keep theirs.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / enrolled / description
      Previous value: -"Statement credit ids the user has enrolled in with the issuer, or, for a credit that needs no enrolling, says they use (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here, and any credit counts against the annual fee only once it's here (or has been used). Replaces the current list. Ask; never assume."New value: +"Statement credit ids the user has enrolled in with the issuer, or, for a credit that needs no enrolling, says they use, and free night ids they say they use (search_cards and list_wallet list each card's credits and free nights, e.g. \"lululemon\" on Amex Platinum, \"anniversary-night\" on IHG Premier). A credit that needs enrolling counts in answers only once it's here, and any credit or free night counts against the annual fee only once it's here (or, for a credit, has been used). Replaces the current list. Ask; never assume."
    • changedInput schema / properties / skippedCredits / description
      Previous value: -"Statement credit ids the user doesn't use, e.g. [\"dunkin\"] on Amex Gold. They're left out of picks, the to-do list and the annual-fee math; every other credit on the card counts against its fee once it's in enrolled (or, for one that needs no enrolling, has been used). Replaces the current list; [] counts them all again."New value: +"Statement credit and free night ids the user doesn't use, e.g. [\"dunkin\"] on Amex Gold. They're left out of picks, the to-do list and the annual-fee math; every other credit or free night on the card counts against its fee once it's in enrolled (or, for a credit that needs no enrolling, has been used). Replaces the current list; [] counts them all again."
  8. Changed1 schema field changed
    • changedInput schema / properties / anniversary / description
      Previous value: -"The account's anniversary as MM-DD, for cards whose cap resets on it."New value: +"The account's anniversary as MM-DD: for cards whose cap resets on it, and for a fee card's renewal check (whether it still pays for itself before the fee comes due). Optional; the opening date stands in. Ask; don't guess."
  9. Changed2 schema fields changed
    • changedInput schema / properties / enrolled / description
      Previous value: -"Statement credit ids the user has enrolled in with the issuer (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here. Replaces the current list. Ask; never assume."New value: +"Statement credit ids the user has enrolled in with the issuer, or, for a credit that needs no enrolling, says they use (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here, and any credit counts against the annual fee only once it's here (or has been used). Replaces the current list. Ask; never assume."
    • addedInput schema / properties / skippedCredits
      Added value: +{
      +  "description": "Statement credit ids the user doesn't use, e.g. [\"dunkin\"] on Amex Gold. They're left out of picks, the to-do list and the annual-fee math; every other credit on the card counts against its fee once it's in enrolled (or, for one that needs no enrolling, has been used). Replaces the current list; [] counts them all again.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  10. Changed3 schema fields changed
    • changedInput schema / properties / creditUsed / description
      Previous value: -"Dollars of a merchant credit already received this period: credit id → dollars, e.g. {\"lululemon\": 40}. Ask; recorded purchases add to it from then on."New value: +"Dollars of a statement credit already received this period: credit id → dollars, e.g. {\"lululemon\": 40}. Ask; recorded purchases add to it from then on."
    • changedInput schema / properties / enrolled / description
      Previous value: -"Merchant credit ids the user has enrolled in with the issuer (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here. Replaces the current list. Ask; never assume."New value: +"Statement credit ids the user has enrolled in with the issuer (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here. Replaces the current list. Ask; never assume."
    • changedInput schema / properties / milestoneSpent / description
      Previous value: -"Dollars already spent on the card this year, for its spend milestones (bonuses after a yearly spending total, as search_cards lists them): milestone id → dollars, e.g. {\"spend-15k\": 9000}. Every purchase on the card counts, so give each milestone the same total. Ask; recorded purchases add to it from then on."New value: +"Dollars already spent on the card this year, for its spend bonuses (bonuses after a yearly spending total, as search_cards lists them): milestone id → dollars, e.g. {\"spend-15k\": 9000}. Every purchase on the card counts, so give each milestone the same total. Ask; recorded purchases add to it from then on."
  11. Changed2 schema fields changed
    • addedInput schema / properties / creditUsed
      Added value: +{
      +  "additionalProperties": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "description": "Dollars of a merchant credit already received this period: credit id → dollars, e.g. {\"lululemon\": 40}. Ask; recorded purchases add to it from then on.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / enrolled
      Added value: +{
      +  "description": "Merchant credit ids the user has enrolled in with the issuer (search_cards and list_wallet list each card's credits, e.g. \"lululemon\" on Amex Platinum). A credit that needs enrolling counts in answers only once it's here. Replaces the current list. Ask; never assume.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  12. Changed1 schema field changed
    • addedInput schema / properties / opened
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional: the day the account opened, YYYY-MM-DD. Only for cards with a first-year rate (search_cards lists it), which applies only while a purchase falls in the window; without a date the card is ranked at its standard rates. Ask the user; never guess or assume a card is new. null removes it."
      +}
  13. Changed1 schema field changed
    • addedInput schema / properties / milestoneSpent
      Added value: +{
      +  "additionalProperties": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "description": "Dollars already spent on the card this year, for its spend milestones (bonuses after a yearly spending total, as search_cards lists them): milestone id → dollars, e.g. {\"spend-15k\": 9000}. Every purchase on the card counts, so give each milestone the same total. Ask; recorded purchases add to it from then on.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  14. Changed5 schema fields changed
    • addedInput schema / properties / capSpent
      Added value: +{
      +  "additionalProperties": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "description": "Dollars already spent this period on a capped bonus, for a card the user starts tracking partway through: cap key (as list_wallet shows it) → dollars, e.g. {\"five-percent-quarterly\": 400}. Ask; recorded purchases add to it from then on.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / checkoutLabel / anyOf
      Added value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / checkoutLabel / description
      Previous value: -"How the card appears at checkout or in a browser wallet, e.g. \"Amex Gold\". Optional."New value: +"How the card appears at checkout or in a browser wallet, e.g. \"Amex Gold\". Optional; null goes back to the card's own name."
    • removedInput schema / properties / checkoutLabel / minLength
      Removed value: -1
    • removedInput schema / properties / checkoutLabel / type
      Removed value: -"string"
  15. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial semantics: picks 'replace the saved ones in each choice group you set (other groups are kept) for the current period,' lists such as enrolled/activated/skippedCredits are replaced wholesale, and bonus null 'stops tracking it.' It also discloses that it operates on the hosted earnrate wallet rather than a local wallet file, which is behavioral context the annotations 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 in the first clause, but the body is one sprawling sentence enumerating a dozen fields with parenthetical aliases, which is harder to scan than the schema it duplicates. The two closing sentences (replace semantics, hosted wallet) earn their place; much of the middle enumeration does not.

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?

For a 15-parameter mutation tool with nested objects, the definition covers what changes, how list fields replace, and the hosted-wallet scope, and an output schema exists so return values need not be explained. It omits anything about permissions, error conditions, or partial-failure behavior when only some fields are valid, which would matter for a destructive multi-field update.

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 each parameter already carries a detailed description, so the schema does the heavy lifting. The description's field list largely restates those names (capSpent, milestoneSpent, creditUsed, skippedCredits) without adding format or default information beyond the schema; the replace-vs-merge note for picks is the main genuine addition.

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?

Opens with a specific verb and resource plus scope: 'Changes settings on a card already in the wallet,' which implicitly separates it from add_card/remove_card. It then enumerates the exact setting families (picks, checkout label, anniversary, capSpent, milestoneSpent, enrolled, creditUsed, skippedCredits, nightValues, bonus), so an agent can tell whether a given field belongs to this tool 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 Guidelines4/5

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

Gives a concrete when-to-use trigger ('when the user picks new categories, such as each quarter on U.S. Bank Cash+') and a clear context ('a card already in the wallet'). It also names search_cards and list_wallet as the sources of ids. It stops short of an explicit when-not statement or a direct hand-off to add_card for cards not yet in the wallet.

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.