Skip to main content
Glama

Collection value

collection_value
Read-onlyIdempotent

Total collection value in currency (default USD), plus gain/loss versus recorded purchase prices (converted through ECB rates). include_proxies defaults to FALSE — proxies are excluded from value everywhere unless explicitly requested; say so when reporting. top_movers:true adds the biggest 7-day price movers among owned cards (needs nightly snapshots). The value over time is price_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": "collection_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoDisplay currency. USD/EUR come from Scryfall; CHF is always EUR × the stored ECB rate. A response that carries `rate_missing` could not price in CHF at all: tell the user that, not that the cards have no price.
top_moversNo
include_proxiesNoDefault false

Output Schema

NameRequiredDescriptionDefault
fx_dateYesThe day of the ECB rates used
currencyYes
top_moversNoThe biggest 7-day movers among owned cards, when asked
total_valueYes
priced_cardsYes
purchase_knownYesGain or loss over the copies with a recorded purchase price only
unpriced_cardsYesCopies with no price, left out of total_value
include_proxiesYesfalse: proxies are left out of every figure; say so

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world. The description adds real behavioral context beyond them: proxies are excluded from value everywhere unless explicitly requested and the agent should say so when reporting. It also discloses a data dependency ('needs nightly snapshots') behind top_movers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary output (total value plus gain/loss) and tightly packed with only operationally useful facts. The telegraphic fragments ('The value over time is price_history') are efficient but slightly abrupt.

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

Completeness4/5

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

Output schema exists, so return shape need not be explained. All three parameters are addressed, defaults and the proxy policy are stated, and the sibling route for history is named. Only the rate_missing failure mode is left solely to the schema.

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 67% and the undocumented parameter (top_movers) is exactly the one the description explains: biggest 7-day movers among owned cards, requiring nightly snapshots. It also restates the include_proxies default and the ECB conversion path, adding meaning beyond the bare enum and boolean definitions.

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 resource and scope: total collection value in a chosen currency plus gain/loss versus recorded purchase prices. It distinguishes itself from the sibling price_history by declaring that time-series value belongs there, so an agent can route without opening schemas.

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?

Gives concrete conditional guidance: top_movers:true adds 7-day movers, include_proxies defaults off, and 'The value over time is price_history' redirects the time-series case to a sibling. It stops short of stating when this tool is the wrong choice for other purposes, but the main fork is explicit.

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.

Resources