Skip to main content
Glama

hearthstone_cards

Read-only

List one page of public Hearthstone cards with the card gallery's native controls for sets, classes, keywords, rarities, Battlegrounds, Mercenaries, Arena, text search and sorting, and return the source card records with page counts. Discover valid filter values and sort slugs with hearthstone_card_filters; the default request is the all-class Standard set.

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": "hearthstone_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoOptional batch lookup of up to 100 numeric card IDs (repeatable or comma-separated). The source then returns exactly those cards, including non-collectible ones, and ignores every other filter, so ids can only be combined with locale.
setNoOptional set slug: standard (default when no gameMode is set), wild, core, legacy or any expansion slug from hearthstone_filters (sets); set groups and classic are not valid. An unknown value returns no cards. Do not combine with gameMode arena or duels.
pageNoUpstream page number
sortNoOptional sort: a comma-separated list of field or field:asc|desc with field one of manaCost, tier, name, attack, health, dateadded, classes, groupByClass or groupByRole (the sort slugs in hearthstone_filters); defaults to the gallery order. Use order for the direction of a bare field.
tierNoOptional repeatable Battlegrounds tavern-tier filter.
typeNoOptional repeatable card type slug: minion, spell, weapon, hero, location, hero power, trinket, dark gift, timewarp or baconquestreward; see hearthstone_filters (types). Types that no collectible card has return no cards unless collectible includes 0.
classNoOptional class slug, or a comma-separated list: all (default), neutral, deathknight, demonhunter, druid, hunter, mage, paladin, priest, rogue, shaman, warlock or warrior; discover the current slugs with hearthstone_filters (classes). Case-insensitive; an unknown value returns no cards.
orderNoOptional direction asc or desc for a sort given as a bare field name.
attackNoOptional repeatable source attack filter.
healthNoOptional repeatable source health filter.
localeNoOptional card locale: de_DE, en_GB, en_US, es_ES, es_MX, fr_FR, it_IT, ja_JP, ko_KR, pl_PL, pt_BR, ru_RU, th_TH, zh_TW or zh_CN; defaults to en_US.
rarityNoOptional rarity slug (a comma-separated list is accepted): free, common, rare, epic or legendary.
factionNoOptional faction slug: grimy_goons, jade_lotus, kabal, zerg, terran or protoss.
keywordNoOptional keyword slug, for example taunt, battlecry, divine-shield or spell-damage; discover them with hearthstone_filters (keywords). The slug is matched case-insensitively against the catalog and sent to the source exactly as it lists it (most slugs carry trailing whitespace). One keyword only.
gameModeNoOptional game mode: arena (current Arena pool), battlegrounds, mercenaries or duels (retired, returns no cards). Constructed formats are selected with set=standard or set=wild, not gameMode.
manaCostNoOptional repeatable source mana-cost filter.
pageSizeNoOptional source page size, 1 to 450; defaults to 450.
bgCardTypeNoOptional Battlegrounds card type: hero, minion, quest, reward, anomaly, spell, trinket or timewarp (live-verified); an unknown value returns no cards.
bgGameModeNoOptional Battlegrounds mode: solos or duos (use with gameMode battlegrounds); other values are ignored by the source.
minionTypeNoOptional minion-type slug such as beast, murloc or dragon; discover values with hearthstone_filters (minionTypes).
textFilterNoOptional source card text search.
collectibleNoOptional repeatable source collectible selector; the gallery serializes selected 0/1 values as a comma-separated list.
spellSchoolNoOptional spell-school slug (a comma-separated list is accepted): arcane, fire, frost, nature, holy, shadow, fel, lesser_trinket or greater_trinket.
filterLocaleNoOptional locale of the textFilter search: a site locale such as en-us or de-de (en_US spelling also accepted); defaults to en-us. Other values are rejected because the source hangs on them.
mercenaryRoleNoOptional Mercenaries role: caster, fighter or tank (use with gameMode mercenaries).
mercenaryFactionNoOptional Mercenaries faction: alliance, horde, empire, explorer, legion, pirate or scourge (use with gameMode mercenaries).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changed
    • removedInput schema / properties / armor
      Removed value: -{
      -  "description": "Optional repeatable source armor filter.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • changedInput schema / properties / bgCardType / description
      Previous value: -"Optional Battlegrounds card-type selector from the source gallery."New value: +"Optional Battlegrounds card type: hero, minion, quest, reward, anomaly, spell, trinket or timewarp (live-verified); an unknown value returns no cards."
    • changedInput schema / properties / bgGameMode / description
      Previous value: -"Optional Battlegrounds mode selector; discover values with hearthstone_filters."New value: +"Optional Battlegrounds mode: solos or duos (use with gameMode battlegrounds); other values are ignored by the source."
    • removedInput schema / properties / cardBackCategory
      Removed value: -{
      -  "description": "Optional source card-back category selector; discover values with hearthstone_filters.",
      -  "type": "string"
      -}
    • removedInput schema / properties / cardSetId
      Removed value: -{
      -  "description": "Optional repeatable source card-set ID filter; discover values with hearthstone_filters.",
      -  "items": {
      -    "type": "integer"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • removedInput schema / properties / cardTypeId
      Removed value: -{
      -  "description": "Optional repeatable source card-type ID filter; discover values with hearthstone_filters.",
      -  "items": {
      -    "type": "integer"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • changedInput schema / properties / class / description
      Previous value: -"Optional source class selector; discover values with hearthstone_filters."New value: +"Optional class slug, or a comma-separated list: all (default), neutral, deathknight, demonhunter, druid, hunter, mage, paladin, priest, rogue, shaman, warlock or warrior; discover the current slugs with hearthstone_filters (classes). Case-insensitive; an unknown value returns no cards."
    • removedInput schema / properties / deckFormat
      Removed value: -{
      -  "description": "Optional source deck-format selector.",
      -  "type": "string"
      -}
    • removedInput schema / properties / deckcode
      Removed value: -{
      -  "description": "Optional source deck code filter used by the gallery builder.",
      -  "type": "string"
      -}
    • changedInput schema / properties / faction / description
      Previous value: -"Optional source faction selector; discover values with hearthstone_filters."New value: +"Optional faction slug: grimy_goons, jade_lotus, kabal, zerg, terran or protoss."
    • changedInput schema / properties / filterLocale / description
      Previous value: -"Optional source locale for textFilter; defaults to en-us when textFilter is provided."New value: +"Optional locale of the textFilter search: a site locale such as en-us or de-de (en_US spelling also accepted); defaults to en-us. Other values are rejected because the source hangs on them."
    • changedInput schema / properties / gameMode / description
      Previous value: -"Optional source game-mode selector; see hearthstone_filters. Arena and Duels select their corresponding set."New value: +"Optional game mode: arena (current Arena pool), battlegrounds, mercenaries or duels (retired, returns no cards). Constructed formats are selected with set=standard or set=wild, not gameMode."
    • addedInput schema / properties / ids
      Added value: +{
      +  "description": "Optional batch lookup of up to 100 numeric card IDs (repeatable or comma-separated). The source then returns exactly those cards, including non-collectible ones, and ignores every other filter, so ids can only be combined with locale.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • changedInput schema / properties / keyword / description
      Previous value: -"Optional source keyword selector; discover values with hearthstone_filters."New value: +"Optional keyword slug, for example taunt, battlecry, divine-shield or spell-damage; discover them with hearthstone_filters (keywords). The slug is matched case-insensitively against the catalog and sent to the source exactly as it lists it (most slugs carry trailing whitespace). One keyword only."
    • changedInput schema / properties / mercenaryFaction / description
      Previous value: -"Optional source Mercenary faction selector; discover values with hearthstone_filters."New value: +"Optional Mercenaries faction: alliance, horde, empire, explorer, legion, pirate or scourge (use with gameMode mercenaries)."
    • changedInput schema / properties / mercenaryRole / description
      Previous value: -"Optional source Mercenary role selector; discover values with hearthstone_filters."New value: +"Optional Mercenaries role: caster, fighter or tank (use with gameMode mercenaries)."
    • changedInput schema / properties / minionType / description
      Previous value: -"Optional source minion-type selector; discover values with hearthstone_filters."New value: +"Optional minion-type slug such as beast, murloc or dragon; discover values with hearthstone_filters (minionTypes)."
    • changedInput schema / properties / order / description
      Previous value: -"Optional source sort direction."New value: +"Optional direction asc or desc for a sort given as a bare field name."
    • changedInput schema / properties / rarity / description
      Previous value: -"Optional source rarity selector; discover values with hearthstone_filters."New value: +"Optional rarity slug (a comma-separated list is accepted): free, common, rare, epic or legendary."
    • removedInput schema / properties / rarityId
      Removed value: -{
      -  "description": "Optional repeatable source rarity ID filter; discover values with hearthstone_filters.",
      -  "items": {
      -    "type": "integer"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • changedInput schema / properties / set / description
      Previous value: -"Optional source set selector; discover values with hearthstone_filters."New value: +"Optional set slug: standard (default when no gameMode is set), wild, core, legacy or any expansion slug from hearthstone_filters (sets); set groups and classic are not valid. An unknown value returns no cards. Do not combine with gameMode arena or duels."
    • changedInput schema / properties / sort / description
      Previous value: -"Optional native source sort expression; defaults to the card gallery order."New value: +"Optional sort: a comma-separated list of field or field:asc|desc with field one of manaCost, tier, name, attack, health, dateadded, classes, groupByClass or groupByRole (the sort slugs in hearthstone_filters); defaults to the gallery order. Use order for the direction of a bare field."
    • changedInput schema / properties / spellSchool / description
      Previous value: -"Optional source spell-school selector; discover values with hearthstone_filters."New value: +"Optional spell-school slug (a comma-separated list is accepted): arcane, fire, frost, nature, holy, shadow, fel, lesser_trinket or greater_trinket."
    • removedInput schema / properties / spellSchoolId
      Removed value: -{
      -  "description": "Optional repeatable source spell-school ID filter; discover values with hearthstone_filters.",
      -  "items": {
      -    "type": "integer"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • changedInput schema / properties / type / description
      Previous value: -"Optional repeatable source type selector; discover values with hearthstone_filters."New value: +"Optional repeatable card type slug: minion, spell, weapon, hero, location, hero power, trinket, dark gift, timewarp or baconquestreward; see hearthstone_filters (types). Types that no collectible card has return no cards unless collectible includes 0."
    • removedInput schema / properties / viewMode
      Removed value: -{
      -  "description": "Optional card-gallery view mode; grid is the source default and is omitted.",
      -  "type": "string"
      -}
    • removedInput schema / properties / zilliaxMod
      Removed value: -{
      -  "description": "Optional source Zilliax module filter.",
      -  "type": "boolean"
      -}
  2. Changed2 schema fields changed
    • changedInput schema / properties / locale / description
      Previous value: -"Optional source card locale code; defaults to en_US."New value: +"Optional card locale: de_DE, en_GB, en_US, es_ES, es_MX, fr_FR, it_IT, ja_JP, ko_KR, pl_PL, pt_BR, ru_RU, th_TH, zh_TW or zh_CN; defaults to en_US."
    • changedInput schema / properties / pageSize / description
      Previous value: -"Optional source page size; defaults to 450."New value: +"Optional source page size, 1 to 450; defaults to 450."
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description adds useful context such as returning 'source card records with page counts' and the default all-class Standard scope. Most deeper quirks (ids ignoring other filters, unknown values returning no cards, the filterLocale hang) live in the schema rather than the prose, so the description itself adds solid but not exhaustive behavioral context.

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 sentences, front-loaded with the core action and scope, with the routing hint placed at the end. Dense but every clause carries information; the long control enumeration is slightly list-like but still earns its space.

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 26-parameter listing tool with full schema coverage, an output schema, and annotations, the description supplies defaults, a discovery path, and return-shape hints. Nothing critical is missing, though it could note pagination iteration behavior given the page/pageSize controls.

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 the 26 parameters are each documented in detail (ids composition rules, set/gameMode interaction, sort field list, keyword whitespace caveat). The description adds only a high-level enumeration of the same controls, so baseline 3 is correct.

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 verb and resource ('List one page of public Hearthstone cards') and enumerates the dimensions that can be filtered (sets, classes, keywords, rarities, Battlegrounds, Mercenaries, Arena, text, sorting). The paged/listing scope plus the pointer to hearthstone_card_filters makes it distinguishable from the single-card sibling hearthstone_card.

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?

Explicitly routes discovery of valid filter values and sort slugs to hearthstone_card_filters, and states the default behavior ('the default request is the all-class Standard set'), so an agent knows what happens with no arguments. It stops short of saying when to prefer hearthstone_card (lookup by ID) over this listing tool.

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.