Skip to main content
Glama

Best cards to grade

best_cards_to_grade
Read-onlyIdempotent

Use this when the user asks which cards in a game, sport or set have the biggest payoff from grading. Ranks priced cards by expected net profit at a 50% gem rate (half PSA 10, half PSA 9, minus raw and the fee), requiring both PSA 9 and PSA 10 prices so thin-market outliers are excluded. Returns card ids for grading_roi. Do not use for a single named card.

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": {
      "game": "<game>"
    },
    "name": "best_cards_to_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame or sport to rank.
limitNoHow many cards to return, best expected profit first (1 to 50, default 12).
set_slugNoOptional set slug (as used on /sets/<game>/<slug>) to rank inside one set.
grading_fee_usdNoGrading fee to assume. Defaults to $25.

Output Schema

NameRequiredDescriptionDefault
gameYes
cardsYes
countYes
linksYes
criteriaYes
assumed_fee_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limit / description
      Added value: +"How many cards to return, best expected profit first (1 to 50, default 12)."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the actual ranking model: 50% gem rate, half PSA 10 and half PSA 9, minus raw cost and fee. It also explains an eligibility rule that materially affects results — both PSA 9 and PSA 10 prices must exist, which excludes thin-market outliers.

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?

Four sentences, front-loaded with the trigger and exclusion, then the ranking methodology. The parenthetical cost breakdown is dense but necessary, and no sentence merely restates the title or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so return values need not be spelled out, yet the description still notes it returns card ids for grading_roi, linking it into a workflow. With annotations covering safety and schema covering all four parameters, nothing an agent needs to call this correctly is missing.

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, but the description adds meaning the schema does not: it explains that the fee parameter feeds the net-profit calculation and that ranking can be scoped to a game, sport, or set. It does not clarify the limit parameter's effect on ordering beyond what the schema already says.

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: ranks priced cards by expected net profit from grading, scoped to a game, sport, or set. It also distinguishes itself from neighbors by naming grading_roi as the downstream consumer and excluding the single-card case, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Leads with an explicit trigger ("Use this when the user asks which cards ... have the biggest payoff from grading") and supplies an explicit exclusion ("Do not use for a single named card"), which routes the agent to the per-card path. When-to-use and when-not are both stated rather than inferred.

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.