Skip to main content
Glama

Trending cards (30-day price movers)

trending_cards
Read-onlyIdempotent

Use this when the user asks which cards are rising, hot, spiking, crashing or trending, in one game or across all games. Returns the biggest 30-day gainers (or drops) with the percentage change, measured on the PSA 10 price where the card has one and on the raw price otherwise; moves over 300% are excluded as bad data. Do not use for a single named card or for long-term history.

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": "trending_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoRestrict to one game or sport; omit for all.
limitNoHow many cards to return, biggest move first (1 to 50, default 15).
directionNo"up" = biggest gainers, "down" = biggest drops.up
min_market_usdNoIgnore cards whose raw price is below this.

Output Schema

NameRequiredDescriptionDefault
gameYes
cardsYes
countYes
criteriaYes
directionYes
window_daysYes
excluded_unstableYesCandidates dropped because their own 40-day series did not hold together (too few captures, a baseline that swings >2×, a >6× range, or a one-capture jump).

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, biggest move first (1 to 50, default 15)."
  2. Changed3 schema fields changed
    • addedOutput schema / properties / criteria
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / excluded_unstable
      Added value: +{
      +  "description": "Candidates dropped because their own 40-day series did not hold together (too few captures, a baseline that swings >2×, a >6× range, or a one-capture jump).",
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "window_days",
      -  "direction",
      -  "game",
      -  "count",
      -  "cards"
      -]New value: +[
      +  "window_days",
      +  "direction",
      +  "game",
      +  "count",
      +  "excluded_unstable",
      +  "criteria",
      +  "cards"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), but the description goes well beyond them by disclosing the measurement methodology: a 30-day window, PSA 10 price where available with raw price as fallback, and exclusion of moves over 300% as bad data. That price-basis and outlier-filtering detail is exactly the kind of behavioral context an agent needs to trust and explain the results.

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 the trigger condition, followed by return semantics and the exclusion list. Every clause carries information and nothing is redundant with the title or schema.

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 shape need not be explained, annotations cover safety, and the description supplies the remaining essentials: time window, price basis, outlier handling, and scope limits. An agent has everything required to select and invoke it correctly.

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?

With 100% schema description coverage on all four parameters, the schema already explains game filtering, limit ordering, direction, and the raw-price floor. The description adds only marginal parameter meaning, clarifying that the price basis behind the moves is PSA 10 with raw fallback, which loosely informs how min_market_usd applies, but it does not add syntax, edge cases, or defaults beyond the schema.

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 opens with a concrete trigger set ('rising, hot, spiking, crashing or trending') and states exactly what is returned: biggest 30-day gainers or drops with percentage change. It also separates the tool from siblings by ruling out single-card and long-term-history queries, so an agent can distinguish it from get_price_history or search_cards without reading the schema.

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?

Usage is explicit on both sides: 'Use this when the user asks which cards are rising... in one game or across all games' plus 'Do not use for a single named card or for long-term history.' The only gap is that the exclusions do not name the preferred alternative tool, leaving the agent to infer that get_price_history handles long-term history.

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.