Skip to main content
Glama

My swaps

my_swaps
Read-onlyIdempotent

The current user's swaps with friends: waiting_for_you (proposed to the user: approve or decline with answer_swap), waiting_for_friend (proposed by the user: they may withdraw it), and answered in the last 30 days. Each swap: you_give and you_receive with cards, value in currency (default USD) and lines. Disclosure duties: name every deck of the user's a copy they give breaks (lines[].breaks_decks), and on an open swap every claim the yes would release (lines[].would_release). The friend's deck names are never shown. An open swap past expires_at reads expired.

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

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.

Output Schema

NameRequiredDescriptionDefault
noteYes
answeredYesApproved, declined, withdrawn or expired, the last 30 days
currencyYes
waiting_for_youYesProposed to the user: approve or decline (answer_swap)
waiting_for_friendYesProposed by the user: the friend answers; the user may withdraw

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/idempotent, and the description adds substantial behavior beyond them: the 30-day answered window, the disclosure duties (name every deck a given copy breaks, every claim a yes would release), the privacy rule that friend deck names are never shown, and the expired state past expires_at. It does not describe pagination or ordering of results.

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 resource, then statuses, then output shape, then duties; nearly every clause carries information. The single dense paragraph is somewhat hard to scan given the number of distinct obligations packed into it.

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 read-only listing tool with an output schema and full parameter coverage, the description covers scope, item shape (you_give/you_receive, value, lines), privacy constraints, and edge states (expired, rate_missing). Nothing an agent needs to call or interpret it 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% and the schema already explains the USD/EUR/CHF sourcing and rate_missing edge case. The description adds the default value ('default USD') and reinforces the currency context for values, which is a modest but real addition 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?

States a specific resource and owner ('The current user's swaps with friends') and enumerates exactly which swaps are returned (waiting_for_you, waiting_for_friend, answered in last 30 days), so it is distinguishable from siblings at a glance.

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 explicit routing for the waiting_for_you case ('approve or decline with answer_swap') and explains that waiting_for_friend swaps may be withdrawn by the friend. No explicit when-not-to-use or guidance for the answered/expired cases, but the scope is stated precisely enough to select correctly.

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