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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameYesGame or sport to rank.
limitNo
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

TableJSON Schema
NameRequiredDescriptionDefault
gameYes
cardsYes
countYes
linksYes
criteriaYes
assumed_fee_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already mark this as read-only and non-destructive, and the description adds valuable behavioral context beyond that: the 50% gem-rate calculation, expected net profit formula, the requirement for both PSA 9 and PSA 10 prices, and the consequent exclusion of 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?

Three sentences, each earning its place: the use case is front-loaded, the second sentence gives the core calculation and eligibility rule, and the third states the output routing and an important exclusion. No redundant wording.

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?

For a ranking tool with an output schema and safety-carrying annotations, the description provides everything an agent needs: the user intent trigger, the exact business logic, the data prerequisites, the output target, and a clear when-not-to-use boundary.

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?

The schema already documents game, set_slug, and grading_fee_usd, and the description reinforces the roles of game/sport/set and the fee in the calculation. However, the limit parameter has no schema description and the tool description does not clarify it either, so coverage is good but not complete.

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?

The description states a specific action (rank priced cards by grading payoff), a clear resource (cards in a game, sport, or set), and a distinctive output (card ids for grading_roi). It also explicitly excludes single-card lookups, which helps separate it from sibling tools.

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 explicitly says when to use the tool ('Use this when the user asks which cards...') and gives an exclusion ('Do not use for a single named card'). However, it does not name an alternative tool for the excluded case, so it stops short of full alternative guidance.

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.