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, Battlegrounds, Mercenaries, card backs, 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
setNoOptional source set selector; discover values with hearthstone_filters.
pageNoUpstream page number
sortNoOptional native source sort expression; defaults to the card gallery order.
tierNoOptional repeatable Battlegrounds tavern-tier filter.
typeNoOptional repeatable source type selector; discover values with hearthstone_filters.
armorNoOptional repeatable source armor filter.
classNoOptional source class selector; discover values with hearthstone_filters.
orderNoOptional source sort direction.
attackNoOptional repeatable source attack filter.
healthNoOptional repeatable source health filter.
localeNoOptional source card locale code; defaults to en_US.
rarityNoOptional source rarity selector; discover values with hearthstone_filters.
factionNoOptional source faction selector; discover values with hearthstone_filters.
keywordNoOptional source keyword selector; discover values with hearthstone_filters.
deckcodeNoOptional source deck code filter used by the gallery builder.
gameModeNoOptional source game-mode selector; see hearthstone_filters. Arena and Duels select their corresponding set.
manaCostNoOptional repeatable source mana-cost filter.
pageSizeNoOptional source page size; defaults to 450.
rarityIdNoOptional repeatable source rarity ID filter; discover values with hearthstone_filters.
viewModeNoOptional card-gallery view mode; grid is the source default and is omitted.
cardSetIdNoOptional repeatable source card-set ID filter; discover values with hearthstone_filters.
bgCardTypeNoOptional Battlegrounds card-type selector from the source gallery.
bgGameModeNoOptional Battlegrounds mode selector; discover values with hearthstone_filters.
cardTypeIdNoOptional repeatable source card-type ID filter; discover values with hearthstone_filters.
deckFormatNoOptional source deck-format selector.
minionTypeNoOptional source minion-type selector; discover values with hearthstone_filters.
textFilterNoOptional source card text search.
zilliaxModNoOptional source Zilliax module filter.
collectibleNoOptional repeatable source collectible selector; the gallery serializes selected 0/1 values as a comma-separated list.
spellSchoolNoOptional source spell-school selector; discover values with hearthstone_filters.
filterLocaleNoOptional source locale for textFilter; defaults to en-us when textFilter is provided.
mercenaryRoleNoOptional source Mercenary role selector; discover values with hearthstone_filters.
spellSchoolIdNoOptional repeatable source spell-school ID filter; discover values with hearthstone_filters.
cardBackCategoryNoOptional source card-back category selector; discover values with hearthstone_filters.
mercenaryFactionNoOptional source Mercenary faction selector; discover values with hearthstone_filters.

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. 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, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the default request shape, that results are the source card records with page counts, and that filter slugs must be validated through the companion tool. It does not discuss pagination limits or how invalid filter values are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose and ending with the discovery pointer and default. No filler, and the long first sentence is dense with substance rather than padding.

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?

With 35 optional parameters, an output schema, and read-only annotations, the description covers purpose, defaults, and how to obtain valid filter values, which is the essential context. Gaps are minor: no guidance on pagination interaction between page and pageSize, and no note that many filter parameters are upstream-native and may be silently ignored.

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 baseline is 3; the description earns a bump by framing all 35 parameters as the card gallery's native controls and by stating the default request (all-class Standard set), which the schema does not say. However, the schema already repeats the 'discover values with hearthstone_filters' pointer on most parameters, so the description's marginal semantic value is modest. Note the naming mismatch: the description points to hearthstone_card_filters while the schema says hearthstone_filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — 'List one page of public Hearthstone cards' — and enumerates the filter families (sets, classes, Battlegrounds, Mercenaries, card backs, text search, sorting), so the agent knows exactly what this tool returns. It never explicitly distinguishes itself from the singular sibling hearthstone_card, so the plural-listing boundary is only implied by 'one page'.

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?

It gives clear operational context: discover valid filter values and sort slugs with hearthstone_card_filters, and it notes the default request is the all-class Standard set, which tells the agent what happens with no arguments. It stops short of stating when NOT to use this tool (e.g. fetching a single card by id), leaving that routing to inference.

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.