The fastest way to search a large Magic card pool is to build the query in layers: define the deck’s color boundary, add the card type, set a mana-value range, and then exclude results that do not fit. Only after that should you search rules text for a specific job such as drawing cards or destroying artifacts.
This works in tools that support Scryfall-style syntax, including some card databases and deckbuilders. Operator support can vary, so check the search documentation for the tool you are using. The examples below follow the documented structured card-query syntax used for fields such as type, mana value, color, identity, and Oracle text.
Build the search one filter at a time
A structured query is easier to troubleshoot when each term answers one question. Space-separated terms normally work together as AND conditions: every result must satisfy every term. Use OR when either of two conditions is acceptable, and add parentheses around alternatives so the search engine evaluates them as a group. A leading hyphen excludes matching cards.
| Question | Common syntax | What it controls |
|---|---|---|
| What type of card is it? | t:creature | Card types, supertypes, and subtypes |
| How much does it cost? | mv<=3 | Total mana value |
| What color is the card? | c=w | The card’s actual color |
| Does it fit my Commander? | id<=wu | Commander color identity |
| What does its text say? | o:"draw a card" | Current Oracle text |
| What should be removed? | -t:creature | Any result matching that condition |
Start with the broad structural requirements. If you need inexpensive creatures for a white-blue Commander deck, try id<=wu t:creature mv<=3. That finds creatures with mana value 3 or less whose identities fit inside white-blue, including mono-white, mono-blue, white-blue, and colorless-identity cards. It excludes cards whose identities contain black, red, or green.
Use mana value for total cost, not colored requirements
Mana value is the total amount of mana in a card’s mana cost, regardless of color. A card costing {3}{U}{U} has mana value 5. Outside the stack, X contributes 0 when determining mana value; hybrid symbols use their largest numerical component, and each Phyrexian mana symbol contributes 1.
Use comparisons to describe the range you want: mv=2 for exactly 2, mv>=5 for 5 or more. This tells the search tool how large the total cost is. It does not tell the tool which colors must be paid.
If the mana symbols themselves matter, use the tool’s mana-cost field, often m: or mana:. That distinction matters when you want cards that cost exactly one blue mana, contain multiple black symbols, or can be cast without colored mana.
Mana value is also only one deckbuilding signal. After finding candidates, inspect where they sit in the complete curve rather than assuming a low average solves every problem. The distinction between a distribution and a single average is covered in mana curve versus average mana value.
Choose card color or Commander color identity
Color and color identity answer different questions. A card’s color normally comes from the colored symbols in its mana cost, although a color indicator or an in-game effect can also define or change it. The frame’s appearance is not the rule.
Commander deck construction uses color identity. This includes colors in the card’s casting cost and colored mana symbols in its rules text. A card can therefore be colorless while still having a colored Commander identity. Wizards’ Commander format page explains the deck-construction restriction.
- Use c: when the card’s actual color is the criterion.
- Use id: when deciding whether a card fits a Commander deck.
- Use id=wu for exactly white-blue identity.
- Use id<=wu for any identity contained within white-blue.
The difference between equality and subset operators is important. id=wu requires both white and blue identity. id<=wu allows white-blue, mono-white, mono-blue, and colorless identities while rejecting additional colors. For most Commander discovery searches, the subset form is the useful starting point. This card-search syntax reference also distinguishes exact identity from identities contained within a color combination.
Do not assume c=w means “anything a white Commander can play.” It is an exact card-color search, and card color alone does not establish Commander eligibility.
Watch for devoid and hybrid mana
Devoid can make a card colorless even though colored symbols in its mana cost still contribute to its Commander color identity. A colorless-card search and an identity search can therefore return different pools.
Hybrid mana creates another common surprise. A hybrid symbol contributes both of its colors to color identity even though either option can pay for the symbol when casting the spell. A card with a white-blue hybrid symbol cannot go into a mono-white Commander deck.
Use type filters for both inclusion and exclusion
The t: field can search card types, supertypes, and subtypes. That makes it useful for broad categories such as t:artifact and narrower searches such as t:equipment or t:elf.
Exclusion is often where a vague search becomes useful. For example, id<=g t:artifact mv<=3 -t:creature finds noncreature artifacts with mana value 3 or less whose identities fit within green. Because -t:creature removes every result with the creature type, it also removes artifact creatures.
For either-or categories, group the alternatives: id<=br (t:instant OR t:sorcery) mv<=3 f:commander. This describes instants or sorceries, with mana value 3 or less, that fit inside black-red identity and are legal in Commander. Legality and color identity remain separate checks; satisfying one does not guarantee the other.
Add Oracle text only after defining the structure
Type, color, and mana value describe a card’s structure, but they do not prove that it performs the role your deck needs. Add o: to search current Oracle text. Quotation marks preserve a multiword phrase, as in o:"draw a card".
A practical sequence might look like this:
- Set the Commander boundary with id<= followed by the commander’s available colors.
- Add a type such as t:creature, t:enchantment, or grouped alternatives.
- Apply a mana-value ceiling such as mv<=3.
- Remove unwanted categories with a leading hyphen.
- Add an Oracle-text phrase for the card’s intended job.
- Apply the relevant format-legality filter if the tool supports one.
- Review the results manually for timing, restrictions, and synergy with the deck.
Avoid starting with a long rules-text phrase and hoping the right cards appear. Magic uses many templates for similar effects, so one wording can miss valid options. Run several nearby searches, compare the pools, and record promising cards in your deckbuilder. That search-to-testing loop fits naturally into a repeatable MTG deckbuilding workflow.
Troubleshoot an empty or bloated result set
When a search returns nothing, remove one term at a time. First remove the Oracle-text phrase, then exclusions, then the mana-value limit. This reveals which condition eliminated the pool. When there are too many results, tighten the structural filters before adding increasingly elaborate text conditions.
A good final query should express the actual deckbuilding decision: which cards are legal for the deck, have the required structure, fit the desired cost range, and plausibly perform the needed role. The search narrows the cardboard haystack. You still decide whether the card advances the plan—which is fortunate, because “the database made me play it” remains a weak defense for a seven-mana pet card.