Skip to main content
Glama

random_card

Retrieve a random Magic: The Gathering card, with options to filter by format, search query, archetype, price range, rarity, or exclude reprints to suit your needs.

Instructions

Get a random Magic: The Gathering card, optionally filtered by format or search criteria

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archetypeNoDeck archetype preference
exclude_reprintsNoExclude heavily reprinted cards
formatNoMagic format to filter by legality
price_rangeNoPrice constraints for random selection
queryNoOptional Scryfall search query to filter random selection (e.g., "c:red", "type:creature")
rarity_preferenceNoPreferred rarity level
similar_toNoFind cards similar to this card

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bmurdock/scryfall-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server