Skip to main content
Glama

Owned counts

owned_counts
Read-onlyIdempotent

For every card of a deck's list (id or name) the user owns: how many copies, any printing, anywhere, claimed by a deck or not, and how many of those are proxies (by oracle_id; a card with no copy is left out, and deck_status names the cards). It counts what is owned, not what this deck may use: deck_status says that.

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": {
      "deck": "<deck>"
    },
    "name": "owned_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesDeck id or name

Output Schema

NameRequiredDescriptionDefault
cardsYes
deck_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses meaningful behavior: counts merge across printings, span all locations regardless of claim status, and a card with no owned copy is omitted entirely from the result. Aggregation key (oracle_id) and the omission rule are the kind of details an agent cannot get from the annotations or schema.

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

Conciseness3/5

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

One long sentence weighs down the payload with stacked parentheticals ('(by oracle_id; a card with no copy is left out, and deck_status names the cards)'), making it slow to parse. The core assertion is front-loaded, but the structure could be split into two or three clean sentences without losing content.

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?

An output schema exists, so return shape need not be explained, and the description covers the semantics an agent needs: counting scope, oracle_id aggregation, proxy handling, exclusions, and the ownership-vs-eligibility distinction delegated to deck_status. Only the name-vs-id resolution behavior remains unaddressed.

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?

Schema coverage is 100% and the single 'deck' parameter is already documented as 'Deck id or name' in the schema. The description's '(id or name)' merely repeats that, adding no new semantic detail such as whether ambiguous names error or resolve.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource (per-card owned copy counts for a deck's list) and enumerates exactly what is counted: copies, any printing, anywhere, claimed or not, plus proxies, keyed by oracle_id. It also distinguishes itself from deck_status ('deck_status names the cards' / 'says that'). The only weakness is that the verb is buried inside a run-on clause rather than stated up front.

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?

The closing line 'It counts what is owned, not what this deck may use: deck_status says that' explicitly routes the agent to the sibling for the alternative question, which is real when-to-use guidance. It stops short of naming a concrete trigger for choosing this tool (e.g. 'use when the user asks how many copies they own'), so it is clear context rather than a full decision rule.

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