SpellBook Finance is an MCP server published by com.spellbook-finance, hosted at api.spellbook-finance.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 187 tools, including spellbook_tcg_buyer_driver_status, spellbook_tcg_buyer_inspect, spellbook_tcg_buyer_reply, spellbook_tcg_buyer_refund_full, spellbook_tcg_buyer_action_status.
Magic: The Gathering card prices, movers, arbitrage, sealed box EV, and seller inventory tools.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Read a seller workspace's paired TCGplayer driver connection, command compatibility, seller binding and independent reply/refund permissions. Call before inspecting a buyer order. A successful inspection establishes portal access at its observation time.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace owned by the authenticated seller. Required. |
{
"name": "spellbook_tcg_buyer_driver_status",
"description": "Read a seller workspace's paired TCGplayer driver connection, command compatibility, seller binding and independent reply/refund permissions. Call before inspecting a buyer order. A successful inspection establishes portal access at its observation time.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Workspace owned by the authenticated seller. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read TCGplayer buyer support readiness",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Queue an exact TCGplayer order inspection with products, total, refunds and thread summaries. Add a returned threadId to read its messages and prepare a reply. Read spellbook_tcg_buyer_action_status for the verified preview before a write.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| threadId | string | Exact threadId returned by this order's inspection. Omit to discover its threads. |
| sessionId * | string | Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required. |
| orderNumber * | string | Exact TCGplayer order number. Required. |
| workspaceId * | string | Workspace owned by the authenticated seller. Required. |
{
"name": "spellbook_tcg_buyer_inspect",
"description": "Queue an exact TCGplayer order inspection with products, total, refunds and thread summaries. Add a returned threadId to read its messages and prepare a reply. Read spellbook_tcg_buyer_action_status for the verified preview before a write.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sessionId",
"orderNumber"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"threadId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact threadId returned by this order's inspection. Omit to discover its threads."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required."
},
"orderNumber": {
"type": "string",
"pattern": "^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{6}-[A-Fa-f0-9]{5}$",
"description": "Exact TCGplayer order number. Required."
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Workspace owned by the authenticated seller. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Inspect a TCGplayer buyer order or thread",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Send the seller-authorized exact text to one TCGplayer buyer thread. Requires a verified thread inspection and reply permission. Read spellbook_tcg_buyer_action_status afterward; delivery requires a verified seller message with its provider message ID.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| message * | string | Exact reply text authorized by the seller. Required. |
| threadId * | string | Exact threadId in the verified inspection. Required. |
| sessionId * | string | Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required. |
| workspaceId * | string | Workspace owned by the authenticated seller. Required. |
| refundIntentId | string | Verified same-order refund command ID when the reply claims a completed refund. Omit for other replies. |
| previewIntentId * | string | Successful recent order or thread inspection command ID. Required. |
Issue a seller-authorized full refund for one previously unrefunded TCGplayer order. Requires a verified order inspection and independent full-refund permission. Read spellbook_tcg_buyer_action_status for matching provider refund evidence. This operation sends no separate thread reply.
| Parameter | Type | Description |
|---|---|---|
| reason * | string | Seller-selected provider refund reason. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| sessionId * | string | Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required. |
| reasonText * | string | Exact seller-authorized refund explanation emailed by TCGplayer to the buyer. Required. |
| workspaceId * | string | Workspace owned by the authenticated seller. Required. |
| previewIntentId * | string | Successful recent order or thread inspection command ID. Required. |
Read one exact TCGplayer buyer-support command's queue state, provider verification, evidence and missing fields. Call after inspection, reply or refund. Preserve an unknown outcome for reconciliation; an HTTP success or queued state is not delivery.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| intentId * | string | Exact intentId returned by the buyer-support command. Required. |
| sessionId * | string | Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required. |
| workspaceId * | string | Workspace owned by the authenticated seller. Required. |
{
"name": "spellbook_tcg_buyer_action_status",
"description": "Read one exact TCGplayer buyer-support command's queue state, provider verification, evidence and missing fields. Call after inspection, reply or refund. Preserve an unknown outcome for reconciliation; an HTTP success or queued state is not delivery.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sessionId",
"intentId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"intentId": {
"type": "string",
"pattern": "^[A-Za-z0-9:-]{1,200}$",
"description": "Exact intentId returned by the buyer-support command. Required."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required."
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Workspace owned by the authenticated seller. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a TCGplayer buyer action receipt",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read up to 20 exact Riftbound printings with collector identity, art-series variant, regular and foil TCGCSV market references, stored price dates and known catalogued sets. Use it for a Riftbound card checklist or set list. Follow nextAfter to page through results. A catalogued count is the number of SpellBook Finance rows, not a publisher total; completeness is unknown. Prices are stored market references, not executable offers. Missing prices stay null. A stored price date is not an exact observation time, and per-finish provider time is usually unavailable.
| Parameter | Type | Description |
|---|---|---|
| q | string | Optional card, collector number, or set-name search. Every query word must match. |
| after | string | Opaque nextAfter printing id from the previous page. Omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| setCode | string | Optional catalogued Riftbound set code, such as ogn. |
{
"name": "spellbook_riftbound_catalog",
"description": "Read up to 20 exact Riftbound printings with collector identity, art-series variant, regular and foil TCGCSV market references, stored price dates and known catalogued sets. Use it for a Riftbound card checklist or set list. Follow nextAfter to page through results. A catalogued count is the number of SpellBook Finance rows, not a publisher total; completeness is unknown. Prices are stored market references, not executable offers. Missing prices stay null. A stored price date is not an exact observation time, and per-finish provider time is usually unavailable.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Optional card, collector number, or set-name search. Every query word must match."
},
"after": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Opaque nextAfter printing id from the previous page. Omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"setCode": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,20}$",
"description": "Optional catalogued Riftbound set code, such as ogn."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read the Riftbound card catalog",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a saved sealed shopping list page with exact products, quantities and context. Call before editing; null list means uncreated, while a saved empty list has a header. Follow nextCursor or call spellbook_sealed_shopping_offers for observed offer facts.
| Parameter | Type | Description |
|---|---|---|
| cursor | string | nextCursor from the preceding page; omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_shopping_list",
"description": "Read a saved sealed shopping list page with exact products, quantities and context. Call before editing; null list means uncreated, while a saved empty list has a header. Follow nextCursor or call spellbook_sealed_shopping_offers for observed offer facts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "nextCursor from the preceding page; omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read sealed shopping list",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save one exact product and its requested quantity, returning the saved line. Call after resolving product identity; an existing line is replaced. Read spellbook_sealed_shopping_list first, then spellbook_sealed_shopping_offers for offer facts.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| quantity * | integer | Requested number of exact catalog product units. |
| productId * | string | Exact catalog productId from sealed product discovery; variants and package sizes are distinct. |
{
"name": "spellbook_sealed_shopping_list_upsert",
"description": "Save one exact product and its requested quantity, returning the saved line. Call after resolving product identity; an existing line is replaced. Read spellbook_sealed_shopping_list first, then spellbook_sealed_shopping_offers for offer facts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"productId",
"quantity"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Requested number of exact catalog product units."
},
"productId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact catalog productId from sealed product discovery; variants and package sizes are distinct."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save a sealed shopping line",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save destination, market and currency context and return a list header. Call after reading spellbook_sealed_shopping_list; null clears a field and omission preserves it. Call spellbook_sealed_shopping_offers next; destination context does not prove shipping eligibility.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| currency | any | ISO currency context; null clears, omission preserves. No conversion is performed. |
| destinationCountry | any | Destination country; null clears, omission preserves. |
| retailerMarketRegion | any | Retailer market; null clears, omission preserves. |
{
"name": "spellbook_sealed_shopping_list_context",
"description": "Save destination, market and currency context and return a list header. Call after reading spellbook_sealed_shopping_list; null clears a field and omission preserves it. Call spellbook_sealed_shopping_offers next; destination context does not prove shipping eligibility.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{3}$"
},
{
"type": "null"
}
],
"description": "ISO currency context; null clears, omission preserves. No conversion is performed."
},
"destinationCountry": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Destination ISO country code; shipping eligibility can remain unknown."
},
{
"type": "null"
}
],
"description": "Destination country; null clears, omission preserves."
},
"retailerMarketRegion": {
"anyOf": [
{
"enum": [
"All",
"US",
"CA",
"NZ"
],
"type": "string",
"description": "Retailer market to observe; this does not establish delivery eligibility."
},
{
"type": "null"
}
],
"description": "Retailer market; null clears, omission preserves."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set sealed shopping context",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Change one existing sealed shopping line quantity and return the saved line. Read spellbook_sealed_shopping_list first to confirm identity; a missing line returns an error. Call spellbook_sealed_shopping_offers next to read quantity fit.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| quantity * | integer | Requested number of exact catalog product units. |
| productId * | string | Exact catalog productId from sealed product discovery; variants and package sizes are distinct. |
{
"name": "spellbook_sealed_shopping_list_quantity",
"description": "Change one existing sealed shopping line quantity and return the saved line. Read spellbook_sealed_shopping_list first to confirm identity; a missing line returns an error. Call spellbook_sealed_shopping_offers next to read quantity fit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"productId",
"quantity"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Requested number of exact catalog product units."
},
"productId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact catalog productId from sealed product discovery; variants and package sizes are distinct."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set sealed shopping quantity",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove one saved sealed shopping line and return a removal receipt. Read spellbook_sealed_shopping_list first to confirm the exact product. A missing line returns an error; read the list again to inspect remaining lines.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| productId * | string | Exact catalog productId from sealed product discovery; variants and package sizes are distinct. |
{
"name": "spellbook_sealed_shopping_list_remove",
"description": "Remove one saved sealed shopping line and return a removal receipt. Read spellbook_sealed_shopping_list first to confirm the exact product. A missing line returns an error; read the list again to inspect remaining lines.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"productId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"productId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact catalog productId from sealed product discovery; variants and package sizes are distinct."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove sealed shopping line",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete a saved sealed shopping list and return a removal receipt. Read spellbook_sealed_shopping_list first to confirm its contents. A missing list returns an error; a later list read returns null until a list is created again.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_shopping_list_delete",
"description": "Delete a saved sealed shopping list and return a removal receipt. Read spellbook_sealed_shopping_list first to confirm its contents. A missing list returns an error; a later list read returns null until a list is created again.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete sealed shopping list",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read a bounded saved-list page with qualified observed offers for each exact product and requested quantity. Call after saving products and context; follow nextCursor for remaining lines. Read quantity fit, destinationStatus, missingFields and limitations before interpreting any subtotal.
| Parameter | Type | Description |
|---|---|---|
| cursor | string | nextCursor from the preceding page; omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_shopping_offers",
"description": "Read a bounded saved-list page with qualified observed offers for each exact product and requested quantity. Call after saving products and context; follow nextCursor for remaining lines. Read quantity fit, destinationStatus, missingFields and limitations before interpreting any subtotal.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "nextCursor from the preceding page; omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read sealed shopping offer facts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a local sealed retailer price target and return its saved status and observed match facts. Call with an exact product and explicit native-currency threshold. Read spellbook_sealed_price_target next; a target records observations without reserving or purchasing products.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| currency * | string | Native offer currency; no conversion or delivered total is inferred. |
| productId * | string | Exact catalog productId from sealed product discovery; variants and package sizes are distinct. |
| targetAmount * | number | Maximum native amount for one exact product unit before shipping and tax. |
| destinationCountry * | string | Destination ISO country code; shipping eligibility can remain unknown. |
| retailerMarketRegion * | string | Retailer market to observe; this does not establish delivery eligibility. |
Read one saved sealed retailer price target, its activation status and observed match facts. Call after creating or changing a target. Use spellbook_sealed_price_target_update to change terms; matching facts do not establish delivery, stock or checkout completion.
| Parameter | Type | Description |
|---|---|---|
| alertId * | string | Saved sealed retailer target alertId returned by target creation. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_price_target",
"description": "Read one saved sealed retailer price target, its activation status and observed match facts. Call after creating or changing a target. Use spellbook_sealed_price_target_update to change terms; matching facts do not establish delivery, stock or checkout completion.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"alertId"
],
"properties": {
"alertId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Saved sealed retailer target alertId returned by target creation."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read sealed price target",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Change a sealed retailer price target's terms and return saved status and match facts. Read spellbook_sealed_price_target first; changing terms rearms observation. Read the target again for current evidence, which can remain unknown until a snapshot is observed.
| Parameter | Type | Description |
|---|---|---|
| alertId * | string | Saved sealed retailer target alertId returned by target creation. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| currency | string | Native offer currency; no conversion or delivered total is inferred. |
| targetAmount | number | Maximum native amount for one exact product unit before shipping and tax. |
| destinationCountry | string | Destination ISO country code; shipping eligibility can remain unknown. |
| retailerMarketRegion | string | Retailer market to observe; this does not establish delivery eligibility. |
{
"name": "spellbook_sealed_price_target_update",
"description": "Change a sealed retailer price target's terms and return saved status and match facts. Read spellbook_sealed_price_target first; changing terms rearms observation. Read the target again for current evidence, which can remain unknown until a snapshot is observed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"alertId"
],
"properties": {
"alertId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Saved sealed retailer target alertId returned by target creation."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"currency": {
"enum": [
"USD",
"CAD",
"NZD",
"GBP",
"EUR"
],
"type": "string",
"description": "Native offer currency; no conversion or delivered total is inferred."
},
"targetAmount": {
"type": "number",
"description": "Maximum native amount for one exact product unit before shipping and tax.",
"exclusiveMinimum": 0
},
"destinationCountry": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Destination ISO country code; shipping eligibility can remain unknown."
},
"retailerMarketRegion": {
"enum": [
"All",
"US",
"CA",
"NZ"
],
"type": "string",
"description": "Retailer market to observe; this does not establish delivery eligibility."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update sealed price target",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Disable a sealed retailer price target and return saved status and match facts. Read spellbook_sealed_price_target first to confirm identity. Use spellbook_sealed_price_target_rearm to observe again; disabling never cancels an external purchase.
| Parameter | Type | Description |
|---|---|---|
| alertId * | string | Saved sealed retailer target alertId returned by target creation. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_price_target_disable",
"description": "Disable a sealed retailer price target and return saved status and match facts. Read spellbook_sealed_price_target first to confirm identity. Use spellbook_sealed_price_target_rearm to observe again; disabling never cancels an external purchase.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"alertId"
],
"properties": {
"alertId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Saved sealed retailer target alertId returned by target creation."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Disable sealed price target",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Rearm a sealed retailer price target and return active status with reset match evidence. Read spellbook_sealed_price_target first to confirm identity. Read it again for new observations; rearming does not verify delivery eligibility or purchase anything.
| Parameter | Type | Description |
|---|---|---|
| alertId * | string | Saved sealed retailer target alertId returned by target creation. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_sealed_price_target_rearm",
"description": "Rearm a sealed retailer price target and return active status with reset match evidence. Read spellbook_sealed_price_target first to confirm identity. Read it again for new observations; rearming does not verify delivery eligibility or purchase anything.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"alertId"
],
"properties": {
"alertId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Saved sealed retailer target alertId returned by target creation."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rearm sealed price target",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Open one reproducible modeled Magic booster pack from an exact parent booster box ID. Omit boxId to discover current candidates for setCode (default fdn). A chosen product returns only the sampled exact printings, modeled finish, nullable USD references, seed, retained model date, missingFields and limitations. Seed is an unsigned 32-bit integer with deterministic default 0. Reusing a seed and unchanged retained model reproduces the draw. Independent weighted draws can repeat cards; factory collation and original-source completeness are unverified. Unavailable returns a concrete reason without substituting another booster. This is read-only play, not a purchase recommendation or physical inventory opening.
| Parameter | Type | Description |
|---|---|---|
| seed | integer | Unsigned reproducible draw seed. Defaults to 0; change it for a different modeled pack. |
| boxId | string | Exact parent booster box ID returned by discovery. Omit to list booster candidates. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| setCode | string | Magic set code for discovery, such as fdn for Foundations. Defaults to fdn; ignored when boxId is supplied. |
{
"name": "spellbook_mtg_pack_simulator",
"description": "Open one reproducible modeled Magic booster pack from an exact parent booster box ID. Omit boxId to discover current candidates for setCode (default fdn). A chosen product returns only the sampled exact printings, modeled finish, nullable USD references, seed, retained model date, missingFields and limitations. Seed is an unsigned 32-bit integer with deterministic default 0. Reusing a seed and unchanged retained model reproduces the draw. Independent weighted draws can repeat cards; factory collation and original-source completeness are unverified. Unavailable returns a concrete reason without substituting another booster. This is read-only play, not a purchase recommendation or physical inventory opening.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"seed": {
"type": "integer",
"default": 0,
"maximum": 4294967295,
"minimum": 0,
"description": "Unsigned reproducible draw seed. Defaults to 0; change it for a different modeled pack."
},
"boxId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact parent booster box ID returned by discovery. Omit to list booster candidates."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"setCode": {
"type": "string",
"default": "fdn",
"pattern": "^[a-z0-9]{2,8}$",
"description": "Magic set code for discovery, such as fdn for Foundations. Defaults to fdn; ignored when boxId is supplied."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Open a modeled Magic booster pack",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read retained Magic card-level high-price detector observations for seven explicit UTC dates and one finish. Use it for which Magic cards hit an all-time high this week. Returns reported USD values, percent-unit changes, catalog-checked Magic labels, publication dates, missing days and coverage limits. Defaults to seven dates ending today and regular finish. Stored ATH state is per oracleId and finish; the reported printing label does not establish which printing supplied the historical price. Read guideResourceUri through MCP for metric, date and identity interpretation. Observations are not independently verified market-wide lifetime highs or trade recommendations.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| endDate | string | Last inclusive UTC date, YYYY-MM-DD. Omit for today. Exactly six earlier dates are also requested; missing dates stay missing. |
| priceType | string | Requested finish. Defaults to regular (nonfoil); foil is a separate read. |
{
"name": "spellbook_ath_observations",
"description": "Read retained Magic card-level high-price detector observations for seven explicit UTC dates and one finish. Use it for which Magic cards hit an all-time high this week. Returns reported USD values, percent-unit changes, catalog-checked Magic labels, publication dates, missing days and coverage limits. Defaults to seven dates ending today and regular finish. Stored ATH state is per oracleId and finish; the reported printing label does not establish which printing supplied the historical price. Read guideResourceUri through MCP for metric, date and identity interpretation. Observations are not independently verified market-wide lifetime highs or trade recommendations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last inclusive UTC date, YYYY-MM-DD. Omit for today. Exactly six earlier dates are also requested; missing dates stay missing."
},
"priceType": {
"enum": [
"regular",
"foil"
],
"type": "string",
"default": "regular",
"description": "Requested finish. Defaults to regular (nonfoil); foil is a separate read."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Magic ATH observations for seven dates",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find a cataloged SpellBook Finance customer-agent guide for seller setup and onboarding, selling, pricing, sealed EV, or choosing a card or sealed-product strategy for a budget and workload. Use it when a customer asks how to make money with Magic, what to do with a bankroll or store credit, whether to open or resell sealed product, or which research route fits their goal. Returns catalog entries, not guide bodies. After a purpose and decision match the customer's question, read that entry's resourceUri through MCP before applying its rules or drafting the answer. The resource supplies the full guide, including domain conditions and missing-data stop rules. Use its URL only as a fallback. Public search-acquisition articles are excluded. For screening, valuing, or messaging about a Pokémon collection or Marketplace lot, read spellbook_skill with name collection-buying.
| Parameter | Type | Description |
|---|---|---|
| topic | string | Narrow results to one education topic id. Omit to search every published topic. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_guides",
"description": "Find a cataloged SpellBook Finance customer-agent guide for seller setup and onboarding, selling, pricing, sealed EV, or choosing a card or sealed-product strategy for a budget and workload. Use it when a customer asks how to make money with Magic, what to do with a bankroll or store credit, whether to open or resell sealed product, or which research route fits their goal. Returns catalog entries, not guide bodies. After a purpose and decision match the customer's question, read that entry's resourceUri through MCP before applying its rules or drafting the answer. The resource supplies the full guide, including domain conditions and missing-data stop rules. Use its URL only as a fallback. Public search-acquisition articles are excluded. For screening, valuing, or messaging about a Pokémon collection or Marketplace lot, read spellbook_skill with name collection-buying.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"topic": {
"enum": [
"sealed-ev",
"pricing",
"card-identity",
"buylist-and-exits",
"reprint-risk",
"selling",
"inventory",
"portfolio"
],
"type": "string",
"description": "Narrow results to one education topic id. Omit to search every published topic."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find a task guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the step-by-step procedure SpellBook Finance wrote for a whole customer task, in full. getting-started takes a new seller from sign-in through supplies, bin labels, a first tracked card, and connected marketplaces. buy-loop covers inspecting buy facts for cards or sealed product and recording what happened. collection-buying covers screening a Marketplace or local Pokémon lot, seller questions, per-name printing checks, and recording the buy. physical-placement covers moving one item to a bin and verifying it. fulfilling-orders covers where an order lands, the bin walk that finds each sold card, and who packs, labels, and confirms shipped. Read the matching procedure before that task's first call. Omit name to list each procedure's title.
| Parameter | Type | Description |
|---|---|---|
| name | string | The procedure to read in full. Omit to list every procedure with its title. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_skill",
"description": "Read the step-by-step procedure SpellBook Finance wrote for a whole customer task, in full. getting-started takes a new seller from sign-in through supplies, bin labels, a first tracked card, and connected marketplaces. buy-loop covers inspecting buy facts for cards or sealed product and recording what happened. collection-buying covers screening a Marketplace or local Pokémon lot, seller questions, per-name printing checks, and recording the buy. physical-placement covers moving one item to a bin and verifying it. fulfilling-orders covers where an order lands, the bin walk that finds each sold card, and who packs, labels, and confirms shipped. Read the matching procedure before that task's first call. Omit name to list each procedure's title.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"enum": [
"getting-started",
"buy-loop",
"collection-buying",
"physical-placement",
"fulfilling-orders"
],
"type": "string",
"description": "The procedure to read in full. Omit to list every procedure with its title."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a task procedure",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a page of SpellBook's current fulfillment work, grouped by marketplace order. Each order carries its tray slot and card lines with bin, printing, condition, and state, including blocked reasons and ship-by evidence when available. Use when a seller asks what to pull or pack. Read spellbook_skill for fulfilling-orders before coaching the workflow; follow nextCursor until hasMore is false before summarizing the full returned workset. Use pending lines for the shared bin walk, then verify and pack each order separately.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum complete order groups to return on this page, from 1 to 50. Omit for 20. |
| cursor | string | Opaque nextCursor from the previous page. Pass it unchanged to continue; omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| marketplace | string | Filter to one marketplace, or use all for the combined bin walk. Omit for all. |
| workspaceId * | string | The seller-owned workspace to read, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_pull_work",
"description": "Read a page of SpellBook's current fulfillment work, grouped by marketplace order. Each order carries its tray slot and card lines with bin, printing, condition, and state, including blocked reasons and ship-by evidence when available. Use when a seller asks what to pull or pack. Read spellbook_skill for fulfilling-orders before coaching the workflow; follow nextCursor until hasMore is false before summarizing the full returned workset. Use pending lines for the shared bin walk, then verify and pack each order separately.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum complete order groups to return on this page, from 1 to 50. Omit for 20."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Opaque nextCursor from the previous page. Pass it unchanged to continue; omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"marketplace": {
"enum": [
"all",
"tcgplayer",
"ebay",
"shopify",
"manapool",
"cardtrader",
"misprint"
],
"type": "string",
"description": "Filter to one marketplace, or use all for the combined bin walk. Omit for all."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller-owned workspace to read, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read current pull work",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return a bounded source-order page of materialized TCGplayer-to-Card-Kingdom rows with an opaque nextCursor for complete traversal. Rows include printing identity, observed acquisition and cash quote prices, listed shipping, seller/quantity evidence, exit.quantityBuying (the copies Card Kingdom buys at the quoted price), maxCopies (the smaller of listed stock and exit.quantityBuying), the Card Kingdom condition ladder (NM/EX/VG/G payouts, modeled from the NM quote), timestamps, printingMismatches and missingFields. Call this first when a person says "I have $X to risk", "find me opportunities", "good opportunities", "single cards", "high risk singles", "start with arbitrage" or "what should I buy". Never request more copies of a row than maxCopies. Before handing a person a buy list, record each chosen row as a consideration with spellbook_customer_evidence_record, because spellbook_buy_outcome_report scores only recorded considerations. Workspace card performance reports observed sales, sampled available channel-copy-days, uncertainty and coverage across editions/finishes; it changes no source ordering or purchase policy. No profit, ranking, selection, reserves or cost defaults. Exact listing links and fee amounts are null when unavailable. Customer agent supplies all policy and executes purchases.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum buy-target rows to return, 1 to 200. Omit for the default of 200. |
| cursor | string | Opaque nextCursor from a previous page, passed back unchanged to continue traversal. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId | string | Workspace whose own observed selling performance to include. Membership is required; omit to resolve the sole workspace. |
Score every closed buy decision in one workspace against its immutable prediction and a fixed equal-weight printing basket. Includes unscored and abandoned counts, missing baseline evidence and small-sample limits. Uses submitted receipts; does not verify merchant orders or money.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspaceId to score, from spellbook_workspaces_list. Required; this scores exactly one workspace. |
{
"name": "spellbook_buy_outcome_report",
"description": "Score every closed buy decision in one workspace against its immutable prediction and a fixed equal-weight printing basket. Includes unscored and abandoned counts, missing baseline evidence and small-sample limits. Uses submitted receipts; does not verify merchant orders or money.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspaceId to score, from spellbook_workspaces_list. Required; this scores exactly one workspace."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Score past buys",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find an exact card printing before recording a physical copy or forming a price. Searches by name, and narrows with `set:<code>` plus a collector number in the same query string, for example "Pikachu set:sv2a 025/165". Pokemon searches can filter English or Japanese catalog rows. Returns each printing with its product identity, game, language, set code, collector number, rarity and available finishes. Read this first, because a card name alone does not identify a printing, and a wrong printing values the wrong card.
| Parameter | Type | Description |
|---|---|---|
| q * | string | Card name to search, optionally narrowed with `set:<code>` plus a collector number in the same string, e.g. "sol ring set:c21 263". Required. |
| game | string | Restrict the search to one game. Omit to search all enabled games. |
| page | integer | Page number of results, 1 to 20. Omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| language | string | Restrict Pokemon results to English or Japanese catalog rows. Omit when language is unknown. |
{
"name": "spellbook_printings_search",
"description": "Find an exact card printing before recording a physical copy or forming a price. Searches by name, and narrows with `set:<code>` plus a collector number in the same query string, for example \"Pikachu set:sv2a 025/165\". Pokemon searches can filter English or Japanese catalog rows. Returns each printing with its product identity, game, language, set code, collector number, rarity and available finishes. Read this first, because a card name alone does not identify a printing, and a wrong printing values the wrong card.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Card name to search, optionally narrowed with `set:<code>` plus a collector number in the same string, e.g. \"sol ring set:c21 263\". Required."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"description": "Restrict the search to one game. Omit to search all enabled games."
},
"page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Page number of results, 1 to 20. Omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"language": {
"enum": [
"en",
"ja"
],
"type": "string",
"description": "Restrict Pokemon results to English or Japanese catalog rows. Omit when language is unknown."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find an exact printing",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read published daily/weekly card price movers or supported 30d/90d sealed reports. Returns gainers/losers, reported game/printing/finish when supplied, current and previous USD prices, stored pctChange, swing30d, cardUrl and run/publication dates. Daily/weekly reported percentages and direction lists have producer caps over covered source candidates; read the limits. Capped ties do not identify the largest uncapped market move. For what increased this week, use window=weekly, then read the pricing guide through spellbook_guides and its returned resource URI for window, cap and clock interpretation. A printing price read qualifies one reported candidate; missing source dates remain unknown.
| Parameter | Type | Description |
|---|---|---|
| game | string | Restrict card movers to one game. Omit for the default Magic board. |
| window | string | Which price-change window to read: daily, weekly, 30d or 90d. Omit for the default window. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_movers",
"description": "Read published daily/weekly card price movers or supported 30d/90d sealed reports. Returns gainers/losers, reported game/printing/finish when supplied, current and previous USD prices, stored pctChange, swing30d, cardUrl and run/publication dates. Daily/weekly reported percentages and direction lists have producer caps over covered source candidates; read the limits. Capped ties do not identify the largest uncapped market move. For what increased this week, use window=weekly, then read the pricing guide through spellbook_guides and its returned resource URI for window, cap and clock interpretation. A printing price read qualifies one reported candidate; missing source dates remain unknown.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"description": "Restrict card movers to one game. Omit for the default Magic board."
},
"window": {
"enum": [
"daily",
"weekly",
"30d",
"90d"
],
"type": "string",
"description": "Which price-change window to read: daily, weekly, 30d or 90d. Omit for the default window."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read what is moving",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Screen Magic card printings by recorded US sales activity, native Cardmarket EUR, regular or foil price, foil/nonfoil premium, consecutive weekly price gains, price change and 20 day band statistics in one call. For unusually high foil premiums, use mode=both and sort=premium with a declared regular-price floor. Premium sorts the dimensionless foilPrice/price multiple; the response retains both USD inputs. Read the matching foil-premium guide via spellbook_guides topic pricing and its returned resource URI for identity and interpretation limits. Some snapshots also carry optional printingCount, lastPrintedAt and reserved facts; absent fields stay unknown. For reprint interpretation, use spellbook_guides topic reprint-risk and read the returned resource URI; these facts supply no calibrated set-risk ranking. Each row carries reported printing identity (scryfallId, name, setCode, rarity), price, and change7d, change30d and change90d in percent. Its band fields: ma20 is the mean of the last 20 daily closes. bbPos is where today's close sits inside the 20 day Bollinger band, 0 at the lower band and 100 at the upper, and below 0 or above 100 outside it. bbWidth is the band's width as a percent of ma20. z20 is today's close minus ma20, in 20 day standard deviations. squeeze and squeezeRecent say whether the Bollinger band sat inside the Keltner channel today, or on any of the last 5 days. flatDays counts the days since the price last changed. swing30d is the typical 30 day move: the median absolute 30 day change, in percent, over the last 90 daily closes. Call it to answer "which cards sit near the bottom of their recent range", "which cards fell this month inside a 90 day rise", "which cards moved far past their usual size this month" or "which prices have gone quiet", then call spellbook_card_prices for one printing's per-source prices. Rows come back in the sort the caller names. Nothing is scored, labeled or chosen for you.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Price mode. nonfoil uses regular prices for the price floor and ceiling; foil uses foil prices; both requires positive regular and foil inputs and uses the regular price bounds. Band and change30d_max/change90d_min/move_ratio_min fields remain regular-price statistics in every mode. |
| page |
Read Magic price-spike observations from SpellBook Finance's buyout detector. Call it when asked which Magic cards are being bought out right now. Returns printing identity, old and new USD prices, fractional pctGain (0.25 means 25%), detection time, secondary-source confirmation, source links and explicit coverage gaps. Read guideResourceUri through MCP for interpretation and stop conditions. If guideUrl fails in a browser, spellbook_guides also discovers the guide's resourceUri. Observations are candidates, not verified buyouts. Call spellbook_card_prices with a row's scryfallId for current per-source price observations.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_buyouts",
"description": "Read Magic price-spike observations from SpellBook Finance's buyout detector. Call it when asked which Magic cards are being bought out right now. Returns printing identity, old and new USD prices, fractional pctGain (0.25 means 25%), detection time, secondary-source confirmation, source links and explicit coverage gaps. Read guideResourceUri through MCP for interpretation and stop conditions. If guideUrl fails in a browser, spellbook_guides also discovers the guide's resourceUri. Observations are candidates, not verified buyouts. Call spellbook_card_prices with a row's scryfallId for current per-source price observations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read recent buyout observations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read cached exact Commander contents with USD Full EV contributions and source-recorded TCGplayer units. Resolve a numeric product ID with spellbook_sealed_product_search. Returns exact printing/finish, quantities, child membership, baseline 100-unit categories, compatible source-date windows, coverage, revisions, expiry, missingFields and limitations. An EV-weighted mean30d uses only value with a complete compatible 30-date observation. Partial and 29-date observations remain labeled. Market units are source-relative observations, not personal sell time. Per-card units and queues need Investor or Seller (100 product reads a day). Returns no purchase verdict or ranking.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Contributor rows per response, default20, maximum100. Whole-product EV and coverage denominators remain unchanged. |
| offset | integer | Contributor offset, starting at zero. Follow nextOffset to inspect every contributor. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| revision | string | Publication revision from a prior page. A changed revision requires restarting at offset0. |
| tcgProductId * | string | Exact numeric Commander deck or case product ID. |
Read exact Commander case or deck display membership and USD market-price references for an equivalent set of individual decks. A product named Case or Display, such as Bloomburrow Commander Deck Display, qualifies. Use it to compare that package with its required child quantities. Resolve the numeric case product with spellbook_sealed_product_search first. Returns source-linked recipe counts, case and component price clocks, existing gross EV snapshots, reference arithmetic, missingFields and limitations. A reference difference excludes shipping, stock, taxes and fees; unavailable delivered offers remain explicit. Use spellbook_box_ev_rankings for existing EV alternatives.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| tcgProductId * | string | Exact numeric TCGplayer Commander case or deck display product ID from sealed product search. A single deck and a complete deck set can have different IDs. |
{
"name": "spellbook_commander_case_comparison",
"description": "Read exact Commander case or deck display membership and USD market-price references for an equivalent set of individual decks. A product named Case or Display, such as Bloomburrow Commander Deck Display, qualifies. Use it to compare that package with its required child quantities. Resolve the numeric case product with spellbook_sealed_product_search first. Returns source-linked recipe counts, case and component price clocks, existing gross EV snapshots, reference arithmetic, missingFields and limitations. A reference difference excludes shipping, stock, taxes and fees; unavailable delivered offers remain explicit. Use spellbook_box_ev_rankings for existing EV alternatives.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"tcgProductId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact numeric TCGplayer Commander case or deck display product ID from sealed product search. A single deck and a complete deck set can have different IDs."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Compare a Commander case or display with its decks",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read stored facts for one to four exact Commander case or deck products on one shared source-date window. Resolve numeric IDs with spellbook_sealed_product_search first. Returns per-product kind, market price and clock, publication revision and readiness, plus contributor rows with finish, quantity, USD Full EV contribution, aligned source-recorded units and missing-versus-zero state, a comparisonRevision, missingFields and limitations. A stale or absent input, empty window intersection, invalid mapping, missing exact card price or oversized input leaves a product not ready and the response names the gap. A missing catalog market price or clock appears in missingFields and leaves readiness unchanged, because the caller supplies the purchase price. Units and queues need Investor or Seller (100 product reads a day), else recovery: net cash cents, days 0-90, at market price, one copy, 15% costs. Page with offset, limit and nextOffset; a changed revision requires restarting at offset 0.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Contributor rows per response, default 20, maximum 100. Whole-comparison totals and the shared window stay unchanged. |
| offset | integer | Contributor offset, starting at zero. Follow nextOffset to inspect every contributor. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| revision | string | comparisonRevision from a prior page. A changed revision requires restarting at offset 0. |
| productIds * | string | One to four distinct numeric Commander product IDs, comma separated, for example 1001,1002. |
Read stored daily gross opening-EV observations for one exact sealed product. Use it when asked how a named box's EV changed over time. Resolve the product with spellbook_sealed_product_search first; pass its numeric tcgProductId. Returns product identity, requested dates, USD values per sealed product, dated source rows and explicit model/freshness gaps. Missing dates stay absent. Read guideResourceUri through MCP for date, valuation and model interpretation. An older history point is not today's EV. The response establishes no price-only cause or unchanged methodology.
| Parameter | Type | Description |
|---|---|---|
| days | integer | Lookback in days, from 1 to 365. Defaults to 183 days; calendar-month lengths vary. The returned window gives the actual inclusive UTC dates. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| tcgProductId * | string | Exact numeric TCGplayer sealed-product id from spellbook_sealed_product_search. Required; do not pass a card id or product name. |
{
"name": "spellbook_box_ev_history",
"description": "Read stored daily gross opening-EV observations for one exact sealed product. Use it when asked how a named box's EV changed over time. Resolve the product with spellbook_sealed_product_search first; pass its numeric tcgProductId. Returns product identity, requested dates, USD values per sealed product, dated source rows and explicit model/freshness gaps. Missing dates stay absent. Read guideResourceUri through MCP for date, valuation and model interpretation. An older history point is not today's EV. The response establishes no price-only cause or unchanged methodology.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId"
],
"properties": {
"days": {
"type": "integer",
"default": 183,
"maximum": 365,
"minimum": 1,
"description": "Lookback in days, from 1 to 365. Defaults to 183 days; calendar-month lengths vary. The returned window gives the actual inclusive UTC dates."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"tcgProductId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact numeric TCGplayer sealed-product id from spellbook_sealed_product_search. Required; do not pass a card id or product name."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a sealed product's EV history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read dated TCGCSV reference-price observations for one exact sealed box/display and an explicit historical window. Use it for a named box's price change or a retained launch-date baseline. Resolve the numeric product with spellbook_sealed_product_search first. Returns the requested identity, dates, USD Market/Low/Mid when stored, missing dates and unknown clocks. Read guideResourceUri through MCP before interpreting a since-release comparison. Use separate narrow calls for distant endpoints; the read supplies no official release date, price-change cause or realized return.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Required inclusive real UTC end date, YYYY-MM-DD. Must follow or equal from, no more than 365 days later. Use separate narrow calls for distant endpoints. |
| from * | string | Required inclusive real UTC start date, YYYY-MM-DD. Historical windows may precede the last year. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| tcgProductId * | string | Exact numeric box/display id returned by sealed product search. A case or loose pack differs. |
{
"name": "spellbook_box_price_history",
"description": "Read dated TCGCSV reference-price observations for one exact sealed box/display and an explicit historical window. Use it for a named box's price change or a retained launch-date baseline. Resolve the numeric product with spellbook_sealed_product_search first. Returns the requested identity, dates, USD Market/Low/Mid when stored, missing dates and unknown clocks. Read guideResourceUri through MCP before interpreting a since-release comparison. Use separate narrow calls for distant endpoints; the read supplies no official release date, price-change cause or realized return.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Required inclusive real UTC end date, YYYY-MM-DD. Must follow or equal from, no more than 365 days later. Use separate narrow calls for distant endpoints."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Required inclusive real UTC start date, YYYY-MM-DD. Historical windows may precede the last year."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"tcgProductId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact numeric box/display id returned by sealed product search. A case or loose pack differs."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a box's stored price history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the existing cash-recovery scenario for one exact sealed product and caller-supplied total cost. Use it for modeled after-cost recovery and break-even timing, separately from gross opening EV or a probability of profit. Resolve the numeric product id with spellbook_sealed_product_search first. Returns the supplied assumptions, quantity, model horizon, source coverage, USD results and unknown clocks. Read the returned guideResourceUri for interpreting conditional price ceilings and a missing crossing. This read does not select a purchase price or recommend opening a product.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| sellerMode | string | Existing recovery-assumption preset. It changes modeled haircuts and tail timing; it does not verify the caller's seller performance. Defaults to typical. |
| boxQuantity | integer | Quantity of the exact sealed product, from 1 to 10000. Results are totals for this quantity, not per box. Defaults to one. |
| costBasisUsd * | number | Positive caller-assumed total acquisition cost in USD for the entire requested quantity, including any inbound costs the caller chooses. Required; no catalog-price default. |
| tcgProductId * | string | Exact numeric sealed-product id from spellbook_sealed_product_search. A display, case and pack have different ids. |
Read a named sealed product's modeled gross contents EV, or compare ranking rows, with totalEV, evRatio, pack standard deviation (packSD), N0 and breakEvenPct. For a named Collector Booster display, use q and box_type, then match boxId to the exact catalog product; a Collector's Edition Commander deck is a different product. Call it for "how many packs until opening is likely profitable" (N0), "how swingy is this box" (packSD, and swinginess, which is packSD divided by packEV) and "what share of packs beat the pack price" (breakEvenPct). N0 is the number of packs at which a normal approximation, treating packs as independent and identical, gives about a 97.7% modeled probability that summed card value under the selected valuation basis exceeds summed pack cost. It is null when required inputs are absent or matching edge or standard deviation is not positive. Pack cost is the returned packPrice: a separate stored pack reference when available, otherwise box marketPrice divided by packsPerBox. Preserve packPriceSource; a missing or unrecognized label leaves the reference origin unknown. This is not a caller-paid cost. Each N0 variant uses its own valuation basis, with its own pack SD and edge: n0Full uses full market value (packSD, fullEdge), n0LandAdjusted prices cheap lands at bulk rates (landAdjustedPackSD, landAdjustedEdge), and n0Sellable prices cards below a threshold at bulk buylist rates (sellablePackSD, sellableEdge). These valuations use their stated basis before selling fees, shipping and liquidity. breakEvenPct is the share of simulated single packs worth at least packPrice. It is not the probability of profit after N packs. Optional cardmarketEV carries native EUR retail singles EV, per-finish coverage, quote dates, missingFields and limitations. Its totalEV is null when coverage is incomplete. Top-level prices, ratios, filters and order keep their US basis; Cardmarket EV has no local sealed price. Rows also carry exact product IDs, market prices, acquirableFloorUsd and evRatioBasis when present, market-basis and shipping-aware ratios, spreads, per-pack metrics and timestamps. evRatio is totalEV divided by max(marketPrice, the cheapest captured TCG listing price plus shipping) on rows with a known basis; evRatioMarketBasis preserves the market-price comparison. spreadUsd is totalEV minus marketPrice. typicalEV is the box EV without every card under typicalEvCutoffPerPack (0.001 pulls per pack), and typicalEvExcludedCount counts them; a null typicalEV names its cause in typicalEvReason. sellableCutoffs gives ev, packEV and packSD with every card under cutoffUsd ($0.25 to $5) at its rarity bulk rate, basic lands included; non-Magic rows and rows computed before a product type gained the ladder omit it. Bundle, no-main-pack, precon and sealed-contents rows null both pack figures; older-model rows null packSD. spellbook_sealed_product_offers takes a row's boxId for store offers. For valuation, identity and source-clock context, read guideResourceUri through MCP; guideUrl is the same page. coverage describes the non-Magic research screen and its latestCapturedAtUtc. queryCoverage is unknown.
Read held price snapshots for one printing, each with its own source label, amount and date. Sources can include TCGplayer Market, TCGplayer Low, Card Kingdom retail and buylist, CoolStuff, an eBay 90-day sold median, Cardmarket, ManaPool and CardTrader. Pokemon TCGplayer finish subtypes stay in separate rows. cardId is the exact printing id returned by spellbook_printings_search: a UUID for Magic, or a catalog product id for Riftbound or Pokemon. Rows come back in source order with their own timestamps; nothing is averaged, ranked, or chosen for you, and no listing link is returned. For Market-versus-dealer interpretation, find a guide with spellbook_guides topic buylist-and-exits. Cardmarket retail from MTGJSON is native EUR. EUR rows carry conversion evidence when available. Read the returned guideResourceUri for currency and source-metric context; MCP resource retrieval is an alternative if guideUrl cannot be fetched. It is discoverable with spellbook_guides topic pricing.
| Parameter | Type | Description |
|---|---|---|
| cardId * | string | The exact printing id from spellbook_printings_search: a UUID for Magic, or the namespaced catalog product id for Riftbound or Pokemon. Required. |
| finish | string | Which finish of a Magic printing to price. Omit for nonfoil. Pass foil or etched when the copy in question is foil or etched, because a foil copy often sells at a different price. Riftbound and Pokemon ignore it and return every finish as its own rows. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
Read dealer buy offers for ONE exact card product, preserving each offer's game, finish, subtype, language, condition, source product, source timestamp, cash and credit fields, quantity and missingFields. Use the catalog product id from spellbook_printings_search. Pokemon offers are English NM/New CoolStuffInc observations when present; no offer or missing field proves a dealer has no stock. This read returns facts and does not choose a vendor or sell cards.
| Parameter | Type | Description |
|---|---|---|
| cardId * | string | The exact printing or catalog product id from spellbook_printings_search. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_card_buylist",
"description": "Read dealer buy offers for ONE exact card product, preserving each offer's game, finish, subtype, language, condition, source product, source timestamp, cash and credit fields, quantity and missingFields. Use the catalog product id from spellbook_printings_search. Pokemon offers are English NM/New CoolStuffInc observations when present; no offer or missing field proves a dealer has no stock. This read returns facts and does not choose a vendor or sell cards.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"cardId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing or catalog product id from spellbook_printings_search. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one card's dealer offers",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the stored daily dealer buylist price series for ONE exact printing: one point per day with the Card Kingdom and Cardhoarder buylist price when SpellBook stored one, oldest day first, plus earliestDay, the first day SpellBook holds any stored row for that printing. Use the printing id from spellbook_printings_search. Call spellbook_card_buylist for current offers from every dealer SpellBook reads. This read returns facts; it does not choose a vendor, judge a price or sell cards.
| Parameter | Type | Description |
|---|---|---|
| days | integer | How many days back to read, 1 to 180. Omit for the longest window SpellBook returns. |
| cardId * | string | The exact printing id from spellbook_printings_search. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_card_buylist_history",
"description": "Read the stored daily dealer buylist price series for ONE exact printing: one point per day with the Card Kingdom and Cardhoarder buylist price when SpellBook stored one, oldest day first, plus earliestDay, the first day SpellBook holds any stored row for that printing. Use the printing id from spellbook_printings_search. Call spellbook_card_buylist for current offers from every dealer SpellBook reads. This read returns facts; it does not choose a vendor, judge a price or sell cards.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"days": {
"type": "integer",
"maximum": 180,
"minimum": 1,
"description": "How many days back to read, 1 to 180. Omit for the longest window SpellBook returns."
},
"cardId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id from spellbook_printings_search. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one card's dealer buylist history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read one exact Magic printing and finish. Pass treatmentAsks with foil for an etched or special-treatment snapshot. asksTcgplayerProductId identifies its source product. series holds stored TCGplayer Market and Low (tcgLow): daily for the last 90 days, and up to 365 days back. Past 90 days a printing can have one point per ISO week, and limitations says so. buckets holds NM/LP sales with English or unspecified language, the exact raw bucketStartDate values, units, transactions, weighted market and recorded low/high. The source response does not establish each bucket's duration or end date. Use bucketsState and bucketsCoverage to see what was captured. asks contains the most recent unexpired TCGplayer snapshot for that finish with item price, condition, language and listing shipping. Use stockQuantity for provider stock. Null or absent means unknown. The legacy quantity can default to 1. printing and listingId preserve provider finish and row identity when available. Read the capture time for each source and asksExpiresAt, asksTotal, asksTruncated and limitations before using the snapshot. Find the printing with spellbook_printings_search. tcgplayerBuyUrl is an affiliate link for the standard Desk product.
| Parameter | Type | Description |
|---|---|---|
| cardId * | string | The exact Magic printing id (a Scryfall UUID) from spellbook_printings_search. Required. |
| finish | string | Which finish to read. Omit for nonfoil. Pass foil for a foil copy, because SpellBook stores foil prices, sales and asks apart from nonfoil. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| treatmentAsks | string | Pass the string 1 with finish=foil to read the selected printing’s special-treatment asks. |
Read exact identity scoped Pokemon market facts for ONE catalog product: language, finish, condition, independent retail fair value, observed supply depth, versioned SCORE factors and Limitless demand coverage. The response keeps qualified values null when source count or comparable history is missing, and names missingFields and limitations. It reports facts only; it does not rank cards, recommend an action or infer a missing source.
| Parameter | Type | Description |
|---|---|---|
| cardId * | string | The exact Pokemon catalog product id from spellbook_printings_search, such as pokemon:tcgp:12345. Required. |
| finish * | string | Observed finish: nf regular, fo holo, rh reverse holo, 1e first edition, or 1e-fo first edition holo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| language * | string | Observed card language, such as en or ja. Required; do not infer from the seller location. |
| condition * | string | Observed condition: NM, LP, MP, HP, or DMG. Required; do not assume near mint. |
Read the latest Pokemon all-time-high facts for the retained daily snapshot. Rows preserve exact product identity, language, finish, variant, source date, previous ATH and history coverage. This is a facts-only read; unavailable or partial history stays explicit in availability, missingFields and limitations.
| Parameter | Type | Description |
|---|---|---|
| date | string | Optional retained snapshot date, YYYY-MM-DD. Omit to read the latest snapshot. |
| game * | string | The game to read. Must be pokemon. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_pokemon_ath",
"description": "Read the latest Pokemon all-time-high facts for the retained daily snapshot. Rows preserve exact product identity, language, finish, variant, source date, previous ATH and history coverage. This is a facts-only read; unavailable or partial history stays explicit in availability, missingFields and limitations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"game"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Optional retained snapshot date, YYYY-MM-DD. Omit to read the latest snapshot."
},
"game": {
"type": "string",
"const": "pokemon",
"description": "The game to read. Must be pokemon."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Pokemon ATH facts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read bounded Pokemon acquisition and exit quote facts for exact product identity, preserving quote basis, currency, observation time, source reference, source URLs, comparisons, missingFields and limitations. This read compares observed sources; it does not rank opportunities, recommend a purchase, or execute a transaction.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum rows to return, from 1 to 100. Defaults to 25. |
| finish | string | Optional exact finish filter. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| cohortId | string | Optional Pokemon cohort. Use pokemon-ja or pokemon-en to keep language evidence isolated. |
| language | string | Optional exact language filter. |
| condition | string | Optional condition filter. |
| productId | string | Optional exact Pokemon catalog product id from spellbook_printings_search. |
| proxyFeeUsd | any | Optional proxy fee assumption in USD; omitted keeps landed cost incomplete. |
| importDutyRate | any |
Read one authenticated customer's exact owned and draft card contents for a deck. The response preserves game identity, entry ids, matched catalog identity, quantities, membership recovery count and Pokemon readiness checks. It reports facts only and does not edit a deck or infer missing cards.
| Parameter | Type | Description |
|---|---|---|
| deckId * | string | The exact deck id returned by the deck workflow. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_deck_contents",
"description": "Read one authenticated customer's exact owned and draft card contents for a deck. The response preserves game identity, entry ids, matched catalog identity, quantities, membership recovery count and Pokemon readiness checks. It reports facts only and does not edit a deck or infer missing cards.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"deckId"
],
"properties": {
"deckId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 100,
"minLength": 1,
"description": "The exact deck id returned by the deck workflow. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read owned deck cards",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Import one player's Pokemon decklist from one fixed Limitless tournament standings record into the seller's workspace. The workspace owner chooses the event, player, format and idempotency key; retries with the same key replay the first result or report an in-progress import. The tool does not accept URLs or credentials and returns source identity, matched and unmatched counts, and the imported deck.
| Parameter | Type | Description |
|---|---|---|
| name | string | Optional deck name. |
| format | string | Deck format. Defaults to Standard. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| eventId * | string | The Limitless tournament event id. Required. |
| playerId * | string | The exact player name or id as shown by the selected event. Required. |
| workspaceId * | string | The workspace to import into. The caller must be its owner. Required. |
| idempotencyKey * | string | A caller-generated retry key. Reuse it unchanged after an uncertain result. Required. |
Read observed Pokemon archetype coverage for one format from recent Limitless tournament decklists. The response preserves archetype facts, sample coverage, truncation, missingFields and limitations. It does not measure the whole player population or predict demand.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum archetypes to return, from 1 to 100. Defaults to 50. |
| format * | string | Pokemon format. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_pokemon_metagame_overview",
"description": "Read observed Pokemon archetype coverage for one format from recent Limitless tournament decklists. The response preserves archetype facts, sample coverage, truncation, missingFields and limitations. It does not measure the whole player population or predict demand.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"format"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum archetypes to return, from 1 to 100. Defaults to 50."
},
"format": {
"enum": [
"standard",
"expanded",
"unlimited"
],
"type": "string",
"description": "Pokemon format. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Pokemon metagame overview",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read observed Pokemon archetype and card facts for one format and exact archetype name from recent Limitless tournament decklists. The response preserves source coverage, card prices, truncation, missingFields and limitations. It reports observations and does not recommend a deck or purchase.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum cards to return, from 1 to 100. Defaults to 100. |
| format * | string | Pokemon format. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| archetypeName * | string | Exact observed archetype name. Required. |
{
"name": "spellbook_pokemon_metagame_archetype",
"description": "Read observed Pokemon archetype and card facts for one format and exact archetype name from recent Limitless tournament decklists. The response preserves source coverage, card prices, truncation, missingFields and limitations. It reports observations and does not recommend a deck or purchase.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"format",
"archetypeName"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Maximum cards to return, from 1 to 100. Defaults to 100."
},
"format": {
"enum": [
"standard",
"expanded",
"unlimited"
],
"type": "string",
"description": "Pokemon format. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"archetypeName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact observed archetype name. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a Pokemon archetype",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read observed Pokemon card demand facts for one exact catalog product, optionally narrowed to one format. The response preserves exact card identity, sample windows, counts, prices, coverage, missingFields and limitations. It reports observations and does not rank or recommend a card.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum observations to return, from 1 to 100. Defaults to 20. |
| cardId * | string | Exact Pokemon catalog product id from spellbook_printings_search. Required. |
| format | string | Optional Pokemon format filter. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_pokemon_metagame_card",
"description": "Read observed Pokemon card demand facts for one exact catalog product, optionally narrowed to one format. The response preserves exact card identity, sample windows, counts, prices, coverage, missingFields and limitations. It reports observations and does not rank or recommend a card.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum observations to return, from 1 to 100. Defaults to 20."
},
"cardId": {
"type": "string",
"pattern": "^pokemon:tcgp:[1-9]\\d*$",
"description": "Exact Pokemon catalog product id from spellbook_printings_search. Required."
},
"format": {
"enum": [
"standard",
"expanded",
"unlimited"
],
"type": "string",
"description": "Optional Pokemon format filter."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Pokemon card metagame facts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Record physically confirmed cards into one inventory bin, by stating the DESIRED TOTAL quantity of each exact printing that belongs in that bin. Existing live copies count toward that total, so only a missing difference is created. Calling it twice with the same numbers creates nothing the second time. Use it for the first cards a seller enters by hand, with no CSV and no scanner. Returns the created item ids plus every candidate it refused and why.
| Parameter | Type | Description |
|---|---|---|
| binId * | string | The bin these cards physically sit in. A bin id is a container letter plus an incrementing number, like B0001, where the letter names the physical box and the number names the bag inside it. Required. |
| items * | array | Up to 200 exact printing rows to record in this bin. Required, at least one. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to record these cards into. Required; writes only to this workspace. |
| physicallyConfirmed * | boolean | Must be true, asserting a person has physically counted these cards. The call is refused when this is omitted or false. |
Import a seller's own ManaBox export or TCGplayer inventory export into one workspace, the same import the SpellBook Finance web app runs. The server parses the CSV, resolves each row to an exact printing, preserves mapped location labels or assigns fallback bins, and creates one inventory copy per card. TCGplayer Pokémon and Riftbound rows require the catalog's exact game, provider product identity, finish, condition, and language; incomplete or mismatched rows are skipped with a repair reason and never default to Magic, English, or nonfoil. Sending the identical CSV again returns the first result with duplicate true and creates nothing. Returns the importId, how many copies were written, the bins used, and every row it could not parse or skipped.
| Parameter | Type | Description |
|---|---|---|
| csv * | string | The full CSV text, header row included, exactly as the export produced it. Required. At most 200,000 characters. |
| source * | string | Which export this is: manabox for a ManaBox CSV (needs Scryfall ID, Quantity, Condition and Foil columns), tcg for a TCGplayer seller inventory export (needs the TCGplayer Id column). Required. |
| binName | string | A human name for that one bin, 1 to 48 letters, digits, spaces, dashes or underscores. Honored only when oneBinPerUpload is true. A name another import already holds is refused. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| binPrefix | string | One capital letter that starts fallback bin codes for copies without a mapped location, e.g. C gives C0001, C0002. Defaults to C. |
Add opened Commander precon decks, displays or cases to inventory as individual cards, the same Add Commander deck flow the web app runs. The server reads the cached decklist for that TCGplayer product, splits a display or case into its decks, creates one inventory copy per card at the exact printing, assigns bins, and splits the price paid across the cards. Returns importId, copy count, and bin counts with deckName.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| binPrefix * | string | One capital letter that starts the auto-assigned bin codes, e.g. C gives C0001. Required. |
| copyCount | integer | How many copies of the whole product were opened, 1 to 20. Default 1. |
| workspaceId * | string | The workspace to add the cards to, from spellbook_workspaces_list. Required; writes only to this workspace. |
| paidPriceUsd * | number | USD paid for ONE copy of tcgProductId: one deck, or the whole display or case. Required. Send 0 only when it cost nothing. |
| tcgProductId * | integer | Exact TCGplayer product id of a sealed precon deck, or a Commander display or case, from spellbook_sealed_product_search. Required. Set of N, Bundle of N or Collection of N names are refused. |
| oneBinPerDeck | boolean |
Record single cards the customer bought on a marketplace that have not arrived yet, one row per exact printing with the quantity and the price paid per copy. Each copy is written as pending receipt under one order, so it counts as incoming and cannot be listed or sold until it is received. Returns the order's acquisitionSource, the copy count, the total cost and the bins the copies will go into. Use it right after the customer completes a marketplace checkout for singles found through spellbook_buy_targets or spellbook_singles_buylist_spreads. It never buys anything and moves no money. A card already in hand goes through spellbook_inventory_bin_ensure instead. When the package arrives, call spellbook_inventory_incoming_receive with the returned acquisitionSource.
| Parameter | Type | Description |
|---|---|---|
| rows * | array | The order's lines, one per exact printing, condition and finish. Required, at least one. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| orderRef * | string | The marketplace's order number from the checkout confirmation. Required. The same order number groups every copy for receiving. |
| sellerName | string | The seller's store name on the marketplace, when the checkout shows one. Shown beside the order in the incoming list. |
| marketplace * | string | Where the order was placed. Required. Use other for any marketplace not listed. |
| workspaceId * |
Read what a workspace has bought or saved that has not arrived yet, one group per marketplace order or precon deck import. Each group carries its acquisitionSource, a readable title, the copy and card counts, the total cost, the date it was recorded and the bins its copies are assigned to. Call this to answer what is still on the way, or to find the acquisitionSource to receive. It reports pending groups; it does not track a package or say when one will arrive.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose incoming inventory to read, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_inventory_incoming",
"description": "Read what a workspace has bought or saved that has not arrived yet, one group per marketplace order or precon deck import. Each group carries its acquisitionSource, a readable title, the copy and card counts, the total cost, the date it was recorded and the bins its copies are assigned to. Call this to answer what is still on the way, or to find the acquisitionSource to receive. It reports pending groups; it does not track a package or say when one will arrive.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose incoming inventory to read, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read incoming inventory",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Mark every pending copy in the named orders or precon imports as received, which makes them owned inventory that can be listed and sold. Returns how many copies were received, their total cost and the bins they belong in. Call it when the customer says the package arrived and they counted the cards. Read spellbook_inventory_incoming first to get each acquisitionSource.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace that holds the pending copies. Required; writes only to this workspace. |
| acquisitionSources * | array | The acquisitionSource of each order or import to receive, exactly as spellbook_inventory_incoming or spellbook_purchase_incoming_record returned it. Required, at least one. |
{
"name": "spellbook_inventory_incoming_receive",
"description": "Mark every pending copy in the named orders or precon imports as received, which makes them owned inventory that can be listed and sold. Returns how many copies were received, their total cost and the bins they belong in. Call it when the customer says the package arrived and they counted the cards. Read spellbook_inventory_incoming first to get each acquisitionSource.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"acquisitionSources"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that holds the pending copies. Required; writes only to this workspace."
},
"acquisitionSources": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "The acquisitionSource of each order or import to receive, exactly as spellbook_inventory_incoming or spellbook_purchase_incoming_record returned it. Required, at least one."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Receive incoming inventory",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Publish owned copies from one workspace as live eBay listings, priced by a stated rule. Pass itemIds to publish one exact card. ALWAYS call it once with dryRun true and show the person the counts and the preflight before calling it again with dryRun false, because a live run creates real listings a real buyer can buy. Pricing anchors on market price, never on what the seller paid: multiplier 0.96 lists at 96% of market, and floorUsd only ever raises a price. A live run returns a queued jobId, or the reason nothing published. A queued job has listed nothing yet, so call spellbook_ebay_job_status with that jobId before telling the person any card is live.
| Parameter | Type | Description |
|---|---|---|
| binId | string | Restrict publishing to one exact bin. Omit to consider every owned copy. |
| dryRun | boolean | True previews the run with no live listings created. False publishes for real. Defaults to true; a live run needs an explicit false. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds | array | Restrict publishing to these exact Item ids, from a prior spellbook_inventory_items_query. Pass one id to list one card. The owned-only rule still applies to each id. Omit to consider every owned copy. |
| floorUsd | number | A price floor in USD that only ever raises a computed price. Omit for no floor. |
| setCodes | array | Restrict publishing to these set codes. Omit to consider every set. |
| batchSize |
Publish a player-built deck from one workspace as ONE live eBay listing in eBay's player-built decks category. You choose the cards, the title, the summary, the ask and the shipping charge. This tool never suggests a price, ranks cards or picks a deck for you. It reports, per card, how many free near-mint copies the workspace holds and, when deckFormat is set, whether Scryfall lists the card as legal in that format. ALWAYS call it once with dryRun true and show the person the preview, the per-card counts and the refusals before calling it again with dryRun false, because a live run creates a real listing a real buyer can buy. A live run returns the eBay listingId and listingUrl, or the refusals. It does not reserve the copies, and it does not know whether another channel sells them first.
| Parameter | Type | Description |
|---|---|---|
| cards * | array | The deck list, at most 100 rows and 500 cards in total. Rows that share a card name are merged. Required. |
| title * | string | The eBay listing title, at most 80 characters. Required. |
| dryRun | boolean | True previews the listing with no eBay call. False publishes for real. Defaults to true; a live run needs an explicit false. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| summary * | string | A short description of the deck for the listing body, at most 1000 characters. Required. |
| priceUsd * |
Preview or reprice existing live eBay listings in one seller workspace using owner-accepted saved rules or a market multiplier and optional floor. Read spellbook_agent_pricing_protection first. A workspace in saved_rules_only mode requires pricing saved_rules; the server uses its accepted rules. This is a one-run marketplace override: it changes current eBay asks, creates no listing, and saves no pricing profile or durable override. Preview first with the default dryRun true. A preview with itemIds returns its counts at once. Any other preview returns state planning and a jobId, so read its counts with spellbook_ebay_job_status. An explicit dryRun false queues an async reprice job. Read that job with spellbook_ebay_job_status until each affected listing reaches its terminal state.
| Parameter | Type | Description |
|---|---|---|
| binId | string | Restrict the run to one exact inventory bin. Omit for every live eBay listing in the workspace. |
| dryRun | boolean | True previews the listings and counts with no marketplace change. False queues the reprice job. Defaults to true; applying requires explicit false. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds | array | Restrict the run to these exact listed Item ids from spellbook_inventory_items_query. Omit for every live eBay listing in the workspace. |
| pricing | string | Use saved_rules to run the owner's accepted eBay strategy without caller pricing overrides. multiplier applies a one-run override where delegated permissions allow it. |
| floorUsd |
End the live eBay listings for up to 25 exact copies, and keep each copy in inventory so it can be published again. Take Item ids from spellbook_inventory_items_query. Show the person which cards will come down and get a yes before calling, because a live listing ends at once. Returns one result per copy: unpublished, kept, no_listing, or failed.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds * | array | Up to 25 exact Item ids whose eBay listings to end, from a prior spellbook_inventory_items_query. Required, at least one. |
| workspaceId * | string | The workspace that owns the copies. Required. |
{
"name": "spellbook_ebay_unpublish",
"description": "End the live eBay listings for up to 25 exact copies, and keep each copy in inventory so it can be published again. Take Item ids from spellbook_inventory_items_query. Show the person which cards will come down and get a yes before calling, because a live listing ends at once. Returns one result per copy: unpublished, kept, no_listing, or failed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemIds"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 25,
"minItems": 1,
"description": "Up to 25 exact Item ids whose eBay listings to end, from a prior spellbook_inventory_items_query. Required, at least one."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the copies. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "End eBay listings",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read one eBay bulk job by the jobId returned from spellbook_ebay_publish or spellbook_ebay_reprice. Both operations queue work, so call this before telling the person a listing was created or its ask changed. State planning, pending, uploading, processing or ingesting means the job is still running: call again after about a minute. State failed carries errorMessage, and each failures row carries a per-card reason: relay that reason to the person. A job with dryRun true is a reprice preview: it changed no eBay price, and totalItems counts the listings a live run would reprice. Returns state, counts, per-card items, failures and missingFields.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | The jobId returned by spellbook_ebay_publish or spellbook_ebay_reprice. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_ebay_job_status",
"description": "Read one eBay bulk job by the jobId returned from spellbook_ebay_publish or spellbook_ebay_reprice. Both operations queue work, so call this before telling the person a listing was created or its ask changed. State planning, pending, uploading, processing or ingesting means the job is still running: call again after about a minute. State failed carries errorMessage, and each failures row carries a per-card reason: relay that reason to the person. A job with dryRun true is a reprice preview: it changed no eBay price, and totalItems counts the listings a live run would reprice. Returns state, counts, per-card items, failures and missingFields.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"pattern": "^(?:[0-9A-HJKMNP-TV-Z]{26}|autolist-[0-9a-f]{32})$",
"description": "The jobId returned by spellbook_ebay_publish or spellbook_ebay_reprice. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read an eBay bulk job",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare one workspace's inventory against what is live on ManaPool, and return the exact changes a sync would make. Every action is listed with its kind: upsert to create or change a listing, delist to remove one, blocked where a cross-channel check refused it. Nothing is sent to ManaPool by this call. Show the person the summary and the counts, then call spellbook_manapool_sync_apply with the previewToken this returns.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorUsd | number | A price floor in USD for this preview. Omit to use the workspace's stored floor. |
| multiplier | number | Price multiplier applied to market price for this preview. Omit to use the workspace's stored pricing. |
| workspaceId * | string | The workspace to compare against live ManaPool state. Required. |
{
"name": "spellbook_manapool_sync_preview",
"description": "Compare one workspace's inventory against what is live on ManaPool, and return the exact changes a sync would make. Every action is listed with its kind: upsert to create or change a listing, delist to remove one, blocked where a cross-channel check refused it. Nothing is sent to ManaPool by this call. Show the person the summary and the counts, then call spellbook_manapool_sync_apply with the previewToken this returns.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorUsd": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "A price floor in USD for this preview. Omit to use the workspace's stored floor."
},
"multiplier": {
"type": "number",
"maximum": 10,
"description": "Price multiplier applied to market price for this preview. Omit to use the workspace's stored pricing.",
"exclusiveMinimum": 0
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to compare against live ManaPool state. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview a ManaPool sync",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Send a previewed batch of changes to ManaPool, creating, repricing and removing real listings. Takes the previewToken from spellbook_manapool_sync_preview, which must still be valid. Applies at most maxActions in one call and returns remainingActionCount with nextActionCursor, so a full book takes several calls. Show the person the preview before the first call, not after.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorUsd | number | Must match the floorUsd used to build the preview, or the token is refused. |
| maxActions | integer | Maximum actions to apply in this call, 1 to 250. Omit for the default of 50; call again with the same token to continue. |
| multiplier | number | Must match the multiplier used to build the preview, or the token is refused. |
| workspaceId * | string | The workspace whose previewed changes to apply. Required. |
| previewToken * | string | The previewToken from spellbook_manapool_sync_preview. Must still be valid; a stale token is refused. |
Read the live listings on the workspace's connected eBay, TCGplayer or ManaPool account and preview how each one maps to an exact printing, without changing the marketplace or inventory. Omit previewId to start a read. The read runs in the background, so the first answer has status queued or reading. Call again with previewId latest until status is ready. A ready preview lists adoptable listings with the printing, finish and condition read from each one, the facts that named it (matchSource), and how many copies link to owned items or need a new item. Unmatched listings carry one reason each. Show the person the counts and cap, then call spellbook_marketplace_listings_adopt_apply with the previewId. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.
| Parameter | Type | Description |
|---|---|---|
| channel | string | The marketplace whose live listings to adopt: ebay, tcg for TCGplayer, or manapool. Defaults to ebay. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| previewId | string | Omit to start a new read of the live listings. Pass latest, or a previewId from an earlier call, to read a stored preview without a new eBay read. |
| workspaceId * | string | The workspace whose connected marketplace account to read. Required. Only the workspace owner can start a read. |
Adopt the listings in a ready preview from spellbook_marketplace_listings_adopt_preview. Each remote copy is linked to an owned item or gets a new item in the channel's import bin (EBAY-IMPORT, TCG-IMPORT or MANAPOOL-IMPORT), and the listing is recorded as managed by SpellBook. Each adopted printing gets an exact price lock at its live price. Nothing on the marketplace is edited, ended or relisted, and nothing is published. Applying runs in the background. The first answer has applyStatus applying. Call spellbook_marketplace_listings_adopt_preview with previewId latest until applyStatus is applied. Show the person the preview before the first call. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.
| Parameter | Type | Description |
|---|---|---|
| channel | string | The marketplace of the preview: ebay, tcg for TCGplayer, or manapool. Defaults to ebay. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| maxUnits | integer | Adopt whole listings, highest live price first, until this many copies. Omit to adopt every adoptable listing. Pass it only when the person asks to adopt fewer copies. The allowance never requires it. |
| previewId * | string | The previewId of a ready, unexpired preview from spellbook_marketplace_listings_adopt_preview. Required. |
| workspaceId * | string | The workspace that owns the preview. Required. Only the workspace owner can apply. |
Preview one sealed listing on ManaPool or TCGplayer without publishing. Returns the proposed quantity and ask, any current offer, TCG publisher readback state, stock and intent revisions, and blockers. For TCGplayer, the first call may queue an exact seller-grid SKU read; call again after the paired extension finishes. After submitting, call preview again: publisher.state live confirms an offer, and removed confirms a zero-quantity removal. Pass this preview's channel, ask, and revisions to spellbook_sealed_listing_submit.
| Parameter | Type | Description |
|---|---|---|
| cap | integer | The most units to offer at once. Omit to offer every eligible unit. |
| game | string | The game of the product. Defaults to mtg. |
| kind * | string | The sealed kind, the kind on the same spellbook_sealed_portfolio row. Required, because units are counted by kind and boxId together. |
| boxId * | string | The TCGplayer product id of the sealed product, the boxId on a spellbook_sealed_portfolio row. Required. |
| channel | string | Marketplace to preview. Defaults to manapool. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorUsd | number | undercut only. The lowest ask in USD the rule may choose. Omit to use catalog market times floorMarketFraction. |
Submit one sealed product listing to ManaPool or TCGplayer at the exact quantity and ask shown by spellbook_sealed_listing_preview. Pass the same channel and product arguments, plus proposed.stockRevision, proposed.askUsd, and intentRevision unchanged. ManaPool submits directly. TCGplayer queues the paired browser writer. A queued TCG write is pending until an exact seller-grid readback confirms it.
| Parameter | Type | Description |
|---|---|---|
| cap | integer | The most units to offer at once. Omit to offer every eligible unit. |
| game | string | The game of the product. Defaults to mtg. |
| kind * | string | The sealed kind, the kind on the same spellbook_sealed_portfolio row. Required, because units are counted by kind and boxId together. |
| boxId * | string | The TCGplayer product id of the sealed product, the boxId on a spellbook_sealed_portfolio row. Required. |
| channel | string | Marketplace to submit to. Must match the preview. Defaults to manapool. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorUsd | number | undercut only. The lowest ask in USD the rule may choose. Omit to use catalog market times floorMarketFraction. |
| language |
Remove one SpellBook-managed sealed listing from ManaPool or set its TCGplayer quantity to zero through the paired browser. Call spellbook_sealed_listing_preview first and pass its channel and intentRevision unchanged. A product with no saved SpellBook intent cannot be removed by this tool.
| Parameter | Type | Description |
|---|---|---|
| game | string | The product game. Defaults to mtg. |
| kind * | string | The sealed kind from the same portfolio row. Required. |
| boxId * | string | The exact TCGplayer sealed product id from the portfolio row. Required. |
| channel | string | Marketplace whose managed listing should be removed. Defaults to manapool. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| language | string | The product language code. Defaults to EN. |
| workspaceId * | string | The workspace that owns the listing. Required. |
| idempotencyKey * | string | A unique request key for this removal, such as a new UUID. If the result is uncertain, preview current state before deciding on another pause. Required. |
Show which cards in one workspace would be listed on TCGplayer, and at what price, without changing anything. TCGplayer has no server-side publish, so the real path is a CSV a person uploads to the TCGplayer portal. Call this first and show the person the candidates and the totals, then call spellbook_tcg_listing_export only once they have agreed to upload the file.
| Parameter | Type | Description |
|---|---|---|
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorPrice | number | A price floor in USD for this preview. Omit to use the workspace's stored floor. |
| sampleSize | integer | Maximum candidate rows to preview. Omit for the default sample size. |
| workspaceId * | string | The workspace to preview a TCGplayer listing run for. Required. |
| marketMultiplier | number | Price multiplier applied to market price for this preview. Omit to use the workspace's stored pricing. |
{
"name": "spellbook_tcg_listing_preview",
"description": "Show which cards in one workspace would be listed on TCGplayer, and at what price, without changing anything. TCGplayer has no server-side publish, so the real path is a CSV a person uploads to the TCGplayer portal. Call this first and show the person the candidates and the totals, then call spellbook_tcg_listing_export only once they have agreed to upload the file.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorPrice": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "A price floor in USD for this preview. Omit to use the workspace's stored floor."
},
"sampleSize": {
"type": "integer",
"maximum": 5000,
"minimum": 1,
"description": "Maximum candidate rows to preview. Omit for the default sample size."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to preview a TCGplayer listing run for. Required."
},
"marketMultiplier": {
"type": "number",
"maximum": 10,
"description": "Price multiplier applied to market price for this preview. Omit to use the workspace's stored pricing.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview a TCGplayer listing run",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview the TCGplayer CSV rows for 1 to 25 exact Pokemon inventory copies. Call this after the seller selects the copies. Returns staged-preview rows and CSV, plus excludedCount and excluded for copies left out. It queues nothing, publishes nothing, and offers no export follow-up.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds * | array | The exact Item ids selected by the seller, 1 to 25 unique non-empty values. Required; each copy must be owned or listed, belong to Pokemon, and not already be live on TCGplayer. |
| workspaceId * | string | The workspace that owns every selected Pokemon inventory copy. Required. |
{
"name": "spellbook_pokemon_tcg_staged_preview",
"description": "Preview the TCGplayer CSV rows for 1 to 25 exact Pokemon inventory copies. Call this after the seller selects the copies. Returns staged-preview rows and CSV, plus excludedCount and excluded for copies left out. It queues nothing, publishes nothing, and offers no export follow-up.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemIds"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 25,
"minItems": 1,
"description": "The exact Item ids selected by the seller, 1 to 25 unique non-empty values. Required; each copy must be owned or listed, belong to Pokemon, and not already be live on TCGplayer."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns every selected Pokemon inventory copy. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview exact Pokemon TCG rows",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Produce the CSV a person uploads to the TCGplayer portal, and mark those copies as listed in SpellBook. Call it only after spellbook_tcg_listing_preview and only once the person has said they will upload the file. Hand them the CSV and tell them plainly that SpellBook now believes these copies are listed, so the upload has to happen.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| floorPrice | number | Must match the value shown in spellbook_tcg_listing_preview to export the same priced candidates. |
| sampleSize | integer | Must match the value shown in spellbook_tcg_listing_preview to export the same candidate set. |
| workspaceId * | string | The workspace to export a TCGplayer upload CSV for. Required; writes listing records for this workspace. |
| marketMultiplier | number | Must match the value shown in spellbook_tcg_listing_preview to export the same priced candidates. |
{
"name": "spellbook_tcg_listing_export",
"description": "Produce the CSV a person uploads to the TCGplayer portal, and mark those copies as listed in SpellBook. Call it only after spellbook_tcg_listing_preview and only once the person has said they will upload the file. Hand them the CSV and tell them plainly that SpellBook now believes these copies are listed, so the upload has to happen.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorPrice": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "Must match the value shown in spellbook_tcg_listing_preview to export the same priced candidates."
},
"sampleSize": {
"type": "integer",
"maximum": 5000,
"minimum": 1,
"description": "Must match the value shown in spellbook_tcg_listing_preview to export the same candidate set."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to export a TCGplayer upload CSV for. Required; writes listing records for this workspace."
},
"marketMultiplier": {
"type": "number",
"maximum": 10,
"description": "Must match the value shown in spellbook_tcg_listing_preview to export the same priced candidates.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Export a TCGplayer upload CSV",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Check whether this signed-in customer's ManaPool seller account is connected to SpellBook Finance. Call this before requesting a setup link and again after the seller finishes the setup form. It returns a masked account identifier and stored connection timestamps. If connected is false, call spellbook_manapool_connect_link.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_manapool_connection_status",
"description": "Check whether this signed-in customer's ManaPool seller account is connected to SpellBook Finance. Call this before requesting a setup link and again after the seller finishes the setup form. It returns a masked account identifier and stored connection timestamps. If connected is false, call spellbook_manapool_connect_link.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check your ManaPool connection",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get the SpellBook Finance page where the seller connects ManaPool, and guide them through it. Call spellbook_manapool_connection_status first. Save the seller's return address with spellbook_return_address_save before you hand over the link, because the page fills ManaPool's tax address from it. Hand the seller only this one link. The page itself links to ManaPool's token page, where a seller with no ManaPool account signs up first and then creates an access token starting mpat_. Tell them the SpellBook page already shows their email and return address, so they paste only the token. Call spellbook_manapool_connection_status after they finish. The agent never receives or submits the credential.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_manapool_connect_link",
"description": "Get the SpellBook Finance page where the seller connects ManaPool, and guide them through it. Call spellbook_manapool_connection_status first. Save the seller's return address with spellbook_return_address_save before you hand over the link, because the page fills ManaPool's tax address from it. Hand the seller only this one link. The page itself links to ManaPool's token page, where a seller with no ManaPool account signs up first and then creates an access token starting mpat_. Tell them the SpellBook page already shows their email and return address, so they paste only the token. Call spellbook_manapool_connection_status after they finish. The agent never receives or submits the credential.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get a ManaPool setup link",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get a link where the seller uploads their own phone photos of the front and the back of one inventory copy, so the next eBay listing shows that exact card beside catalog art. Use it when the seller wants buyers to see the real card, when a buyer asks to see the back, or when catalog art is wrong or missing. Take itemId from spellbook_inventory_items_query or spellbook_inventory_holdings. Give the seller the returned url and tell them to open it on their phone, then take or pick a photo of the card front and a photo of the card back. No photo passes through you. After they say the photos are saved, call spellbook_ebay_publish for that copy.
| Parameter | Type | Description |
|---|---|---|
| itemId * | string | One inventory copy's itemId, from spellbook_inventory_items_query or spellbook_inventory_holdings. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace that holds the copy. The caller must own it. Required. |
{
"name": "spellbook_item_photo_upload_link",
"description": "Get a link where the seller uploads their own phone photos of the front and the back of one inventory copy, so the next eBay listing shows that exact card beside catalog art. Use it when the seller wants buyers to see the real card, when a buyer asks to see the back, or when catalog art is wrong or missing. Take itemId from spellbook_inventory_items_query or spellbook_inventory_holdings. Give the seller the returned url and tell them to open it on their phone, then take or pick a photo of the card front and a photo of the card back. No photo passes through you. After they say the photos are saved, call spellbook_ebay_publish for that copy.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemId"
],
"properties": {
"itemId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "One inventory copy's itemId, from spellbook_inventory_items_query or spellbook_inventory_holdings. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that holds the copy. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get a photo upload link for one card",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Check whether this signed-in customer's eBay seller account is connected to SpellBook Finance. Call this before requesting a connect link and call it again after the seller approves eBay consent. It returns the stored account identity and token state plus current eBay seller-registration and selling-limit facts. If connected is false and account is null, call spellbook_ebay_connect_link. If status is revoked, fetch a fresh connect link.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_ebay_connection_status",
"description": "Check whether this signed-in customer's eBay seller account is connected to SpellBook Finance. Call this before requesting a connect link and call it again after the seller approves eBay consent. It returns the stored account identity and token state plus current eBay seller-registration and selling-limit facts. If connected is false and account is null, call spellbook_ebay_connect_link. If status is revoked, fetch a fresh connect link.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check your eBay connection",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the caller's connected eBay shipping charges and provider readback. workspaceId proves the caller owns a SpellBook workspace; eBay settings remain scoped to that caller's connected eBay account. Read this before changing shipping charges.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
{
"name": "spellbook_ebay_shipping_policy_get",
"description": "Read the caller's connected eBay shipping charges and provider readback. workspaceId proves the caller owns a SpellBook workspace; eBay settings remain scoped to that caller's connected eBay account. Read this before changing shipping charges.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay shipping policy",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the shipping-mode preference saved for the caller's connected eBay account and whether a delegated agent last set it. workspaceId proves owner access only; the preference is account-scoped.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
{
"name": "spellbook_ebay_shipping_mode_get",
"description": "Read the shipping-mode preference saved for the caller's connected eBay account and whether a delegated agent last set it. workspaceId proves owner access only; the preference is account-scoped.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay shipping mode",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save the seller-selected shipping mode for the caller's connected eBay account, then return the saved preference. Read spellbook_ebay_shipping_mode_get first; call spellbook_ebay_shipping_policy_set separately to configure charges. This can affect future listing and repricing work across the account's workspaces.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
| shippingMode * | string | Seller-selected account preference: buyer_pays_flat or free_baked_in. Required. |
{
"name": "spellbook_ebay_shipping_mode_set",
"description": "Save the seller-selected shipping mode for the caller's connected eBay account, then return the saved preference. Read spellbook_ebay_shipping_mode_get first; call spellbook_ebay_shipping_policy_set separately to configure charges. This can affect future listing and repricing work across the account's workspaces.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"shippingMode"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
},
"shippingMode": {
"enum": [
"buyer_pays_flat",
"free_baked_in"
],
"type": "string",
"description": "Seller-selected account preference: buyer_pays_flat or free_baked_in. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set eBay shipping mode",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Set a package flat shipping charge and optionally an envelope charge on the caller's connected eBay account, then return provider readback. Read spellbook_ebay_shipping_policy_get first; omitting the envelope amount preserves its current charge. workspaceId is checked for owner access; the connected account belongs to the caller.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
| packageFlatRateUsd * | number | Seller-selected flat package shipping charge in USD. Required. |
| envelopeFlatRateUsd | number | Optional seller-selected flat envelope shipping charge in USD. Omit to preserve its current amount. |
{
"name": "spellbook_ebay_shipping_policy_set",
"description": "Set a package flat shipping charge and optionally an envelope charge on the caller's connected eBay account, then return provider readback. Read spellbook_ebay_shipping_policy_get first; omitting the envelope amount preserves its current charge. workspaceId is checked for owner access; the connected account belongs to the caller.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"packageFlatRateUsd"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
},
"packageFlatRateUsd": {
"type": "number",
"maximum": 99,
"minimum": 0,
"description": "Seller-selected flat package shipping charge in USD. Required."
},
"envelopeFlatRateUsd": {
"type": "number",
"maximum": 99,
"minimum": 0,
"description": "Optional seller-selected flat envelope shipping charge in USD. Omit to preserve its current amount."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set eBay shipping charges",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read the caller's connected eBay combined-shipping profile and promotional shipping rule, including its provider type, amount threshold or maximum order cost, and configuration status. Call spellbook_ebay_combined_shipping_set after reviewing it. eBay checkout may still require multiple items for an amount-threshold offer; use eBay Seller Hub Shipping discounts when a minimum amount must qualify one item.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
{
"name": "spellbook_ebay_combined_shipping_get",
"description": "Read the caller's connected eBay combined-shipping profile and promotional shipping rule, including its provider type, amount threshold or maximum order cost, and configuration status. Call spellbook_ebay_combined_shipping_set after reviewing it. eBay checkout may still require multiple items for an amount-threshold offer; use eBay Seller Hub Shipping discounts when a minimum amount must qualify one item.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay combined shipping",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set the caller's connected eBay combined-shipping charge and optional amount-threshold offer or maximum shipping cost per order, then return Account API readback. Read spellbook_ebay_combined_shipping_get first. Configure an amount-only single-item Shipping discount separately in Seller Hub.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| profileName | string | Seller-selected eBay rule name. Defaults to SpellBook Finance Combined Shipping. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
| combinedDuration | string | Optional buyer accumulation window. Omit to preserve the existing eBay window; a new account without one falls back to Days_7. |
| eachAdditionalAmountUsd | number | Seller-selected shipping charge for each additional item in USD. Defaults to 0. |
| promotionalShippingRule | any | Optional shipping promotion. Use {orderAmountUsd, shippingCostUsd} for the existing amount-threshold offer or {ruleType: maximum_shipping_cost_per_order, maximumShippingCostPerOrderUsd} to cap shipping per order. Omit it to preserve the existing promotion. |
Read the caller's tracked eBay order-discount promotion, including store or lot scope, quantity threshold, percentage, status and dates. workspaceId is checked for owner access; the promotion belongs to the caller's connected eBay account.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
{
"name": "spellbook_ebay_order_discount_get",
"description": "Read the caller's tracked eBay order-discount promotion, including store or lot scope, quantity threshold, percentage, status and dates. workspaceId is checked for owner access; the promotion belongs to the caller's connected eBay account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay order discount",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set a store-wide eBay order discount based on a seller-selected minimum quantity and percentage. Call spellbook_ebay_order_discount_get first; only one tracked order-discount promotion is supported, so this may replace the existing one.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| minQuantity * | integer | Seller-selected minimum item count. Required. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
| percentageOff * | integer | Seller-selected discount percentage. Required. |
{
"name": "spellbook_ebay_order_discount_set",
"description": "Set a store-wide eBay order discount based on a seller-selected minimum quantity and percentage. Call spellbook_ebay_order_discount_get first; only one tracked order-discount promotion is supported, so this may replace the existing one.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"minQuantity",
"percentageOff"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"minQuantity": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "Seller-selected minimum item count. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
},
"percentageOff": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Seller-selected discount percentage. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set a store-wide eBay order discount",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Disable the caller's tracked eBay order-discount promotion after reading spellbook_ebay_order_discount_get. This ends the tracked promotion and requires agent_marketplace_publish authorization.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Workspace the caller owns; used for delegated authorization. Required. |
{
"name": "spellbook_ebay_order_discount_disable",
"description": "Disable the caller's tracked eBay order-discount promotion after reading spellbook_ebay_order_discount_get. This ends the tracked promotion and requires agent_marketplace_publish authorization.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Disable tracked eBay order discount",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Get the SpellBook Finance page where the seller connects their eBay account. Call spellbook_ebay_connection_status first. Hand the seller only this one link and tell them to sign in to SpellBook Finance, press Connect eBay, then sign in at eBay and approve the connection. Once they finish, call spellbook_ebay_connection_status again. The agent never receives the eBay consent URL, a password, or a token.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_ebay_connect_link",
"description": "Get the SpellBook Finance page where the seller connects their eBay account. Call spellbook_ebay_connection_status first. Hand the seller only this one link and tell them to sign in to SpellBook Finance, press Connect eBay, then sign in at eBay and approve the connection. Once they finish, call spellbook_ebay_connection_status again. The agent never receives the eBay consent URL, a password, or a token.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get an eBay connect link",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read whether this workspace has a paired TCGplayer browser extension, and get the SpellBook page where the seller pairs one. TCGplayer has no seller API, so SpellBook syncs TCGplayer listings and orders through a Chrome extension on the seller's own computer. Returns whether the account has extension access, the current session's status, when it was paired, when the extension last checked in, and its order sync state. If session is null or lastSeenAt is null, give the seller pairingPage.guideUrl to install the extension, then pairingPage.url to pair it. Call this tool again after they finish.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read extension pairing for, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_tcg_extension_pairing",
"description": "Read whether this workspace has a paired TCGplayer browser extension, and get the SpellBook page where the seller pairs one. TCGplayer has no seller API, so SpellBook syncs TCGplayer listings and orders through a Chrome extension on the seller's own computer. Returns whether the account has extension access, the current session's status, when it was paired, when the extension last checked in, and its order sync state. If session is null or lastSeenAt is null, give the seller pairingPage.guideUrl to install the extension, then pairingPage.url to pair it. Call this tool again after they finish.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read extension pairing for, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read TCGplayer extension pairing",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read which saved pricing profile each marketplace channel prices from in one workspace. Automatic eBay listing and repricing price every card from the eBay channel's profile, so read this before a seller turns on automatic eBay listing. Returns the workspace's saved profiles by name with the active one marked, and for each channel the pinned profile, the profile automation actually prices from, and which SpellBook jobs read that pin. It reports the setting and recommends no profile.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_channel_pricing_profiles",
"description": "Read which saved pricing profile each marketplace channel prices from in one workspace. Automatic eBay listing and repricing price every card from the eBay channel's profile, so read this before a seller turns on automatic eBay listing. Returns the workspace's saved profiles by name with the active one marked, and for each channel the pinned profile, the profile automation actually prices from, and which SpellBook jobs read that pin. It reports the setting and recommends no profile.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read channel pricing profiles",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pin one of the workspace's saved pricing profiles to one marketplace channel, or clear the pin with a null profileId. It is the same choice as the channel defaults card on the SpellBook pricing settings page. Read spellbook_channel_pricing_profiles first, and pin only a profile the seller named. Returns the full channel pricing read after the write, plus the channel's previous pin, so the change can be reverted by setting the previous value back. It changes which profile prices future automatic listings and reprices; it edits no profile and publishes nothing.
| Parameter | Type | Description |
|---|---|---|
| channel * | string | The marketplace channel to pin: ebay, tcg (TCGplayer), manapool, shopify or cardtrader. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| profileId * | any | A profileId from spellbook_channel_pricing_profiles, or null to clear the pin so the channel falls back to the workspace's active profile. Required. |
| workspaceId * | string | The workspace to change, from spellbook_workspaces_list. The signed-in customer must own it. Required. |
{
"name": "spellbook_channel_pricing_profile_set",
"description": "Pin one of the workspace's saved pricing profiles to one marketplace channel, or clear the pin with a null profileId. It is the same choice as the channel defaults card on the SpellBook pricing settings page. Read spellbook_channel_pricing_profiles first, and pin only a profile the seller named. Returns the full channel pricing read after the write, plus the channel's previous pin, so the change can be reverted by setting the previous value back. It changes which profile prices future automatic listings and reprices; it edits no profile and publishes nothing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"channel",
"profileId"
],
"properties": {
"channel": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string",
"description": "The marketplace channel to pin: ebay, tcg (TCGplayer), manapool, shopify or cardtrader. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"profileId": {
"anyOf": [
{
"type": "string",
"maxLength": 100,
"minLength": 1
},
{
"type": "null"
}
],
"description": "A profileId from spellbook_channel_pricing_profiles, or null to clear the pin so the channel falls back to the workspace's active profile. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to change, from spellbook_workspaces_list. The signed-in customer must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Pin a channel pricing profile",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read a workspace's saved-rule pricing authority before an eBay reprice. Returns current and accepted eBay rules, mode, source-change acceptance requirement, unresolved submission evidence, missingFields and limitations. Settling means earlier admitted marketplace writes may still finish. Only the owner can accept rules through the web app.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_agent_pricing_protection",
"description": "Read a workspace's saved-rule pricing authority before an eBay reprice. Returns current and accepted eBay rules, mode, source-change acceptance requirement, unresolved submission evidence, missingFields and limitations. Settling means earlier admitted marketplace writes may still finish. Only the owner can accept rules through the web app.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read agent pricing authority",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read active and pending eBay fixed-baseline price limits, enforcement status and missing evidence. Call before preparing a new enrollment with spellbook_ebay_price_limit_enrollment_prepare. Expiry stops new admissions; earlier admitted writes may still finish.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_ebay_price_limits_get",
"description": "Read active and pending eBay fixed-baseline price limits, enforcement status and missing evidence. Call before preparing a new enrollment with spellbook_ebay_price_limit_enrollment_prepare. Expiry stops new admissions; earlier admitted writes may still finish.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay fixed price limits",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Prepare an account-wide enrollment proposal from explicit owner-selected bounds and times. Returns a durable header and coverage counts. Explain the quiet interval prerequisite before calling: controlled price admissions and relevant membership changes can invalidate discovery. Continue with spellbook_ebay_price_limit_enrollment_continue; the owner reviews and activates in the web app.
| Parameter | Type | Description |
|---|---|---|
| scope * | string | Known ordinary live USD listings for the verified eBay account. Required. |
| endsAt * | string | Owner-selected exclusive admission-window end as a UTC timestamp. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| startsAt * | string | Owner-selected inclusive admission-window start as a UTC timestamp. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| decreaseCents * | integer | Owner-selected absolute USD cents below each observed baseline. Required; no default. |
| increaseCents * | integer | Owner-selected absolute USD cents above each observed baseline. Required; no default. |
Read one eBay price-limit enrollment's state, coverage counts, fingerprint and original expiry. Call after preparation or continuation. Read stored baselines with spellbook_ebay_price_limit_enrollment_pages; continue building with spellbook_ebay_price_limit_enrollment_continue.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| enrollmentId * | string | Enrollment ID returned by preparation. Required. |
{
"name": "spellbook_ebay_price_limit_enrollment_get",
"description": "Read one eBay price-limit enrollment's state, coverage counts, fingerprint and original expiry. Call after preparation or continuation. Read stored baselines with spellbook_ebay_price_limit_enrollment_pages; continue building with spellbook_ebay_price_limit_enrollment_continue.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"enrollmentId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"enrollmentId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Enrollment ID returned by preparation. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay enrollment progress",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read bounded stored pages of eBay enrollment identities, observed baselines, absolute bounds and exclusions. Call after spellbook_ebay_price_limit_enrollment_get. Follow nextCursor until null to inspect all stored pages; read the header again for overall completion.
| Parameter | Type | Description |
|---|---|---|
| cursor | string | Opaque nextCursor from the preceding stored-page response. Omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| enrollmentId * | string | Enrollment ID returned by preparation. Required. |
{
"name": "spellbook_ebay_price_limit_enrollment_pages",
"description": "Read bounded stored pages of eBay enrollment identities, observed baselines, absolute bounds and exclusions. Call after spellbook_ebay_price_limit_enrollment_get. Follow nextCursor until null to inspect all stored pages; read the header again for overall completion.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"enrollmentId"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Opaque nextCursor from the preceding stored-page response. Omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"enrollmentId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Enrollment ID returned by preparation. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay enrollment baselines",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Advance one bounded discovery step of an existing eBay enrollment and return its header. Read spellbook_ebay_price_limit_enrollment_get first for the current state version. The server chooses each discovery page; repeat from fresh readback while building, then ask the owner to review in the web app.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| enrollmentId * | string | Enrollment ID returned by preparation. Required. |
| expectedStateVersion * | integer | Current stateVersion from enrollment readback. Required. |
{
"name": "spellbook_ebay_price_limit_enrollment_continue",
"description": "Advance one bounded discovery step of an existing eBay enrollment and return its header. Read spellbook_ebay_price_limit_enrollment_get first for the current state version. The server chooses each discovery page; repeat from fresh readback while building, then ask the owner to review in the web app.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"enrollmentId",
"expectedStateVersion"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"enrollmentId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Enrollment ID returned by preparation. Required."
},
"expectedStateVersion": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Current stateVersion from enrollment readback. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Continue eBay enrollment discovery",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Prepare a new exact eBay pricing approval from selected accepted source receipts. Returns eligible listing identities, typed conflicts and missing evidence. First read the source with spellbook_ebay_pricing_approval_get. The owner must choose manual automation and approve the new compensation in the web app; read its approval before spellbook_ebay_pricing_approval_execute.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| listingIds * | array | Owner-selected canonical eBay listing IDs from the source operation. Required; duplicates are refused. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| sourceOperationId * | string | Source exact pricing operation ID containing retained accepted receipts. Required. |
{
"name": "spellbook_ebay_pricing_restoration_prepare",
"description": "Prepare a new exact eBay pricing approval from selected accepted source receipts. Returns eligible listing identities, typed conflicts and missing evidence. First read the source with spellbook_ebay_pricing_approval_get. The owner must choose manual automation and approve the new compensation in the web app; read its approval before spellbook_ebay_pricing_approval_execute.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sourceOperationId",
"listingIds"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"listingIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 25,
"minItems": 1,
"description": "Owner-selected canonical eBay listing IDs from the source operation. Required; duplicates are refused."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"sourceOperationId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Source exact pricing operation ID containing retained accepted receipts. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare receipt-linked eBay restoration",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Prepare an immutable eBay pricing batch from selected inventory items. Returns exact listing identities, executable USD cents, complete physical membership and approval state. Ask the owner to review the batch in the web app, then call spellbook_ebay_pricing_approval_get before execution.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds * | array | Physical inventory item IDs to resolve into complete active eBay listings. The server refuses selections beyond its bounded listing or membership limit. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_ebay_pricing_approval_prepare",
"description": "Prepare an immutable eBay pricing batch from selected inventory items. Returns exact listing identities, executable USD cents, complete physical membership and approval state. Ask the owner to review the batch in the web app, then call spellbook_ebay_pricing_approval_get before execution.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemIds"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 1000,
"minItems": 1,
"description": "Physical inventory item IDs to resolve into complete active eBay listings. The server refuses selections beyond its bounded listing or membership limit."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare exact eBay pricing approval",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read one exact eBay pricing batch's immutable targets, owner approval state and per-listing submission and readback evidence. Call after preparation or execution. Use spellbook_ebay_pricing_approval_execute only after owner approval; keep unknown submissions distinct from observed prices.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| operationId * | string | Exact operation ID returned by preparation. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_ebay_pricing_approval_get",
"description": "Read one exact eBay pricing batch's immutable targets, owner approval state and per-listing submission and readback evidence. Call after preparation or execution. Use spellbook_ebay_pricing_approval_execute only after owner approval; keep unknown submissions distinct from observed prices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"operationId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"operationId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact operation ID returned by preparation. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read exact eBay pricing approval",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Execute the frozen targets of an owner-approved exact eBay pricing batch. First prepare with spellbook_ebay_pricing_approval_prepare and read owner approval with spellbook_ebay_pricing_approval_get. Returns durable execution and per-listing outcome evidence; read the same operation again to inspect progress.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| operationId * | string | Exact operation ID of the owner-approved prepared batch. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_ebay_pricing_approval_execute",
"description": "Execute the frozen targets of an owner-approved exact eBay pricing batch. First prepare with spellbook_ebay_pricing_approval_prepare and read owner approval with spellbook_ebay_pricing_approval_get. Returns durable execution and per-listing outcome evidence; read the same operation again to inspect progress.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"operationId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"operationId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact operation ID of the owner-approved prepared batch. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Execute owner-approved eBay pricing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read one seller SKU's exact minimum floor and exact-price lock by printing, finish and condition. Returns saved values, timestamps, all-marketplaces lock scope and whether the seller protected the lock from agent changes. Call it before changing a floor or lock, then read it again after a write.
| Parameter | Type | Description |
|---|---|---|
| finish * | string | The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| condition * | string | The exact physical condition for the SKU. Required. |
| scryfallId * | string | The exact Scryfall printing id. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_sku_price_controls",
"description": "Read one seller SKU's exact minimum floor and exact-price lock by printing, finish and condition. Returns saved values, timestamps, all-marketplaces lock scope and whether the seller protected the lock from agent changes. Call it before changing a floor or lock, then read it again after a write.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scryfallId",
"finish",
"condition"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The exact physical condition for the SKU. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Scryfall printing id. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one SKU's price controls",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set one seller SKU's minimum sell price and return its saved readback. Identify the exact printing, finish and condition. A floor raises computed prices up to the floor; it does not make an exact ask and does not trigger repricing.
| Parameter | Type | Description |
|---|---|---|
| finish * | string | The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| condition * | string | The exact physical condition for the SKU. Required. |
| scryfallId * | string | The exact Scryfall printing id. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| minSellPriceUsd * | number | The seller-selected minimum sell price in USD. Required. |
{
"name": "spellbook_sku_minimum_floor_set",
"description": "Set one seller SKU's minimum sell price and return its saved readback. Identify the exact printing, finish and condition. A floor raises computed prices up to the floor; it does not make an exact ask and does not trigger repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scryfallId",
"finish",
"condition",
"minSellPriceUsd"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The exact physical condition for the SKU. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Scryfall printing id. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"minSellPriceUsd": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "The seller-selected minimum sell price in USD. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set one SKU minimum floor",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Clear one seller SKU's minimum floor by exact printing, finish and condition. Returns the saved controls readback, so the agent can confirm the floor is null.
| Parameter | Type | Description |
|---|---|---|
| finish * | string | The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| condition * | string | The exact physical condition for the SKU. Required. |
| scryfallId * | string | The exact Scryfall printing id. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_sku_minimum_floor_clear",
"description": "Clear one seller SKU's minimum floor by exact printing, finish and condition. Returns the saved controls readback, so the agent can confirm the floor is null.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scryfallId",
"finish",
"condition"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The exact physical condition for the SKU. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Scryfall printing id. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Clear one SKU minimum floor",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set one seller SKU's unprotected exact-price lock and return its saved readback. Identify the exact printing, finish and condition. A seller-protected lock refuses agent changes. Call spellbook_sku_price_controls first to inspect protection. Saving a lock does not publish or trigger repricing.
| Parameter | Type | Description |
|---|---|---|
| finish * | string | The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| priceUsd * | number | The seller-selected exact locked price in USD. Required. |
| condition * | string | The exact physical condition for the SKU. Required. |
| scryfallId * | string | The exact Scryfall printing id. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
Clear one seller SKU's unprotected exact-price lock by exact printing, finish and condition. Seller-protected locks refuse agent removal. Call spellbook_sku_price_controls first to inspect protection; the saved readback confirms a successful clear with a null lock.
| Parameter | Type | Description |
|---|---|---|
| finish * | string | The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| condition * | string | The exact physical condition for the SKU. Required. |
| scryfallId * | string | The exact Scryfall printing id. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_sku_exact_price_lock_clear",
"description": "Clear one seller SKU's unprotected exact-price lock by exact printing, finish and condition. Seller-protected locks refuse agent removal. Call spellbook_sku_price_controls first to inspect protection; the saved readback confirms a successful clear with a null lock.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scryfallId",
"finish",
"condition"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The exact physical condition for the SKU. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Scryfall printing id. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Clear one SKU exact-price lock",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List seller-created pricing profiles by name and active state, plus the resulting active profile id. Call it before choosing a profile for detail, update, activation or channel pinning.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_profiles_list",
"description": "List seller-created pricing profiles by name and active state, plus the resulting active profile id. Call it before choosing a profile for detail, update, activation or channel pinning.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List seller pricing profiles",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one seller pricing profile's approved multiplier, floor, dollar offset, ordinary value bands, channel overrides, and any configured fixed eBay base-price trial, then report active state and channel pin facts. Call it before an update or activation.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| profileId * | string | The exact saved pricing profile id from a prior pricing profile read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_profile_get",
"description": "Read one seller pricing profile's approved multiplier, floor, dollar offset, ordinary value bands, channel overrides, and any configured fixed eBay base-price trial, then report active state and channel pin facts. Call it before an update or activation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"profileId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"profileId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved pricing profile id from a prior pricing profile read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one seller pricing profile",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create one seller pricing profile from a seller-selected name and explicit baseline multiplier and floor, with optional dollar offset, ordinary channel overrides, or a fixed equal-probability eBay base-price trial. A trial requires an explicit experiment id, positive allocation epoch and two different seller-selected multipliers. Returns saved profile and pin readback. It does not activate, publish or immediately reprice.
| Parameter | Type | Description |
|---|---|---|
| mult * | number | Explicit baseline market multiplier. Required. |
| name * | string | Seller-selected profile name. Required. |
| floor * | number | Explicit baseline floor in USD. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| marketOffsetUsd | number | Optional baseline dollar adjustment. |
| channelOverrides | object | Seller-approved overrides by marketplace channel. Omit when none are needed. |
Update selected seller-approved fields on one pricing profile and return saved profile and pin readback. Omitted fields stay unchanged. Null clears one channel override or only its eBay base-price trial.
| Parameter | Type | Description |
|---|---|---|
| mult | number | Replacement baseline multiplier. |
| name | string | Replacement seller-selected profile name. |
| floor | number | Replacement baseline floor in USD. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| profileId * | string | The exact saved pricing profile id from a prior pricing profile read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| marketOffsetUsd | number | Replacement baseline dollar adjustment. |
| channelOverrides | object | Selected per-channel overrides; omit to preserve all, null to clear one channel entry. |
Activate one seller-selected pricing profile and return its saved readback plus resulting active profile id. The first profile remains inactive until this explicit call. Activation does not publish or trigger repricing.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| profileId * | string | The exact saved pricing profile id from a prior pricing profile read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_profile_activate",
"description": "Activate one seller-selected pricing profile and return its saved readback plus resulting active profile id. The first profile remains inactive until this explicit call. Activation does not publish or trigger repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"profileId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"profileId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved pricing profile id from a prior pricing profile read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Activate a seller pricing profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List bounded seller pricing amendments with selector, marketplace scope, absolute multiplier, protected band, enabled state, priority and timestamps. It returns a cursor plus missing evidence and limitations.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum amendments to return, 1 to 100. Omit for 50. |
| cursor | string | Opaque cursor from a prior list response. Omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_amendments_list",
"description": "List bounded seller pricing amendments with selector, marketplace scope, absolute multiplier, protected band, enabled state, priority and timestamps. It returns a cursor plus missing evidence and limitations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum amendments to return, 1 to 100. Omit for 50."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque cursor from a prior list response. Omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List seller pricing amendments",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one saved pricing amendment's selector, marketplace scope, absolute multiplier, optional protected band, enabled state, priority and timestamps. Use it before an update, preview or delete.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| amendmentId * | string | The exact saved amendment id from a prior amendment read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_amendment_get",
"description": "Read one saved pricing amendment's selector, marketplace scope, absolute multiplier, optional protected band, enabled state, priority and timestamps. Use it before an update, preview or delete.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"amendmentId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"amendmentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved amendment id from a prior amendment read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one seller pricing amendment",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create one bounded seller pricing amendment from a selector, marketplace scope, absolute multiplier and optional protected band. Returns saved readback. The server retains its adaptive default internally; this tool has no demand behavior input and does not publish or reprice.
| Parameter | Type | Description |
|---|---|---|
| mode * | object | Absolute multiplier and optional protected band. Required. |
| name * | string | Seller-selected amendment name. Required. |
| notes | any | Optional seller notes; null clears notes. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| enabled | boolean | Whether the amendment starts enabled. Omit for enabled. |
| priority * | integer | Seller-selected precedence priority. Required. |
| selector * | object | The bounded inventory selector. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
| marketplaceScope * |
Update selected fields on one saved pricing amendment and return saved readback. Omitted fields preserve existing values, including server-owned demand behavior. The update does not publish or trigger repricing.
| Parameter | Type | Description |
|---|---|---|
| mode | object | Replacement absolute multiplier and optional protected band. |
| name | string | Replacement seller-selected name. |
| notes | any | Replacement notes; null clears notes. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| enabled | boolean | Replacement enabled state. |
| priority | integer | Replacement precedence priority. |
| selector | object | Replacement bounded selector. |
| amendmentId * | string | The exact saved amendment id from a prior amendment read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
Delete one saved pricing amendment by exact amendment id and return a deletion readback. This changes saved configuration and does not publish or trigger repricing.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| amendmentId * | string | The exact saved amendment id from a prior amendment read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_amendment_delete",
"description": "Delete one saved pricing amendment by exact amendment id and return a deletion readback. This changes saved configuration and does not publish or trigger repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"amendmentId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"amendmentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved amendment id from a prior amendment read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete a seller pricing amendment",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Start or run a bounded preview for one saved amendment or one seller-selected draft. Returns customer-safe per-channel impact counts and status evidence, with no raw inventory rows or demand telemetry. Preview is not publication.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| channels | array | Optional marketplace channels to preview. |
| amendment | object | Draft amendment; provide this or amendmentId. |
| amendmentId | string | The exact saved amendment id from a prior amendment read. Required. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_amendment_preview",
"description": "Start or run a bounded preview for one saved amendment or one seller-selected draft. Returns customer-safe per-channel impact counts and status evidence, with no raw inventory rows or demand telemetry. Preview is not publication.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"channels": {
"type": "array",
"items": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "Optional marketplace channels to preview."
},
"amendment": {
"type": "object",
"required": [
"priority",
"selector",
"marketplaceScope",
"mode"
],
"properties": {
"mode": {
"type": "object",
"required": [
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Absolute multiplier applied by this amendment. Required.",
"exclusiveMinimum": 0
},
"protectedBand": {
"type": "object",
"required": [
"thresholdUsd",
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Protected multiplier at or above the threshold.",
"exclusiveMinimum": 0
},
"thresholdUsd": {
"type": "number",
"description": "Original market anchor threshold in USD.",
"exclusiveMinimum": 0
}
},
"description": "Optional seller-approved protected band.",
"additionalProperties": false
}
},
"description": "Preview absolute multiplier and protected band.",
"additionalProperties": false
},
"enabled": {
"type": "boolean",
"default": true,
"description": "Whether the draft is enabled for preview."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Preview precedence priority."
},
"selector": {
"type": "object",
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Optional finish selector."
},
"setCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Set code selector."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "Optional condition selector."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact Scryfall printing selector. Requires setCode when supplied."
},
"releaseFamilyCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Release family selector."
},
"originalAnchorPriceBand": {
"type": "object",
"properties": {
"maxUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band upper bound in USD."
},
"minUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band lower bound in USD."
}
},
"description": "Optional original market anchor band selector.",
"additionalProperties": false
}
},
"description": "Preview selector.",
"additionalProperties": false
},
"marketplaceScope": {
"anyOf": [
{
"type": "string",
"const": "all",
"description": "Apply across all supported marketplaces."
},
{
"type": "object",
"required": [
"channels"
],
"properties": {
"channels": {
"type": "array",
"items": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "Specific marketplace channels for this amendment."
}
},
"additionalProperties": false
}
],
"description": "Preview marketplace scope."
}
},
"description": "Draft amendment; provide this or amendmentId.",
"additionalProperties": false
},
"amendmentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved amendment id from a prior amendment read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview a seller pricing amendment",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Read one pricing amendment preview job's bounded status and per-channel customer impacts. It returns counts, quantities, delta totals, timestamps, missing evidence and limitations. It never publishes or reprices.
| Parameter | Type | Description |
|---|---|---|
| jobId * | string | The preview job id returned by spellbook_pricing_amendment_preview. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the seller selected. The caller must own it. Required. |
{
"name": "spellbook_pricing_amendment_preview_status",
"description": "Read one pricing amendment preview job's bounded status and per-channel customer impacts. It returns counts, quantities, delta totals, timestamps, missing evidence and limitations. It never publishes or reprices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The preview job id returned by spellbook_pricing_amendment_preview. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read pricing amendment preview status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the authenticated customer's existing workspaces with workspaceId, name, membership role and status. Owner, admin and member roles are preserved. Discover a workspace before selecting it; this read creates no workspace or trial. When the list is empty, spellbook_workspace_create makes the first one.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_workspaces_list",
"description": "List the authenticated customer's existing workspaces with workspaceId, name, membership role and status. Owner, admin and member roles are preserved. Discover a workspace before selecting it; this read creates no workspace or trial. When the list is empty, spellbook_workspace_create makes the first one.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List your workspaces",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create the signed-in seller's first workspace when spellbook_workspaces_list comes back empty. It makes a workspace the seller owns. A signup Store trial starts only when its flag is on and free Seller access is not configured for this workspace. When the seller already has a workspace, it returns the first one and creates nothing, so a repeated call is safe. It returns workspaceId, name, role, and created.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_workspace_create",
"description": "Create the signed-in seller's first workspace when spellbook_workspaces_list comes back empty. It makes a workspace the seller owns. A signup Store trial starts only when its flag is on and free Seller access is not configured for this workspace. When the seller already has a workspace, it returns the first one and creates nothing, so a repeated call is safe. It returns workspaceId, name, role, and created.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create your first workspace",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one workspace's store setup facts and seller-activation projection: which setup facts are true, the current phase, nextAction and blockers, each channel's automation mode and meaning, and server evidence for the first verified eBay and ManaPool listings in autoListing. Use autoListing.ebay.firstVerifiedListing or autoListing.manapool.firstVerifiedListing to decide whether that channel reached the verified-first-listing step; read its verificationPending field when proof is still absent. Baseline quantity remains marketplace evidence, not physical stock. Call this for a seller's setup status or after an automation-policy change.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read setup status for. Required. |
{
"name": "spellbook_store_setup_status",
"description": "Read one workspace's store setup facts and seller-activation projection: which setup facts are true, the current phase, nextAction and blockers, each channel's automation mode and meaning, and server evidence for the first verified eBay and ManaPool listings in autoListing. Use autoListing.ebay.firstVerifiedListing or autoListing.manapool.firstVerifiedListing to decide whether that channel reached the verified-first-listing step; read its verificationPending field when proof is still absent. Baseline quantity remains marketplace evidence, not physical stock. Call this for a seller's setup status or after an automation-policy change.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read setup status for. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read store setup status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read how a seller onboards to one channel-lane marketplace and where this workspace's lane stands. It returns the venue's ordered onboarding steps with who does each step, what each needs, where it happens, and its sources, plus the venue's fees, seller levels, and accepted conditions. It also returns the workspace's lane: whether it exists and is enabled, whether SpellBook Finance holds the seller's key for the venue, whether the venue flag is on, whether SpellBook sync exists for the venue, and live and unconfirmed listing counts. Call it when a seller asks how to start selling on Misprint, or why nothing lists there. Walk the seller through the steps they have not done. While lane.connected is false, hand the seller the url of the step that connects the venue to SpellBook Finance, where the seller pastes the key themselves. Call this tool again after they finish. For eBay or ManaPool, call spellbook_ebay_connection_status or spellbook_manapool_connection_status.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| marketplace * | string | The channel-lane marketplace whose onboarding steps and lane state to read. |
| workspaceId * | string | The workspace whose lane to read. Required. |
{
"name": "spellbook_marketplace_onboarding",
"description": "Read how a seller onboards to one channel-lane marketplace and where this workspace's lane stands. It returns the venue's ordered onboarding steps with who does each step, what each needs, where it happens, and its sources, plus the venue's fees, seller levels, and accepted conditions. It also returns the workspace's lane: whether it exists and is enabled, whether SpellBook Finance holds the seller's key for the venue, whether the venue flag is on, whether SpellBook sync exists for the venue, and live and unconfirmed listing counts. Call it when a seller asks how to start selling on Misprint, or why nothing lists there. Walk the seller through the steps they have not done. While lane.connected is false, hand the seller the url of the step that connects the venue to SpellBook Finance, where the seller pastes the key themselves. Call this tool again after they finish. For eBay or ManaPool, call spellbook_ebay_connection_status or spellbook_manapool_connection_status.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"marketplace"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"marketplace": {
"enum": [
"cardtrader",
"ebay",
"manapool",
"misprint",
"shopify"
],
"type": "string",
"description": "The channel-lane marketplace whose onboarding steps and lane state to read."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose lane to read. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read marketplace onboarding",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the listings SpellBook Finance plans on one channel-lane marketplace for a workspace. It returns the lane's enabled flag, mode, and ask floor, then one target per listing: the card, the copies it holds, the desired quantity and ask, whether the marketplace confirmed both, and what SpellBook last read from the marketplace for it. Pass itemIds to ask about specific scanned copies. Each named copy no target holds comes back in itemsWithoutTarget with a reason. Call it after spellbook_marketplace_onboarding when a seller asks what will list, what is live, or why a card did not list. Call spellbook_channel_lane_set to change the lane's mode or ask floor.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum targets per page, 1 to 200. Omit for 100. Ignored when itemIds is set. |
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds | array | Item ids of copies to look up, 1 to 100. The reply holds every target that contains one of them and a reason for each one no target holds. Omit to page through every target. |
| marketplace * | string | The channel-lane marketplace whose listing targets to read. |
| workspaceId * | string | The workspace whose listing targets to read. Required. |
Set one workspace's eBay automation mode, basic-land preference, copy cap, or month-end allowance policy after the owner chooses the setting. Month-end defaults to off with a 1,000-insertion reserve. Optional stale-single refreshes run in the final 48 hours and stop new ends two hours before the Pacific month resets. Read spellbook_ebay_month_end_status first for capacity and recovery facts. Only the workspace owner may change public listing behavior. The modes: manual: New listings and repricing stay manual. Recovery of listings already ended by month-end management can finish. auto_list: New eligible inventory lists on eBay automatically at your saved eBay pricing strategy's prices, and existing eBay listings are never repriced automatically. full: New inventory lists on eBay automatically, and existing eBay listings reprice from your saved eBay pricing strategy. With variation packages on (the default), new inventory groups into one listing per set with each card as a variation; with them off, each card lists on its own.
| Parameter | Type | Description |
|---|---|---|
| mode | string | The mode the seller chose: manual, auto_list, or full. Send mode, basicLandsEnabled, maxQuantityPerListing, or any mix. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| monthEnd | object | The owner's month-end choice: enabled, reserve, and refreshStale. Enabling retains the reserve during automatic listing. refreshStale permits eligible older singles to refresh after new-stock work. Disabling stops new ends; recovery of already-ended stock continues. |
| workspaceId * | string | The workspace whose eBay automation mode to set. The caller must own it. Required. |
Read an owner's eBay month-end policy, estimated remaining insertions, reserve, usable capacity, Pacific execution window, and current recovery counts. Remaining already includes reserved active renewals and the existing margin. It returns facts, missingFields, and limitations; it does not establish eBay's exact billing balance or a sales benefit from refreshing.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the caller owns. Required. |
{
"name": "spellbook_ebay_month_end_status",
"description": "Read an owner's eBay month-end policy, estimated remaining insertions, reserve, usable capacity, Pacific execution window, and current recovery counts. Remaining already includes reserved active renewals and the existing margin. It returns facts, missingFields, and limitations; it does not establish eBay's exact billing balance or a sales benefit from refreshing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the caller owns. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay month-end allowance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read one workspace's saved eBay price bands. A band is a market price range in USD for one game. Automatic eBay listing lists a copy only when its market price falls in one of its game's bands, and it ends a live copy that falls outside them. The response lists, per game, the saved bands and how many live eBay copies and live listings sit inside, outside, or without a market price. Call spellbook_ebay_price_bands_set with dryRun true to preview a different set of bands.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose saved eBay price bands to read. The caller must own it. Required. |
{
"name": "spellbook_ebay_price_bands_get",
"description": "Read one workspace's saved eBay price bands. A band is a market price range in USD for one game. Automatic eBay listing lists a copy only when its market price falls in one of its game's bands, and it ends a live copy that falls outside them. The response lists, per game, the saved bands and how many live eBay copies and live listings sit inside, outside, or without a market price. Call spellbook_ebay_price_bands_set with dryRun true to preview a different set of bands.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose saved eBay price bands to read. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read eBay price bands",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview or save per-game eBay price bands, each a market price range in USD. With dryRun true it saves nothing and returns, per game, how many live eBay copies and listings the bands would keep, end, or leave because they have no market price. With dryRun false it saves the bands and returns the same counts: SpellBook Finance then ends live eBay copies whose market price falls outside their game's bands, in the background and again in a daily sweep, and keeps out-of-band copies off eBay. A live save needs no dry run first. Only the workspace owner may call it, and the agent saves bands only after the seller chose them.
| Parameter | Type | Description |
|---|---|---|
| dryRun * | boolean | true previews and saves nothing. false saves. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| priceBands * | object | Bands per game id, such as mtg, pokemon, or riftbound. Each band is {minUsd, maxUsd} in USD of market price, with maxUsd null for no upper limit. A copy stays when its market price is at or above minUsd and below maxUsd. A game with an empty list, or absent, has no restriction. This replaces every s… |
| workspaceId * | string | The workspace whose eBay price bands to set. The caller must own it. Required. |
| previewFingerprint | string | Optional and ignored. Older clients sent the previewFingerprint from a dry run here. |
Set one workspace's ManaPool automation mode, which decides whether SpellBook creates, updates, delists, and reprices ManaPool listings by itself. This changes public ManaPool behavior for the workspace, only the workspace owner may call it, and the agent sets a mode only after the seller chose one. The modes: manual: SpellBook creates no ManaPool listings and sends no quantity changes or delistings, but it keeps repricing your existing ManaPool listings. assisted: SpellBook plans the ManaPool listing changes it would make but sends none of them and offers no approval step, and it keeps repricing your existing ManaPool listings. automatic: SpellBook creates, updates, and delists ManaPool listings as your inventory changes and reprices existing ones, once the workspace passed a ManaPool test publish and while ManaPool reports the account ready to sell. paused: SpellBook sends nothing to ManaPool: no new listings, no quantity changes, no delistings, and no repricing.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | The mode the seller chose: manual, assisted, automatic, or paused. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose ManaPool automation mode to set. The caller must own it. Required. |
{
"name": "spellbook_manapool_automation_set",
"description": "Set one workspace's ManaPool automation mode, which decides whether SpellBook creates, updates, delists, and reprices ManaPool listings by itself. This changes public ManaPool behavior for the workspace, only the workspace owner may call it, and the agent sets a mode only after the seller chose one. The modes: manual: SpellBook creates no ManaPool listings and sends no quantity changes or delistings, but it keeps repricing your existing ManaPool listings. assisted: SpellBook plans the ManaPool listing changes it would make but sends none of them and offers no approval step, and it keeps repricing your existing ManaPool listings. automatic: SpellBook creates, updates, and delists ManaPool listings as your inventory changes and reprices existing ones, once the workspace passed a ManaPool test publish and while ManaPool reports the account ready to sell. paused: SpellBook sends nothing to ManaPool: no new listings, no quantity changes, no delistings, and no repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"mode"
],
"properties": {
"mode": {
"enum": [
"manual",
"assisted",
"automatic",
"paused"
],
"type": "string",
"description": "The mode the seller chose: manual, assisted, automatic, or paused. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose ManaPool automation mode to set. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set ManaPool automation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Set one workspace's lane mode for one channel-lane marketplace, the switch that decides whether SpellBook reads the marketplace or changes listings there, and set the Misprint ask floor. This changes public marketplace behavior for the workspace, only the workspace owner may call it, and the agent sets a mode or a floor only after the seller chose it. It returns the same lane state as spellbook_marketplace_onboarding. The modes: off: the lane is disabled and SpellBook neither reads nor changes the marketplace. observe: SpellBook reads the marketplace and records whether it matches SpellBook's desired state, and never changes a listing there. push: SpellBook creates, updates, and removes listings on the marketplace to match its desired state. askFloorUsd is the lowest ask SpellBook Finance sets on Misprint. Each Misprint ask is the TCGplayer ask for the same copies, raised to that floor.
| Parameter | Type | Description |
|---|---|---|
| mode | string | The mode the seller chose: off, observe, or push. Send mode, askFloorUsd, or both. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| askFloorUsd | number | Misprint only. The lowest ask in US dollars the seller chose for any Misprint listing, such as 0.5, in whole cents. Omit it to keep the saved floor. |
| marketplace * | string | The channel-lane marketplace whose mode to set. Required. |
| workspaceId * | string | The workspace whose lane to set. The caller must own it. Required. |
Read the signed-in seller's saved return address: the name, street line, and city-state-ZIP line SpellBook prints on shipping labels, plus the other settings stored beside it. profile is null when the seller never saved one. Read it before spellbook_return_address_save, so the agent can show the seller what is on file.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_return_address",
"description": "Read the signed-in seller's saved return address: the name, street line, and city-state-ZIP line SpellBook prints on shipping labels, plus the other settings stored beside it. profile is null when the seller never saved one. Read it before spellbook_return_address_save, so the agent can show the seller what is on file.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your return address",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save the return address the seller gave, which SpellBook prints on shipping labels and which store setup counts as returnAddressSaved. It replaces only the name, street, and city-state-ZIP lines and keeps every other saved setting. Only the workspace owner may call it, and only with an address the seller stated. A seller who does not want to share a home address in chat can type it on a SpellBook page, which the limits name, so offer that page before you ask for the address. Call spellbook_store_setup_status afterwards to confirm returnAddressSaved.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The name on the return address, such as the seller's name or store name, exactly as the seller gave it. Required. |
| street * | string | One street line, such as a house number and street, exactly as the seller gave it. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose setup this address completes. The caller must own it. Required. |
| cityStateZip * | string | One line with city, state, and ZIP code, such as Springfield, IL 62701, exactly as the seller gave it. Required. |
Read one workspace's Store plan, trial, Seller access, and managed-copy usage. The soft allowance adds earned referral copies to the 10,000-copy base. Read again after claiming a Free Seller workspace. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read the plan for. The caller must be a member. Required. |
{
"name": "spellbook_workspace_plan_status",
"description": "Read one workspace's Store plan, trial, Seller access, and managed-copy usage. The soft allowance adds earned referral copies to the 10,000-copy base. Read again after claiming a Free Seller workspace. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read the plan for. The caller must be a member. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your store plan",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Select one workspace for free Seller access. Ask the seller to name the workspace from spellbook_workspaces_list and confirm that choice before this call. Never pick a workspace from list order or an active-workspace default. The signed-in person must own it. Re-read spellbook_workspace_plan_status after this call for the access state and observed usage.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The exact workspaceId the seller explicitly selected for their one free Seller workspace. Required. |
| choiceConfirmed * | boolean | True only after the seller explicitly confirms this workspace choice in the current conversation. Required. |
{
"name": "spellbook_free_seller_workspace_claim",
"description": "Select one workspace for free Seller access. Ask the seller to name the workspace from spellbook_workspaces_list and confirm that choice before this call. Never pick a workspace from list order or an active-workspace default. The signed-in person must own it. Re-read spellbook_workspace_plan_status after this call for the access state and observed usage.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"choiceConfirmed"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact workspaceId the seller explicitly selected for their one free Seller workspace. Required."
},
"choiceConfirmed": {
"type": "boolean",
"const": true,
"description": "True only after the seller explicitly confirms this workspace choice in the current conversation. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Claim one free Seller workspace",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Get the checkout page for a seller-chosen Store plan on one workspace: a Stripe page, or a Shopify charge approval page for a workspace that installed the SpellBook Finance Shopify app and has no Stripe subscription. Read spellbook_workspace_plan_status first. Skip checkout when sellerToolsUnlocked comes from an active Store plan, person-level Pro, or admin access. The effective copy allowance is soft; do not suggest checkout solely because observed usage exceeds it. Offer paid Store features only when the seller chooses them. Give the returned URL to the seller to enter payment details at Stripe, then re-read plan status to observe its stored state; that status cannot prove payment settled. It refuses a workspace whose plan is already active.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| interval * | string | The billing interval the seller chose: monthly or annual. Required. |
| workspaceId * | string | The workspace the Store plan is for. The caller must own it. Required. |
{
"name": "spellbook_seller_plan_checkout_link",
"description": "Get the checkout page for a seller-chosen Store plan on one workspace: a Stripe page, or a Shopify charge approval page for a workspace that installed the SpellBook Finance Shopify app and has no Stripe subscription. Read spellbook_workspace_plan_status first. Skip checkout when sellerToolsUnlocked comes from an active Store plan, person-level Pro, or admin access. The effective copy allowance is soft; do not suggest checkout solely because observed usage exceeds it. Offer paid Store features only when the seller chooses them. Give the returned URL to the seller to enter payment details at Stripe, then re-read plan status to observe its stored state; that status cannot prove payment settled. It refuses a workspace whose plan is already active.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"interval"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"interval": {
"enum": [
"monthly",
"annual"
],
"type": "string",
"description": "The billing interval the seller chose: monthly or annual. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the Store plan is for. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get a Store plan checkout link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read this authenticated customer's current Investor and Seller access. Flags are not proof of payment or enrollment.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_entitlements",
"description": "Read this authenticated customer's current Investor and Seller access. Flags are not proof of payment or enrollment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your access",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Investigate Magic TCGplayer NM acquisitions against Card Kingdom buylist payout scenarios. Preserve source timestamps, finish, stock, grading scenarios, and queue degradation; spread is not net realized profit.
| Parameter | Type | Description |
|---|---|---|
| sets | string | Exact set code(s) to filter to. Omit to include every set. |
| limit | integer | Maximum rows to return, 1 to 200. Omit for the default of 20. |
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| isFoil | boolean | True restricts to foil rows, false to non-foil. Omit to include both. |
| rarity | string | Exact rarity to filter to. Omit to include every rarity. |
| sortBy | string | Which field ranks the rows. Omit for the default order. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| sortDir | string | Sort direction for sortBy. Omit for the default direction. |
| minCkQty | integer | Minimum Card Kingdom buylist quantity a row must have. Omit for no floor. |
Read Japanese-market supply offers for the Japanese promo cohort from Mercari, Hareruya and Bigweb, each beside the comparison prices SpellBook holds on TCGplayer, ManaPool and eBay. Every row carries one exact supply offer with its printing identity, the merchant's own condition grade and its normalized equivalent, the native unit price with its currency, quantity, availability, and its own observedAt and staleAfter stamps; then every comparison reference with its kind and typed comparisonBasis, a deterministic selectedReference with the selectionRule that chose it, and a providerStatus row for each comparison source explaining why it is ok, missing, stale, failed or incompatible. grossDifferenceUsd is an asking spread and is null unless printing, language, finish, unit basis and condition equivalence all hold; netDifferenceUsd stays null because this read carries no costs. Rows come back in source order, and nothing is ranked, scored or recommended for you.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum offers in this page. Page with cursor to traverse the rest; a short page is not proof the cohort ended. |
| cursor | string | The opaque nextCursor from the previous page, passed back unchanged. It is signed by the server; never construct, decode or edit one. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| buySources | array | Which Japanese supply sources to read. Omit for all three. Narrow it only when the person named a merchant; a source you drop is simply absent, never proven empty. |
| includeStale | boolean | True also returns offers whose staleAfter has already passed, with their stamps intact. Default false returns only offers still inside their freshness window. |
Read the latest bounded Japan sourcing cohort: English Riftbound cards sold in Japan (riftbound-jp), Japanese-language Magic promos (japanese-promos), or exact-language Pokemon cards (pokemon, pokemon-en, pokemon-ja). Returns every tracked target's actual observation time, verified offers, exact reference prices with price kinds, unresolved listing URLs and recorded blockers, source status and freshness policy. publishedAt is snapshot publication time and does not refresh an older target. Sold and unrelated observations are not purchase candidates. Missing costs remain unknown; no buying recommendation or profit is provided.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| cohortId | string | English Riftbound cards sold in Japan, Japanese-language Magic promos, or one exact-language Pokemon cohort. Use pokemon-en or pokemon-ja to keep source observations isolated. Defaults to riftbound-jp. |
{
"name": "spellbook_japan_source_scan",
"description": "Read the latest bounded Japan sourcing cohort: English Riftbound cards sold in Japan (riftbound-jp), Japanese-language Magic promos (japanese-promos), or exact-language Pokemon cards (pokemon, pokemon-en, pokemon-ja). Returns every tracked target's actual observation time, verified offers, exact reference prices with price kinds, unresolved listing URLs and recorded blockers, source status and freshness policy. publishedAt is snapshot publication time and does not refresh an older target. Sold and unrelated observations are not purchase candidates. Missing costs remain unknown; no buying recommendation or profit is provided.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"cohortId": {
"enum": [
"riftbound-jp",
"japanese-promos",
"pokemon",
"pokemon-en",
"pokemon-ja"
],
"type": "string",
"default": "riftbound-jp",
"description": "English Riftbound cards sold in Japan, Japanese-language Magic promos, or one exact-language Pokemon cohort. Use pokemon-en or pokemon-ja to keep source observations isolated. Defaults to riftbound-jp."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a Japan sourcing scan",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read physical Japanese-language Riftbound observations, separate from English cards sold in Japan. Returns exact SKU language, finish, condition, price kind, source links, actual price capture timestamps, freshness policy, per-source eligible denominators and nullable acceptance rates. ManaPool is unsupported_game. Distinguishes unavailable, stale, completed eligible zero and accepted evidence. TCG Market is a provider statistic, not a completed sale or guaranteed resale proceeds. asOf is query time. An empty result never implies a market price of zero or proves market-wide coverage.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_riftbound_japanese_comparables",
"description": "Read physical Japanese-language Riftbound observations, separate from English cards sold in Japan. Returns exact SKU language, finish, condition, price kind, source links, actual price capture timestamps, freshness policy, per-source eligible denominators and nullable acceptance rates. ManaPool is unsupported_game. Distinguishes unavailable, stale, completed eligible zero and accepted evidence. TCG Market is a provider statistic, not a completed sale or guaranteed resale proceeds. asOf is query time. An empty result never implies a market price of zero or proves market-wide coverage.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Japanese Riftbound comparables",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one seller listing's recorded pricing evidence for one marketplace. Returns the last recorded ask, market anchor, safe price effect, decision timestamps and whether the evidence is observed, recorded, projected or missing. Call this when a seller asks what price was saved or what evidence supports it, then use the seller controls tools when they want to inspect or change a setting. It never claims a remote marketplace ask is current without a remote observation timestamp. Separately timestamped performance pools this workspace card across editions and finishes and reports sampled exposure, sales, uncertainty and gaps; it does not recompute the saved price.
| Parameter | Type | Description |
|---|---|---|
| itemId * | string | The exact Item id, from a prior spellbook_inventory_items_query. Required. |
| channel * | string | Which marketplace listing to explain. Required, because the same copy carries a different ask per channel. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace that owns the listing. Required. |
{
"name": "spellbook_pricing_decision_explain",
"description": "Read one seller listing's recorded pricing evidence for one marketplace. Returns the last recorded ask, market anchor, safe price effect, decision timestamps and whether the evidence is observed, recorded, projected or missing. Call this when a seller asks what price was saved or what evidence supports it, then use the seller controls tools when they want to inspect or change a setting. It never claims a remote marketplace ask is current without a remote observation timestamp. Separately timestamped performance pools this workspace card across editions and finishes and reports sampled exposure, sales, uncertainty and gaps; it does not recompute the saved price.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemId",
"channel"
],
"properties": {
"itemId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Item id, from a prior spellbook_inventory_items_query. Required."
},
"channel": {
"enum": [
"tcg",
"ebay",
"manapool",
"cardtrader",
"shopify"
],
"type": "string",
"description": "Which marketplace listing to explain. Required, because the same copy carries a different ask per channel."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the listing. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Explain one listing price",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read CK credit-funded sealed acquisition candidates ranked by opening EV. Cash/credit opening multiples do NOT rank intact sealed resale cash profit. Credit is restricted purchasing power.
| Parameter | Type | Description |
|---|---|---|
| boxType | string | Restrict candidates to one box type. Defaults to all, covering every type. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_credit_conversion_candidates",
"description": "Read CK credit-funded sealed acquisition candidates ranked by opening EV. Cash/credit opening multiples do NOT rank intact sealed resale cash profit. Credit is restricted purchasing power.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"boxType": {
"enum": [
"all",
"play",
"draft",
"jumpstart",
"commander",
"precon"
],
"type": "string",
"default": "all",
"description": "Restrict candidates to one box type. Defaults to all, covering every type."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rank credit-funded sealed",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Assess up to ten exact sealed product lines as a CK-credit-funded intact resale scenario. Supply starting credit and explicit cost assumptions; omit unknown costs. EV judgment is permitted. Returns labeled cash estimates, credit allocation, capacity and missing evidence. Research only, no purchase.
| Parameter | Type | Description |
|---|---|---|
| costs * | object | Explicit cost assumptions for the resale scenario. Every field is optional; omit any cost that is unknown rather than guessing zero. |
| lines * | array | Up to 10 exact sealed product lines to assess. Required, at least one. |
| context | ref | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| exitChannel * | string | Name of the channel the intact resale would exit through. Required, up to 30 characters. |
| startingCreditUsd * | ref | Card Kingdom store credit available to spend in this scenario, in USD. Required. |
| maxSnapshotAgeHours * | number | Maximum age in hours of price snapshots this assessment may use. Required. |
Read the Sealed Deal Board: sealed boxes and decks that third-party stores list, one row per product and currency. Each row carries the store, productUrl, retailerPriceUsd, marketPrice (the product's TCGplayer market price, USD), anchorPriceUsd with anchorSource, tcgProductId, shippingPolicy plus age stamps firstSeenAt and recencyEventAt. priceBeatenAt records a drop with historical priceBeatenFromUsd and priceBeatenToUsd when known. priceBeatenAtCurrentOffer names the same-offer case. Each row names its boardLens: crack_ev (opening EV above a per-type price multiple and dollar spread; booster display 1.0x and $10) or below_market (collector-style boxes, judged against the market anchor). Admission is not a buy or open recommendation. Filter by game, productType, currency and q (catalog name words such as innistrad); results page by limit with nextCursor, null on the last page. Without Investor access you get the public preview, with entitled false. Call spellbook_sealed_product_offers with a tcgProductId for every store's offer and the sold comparables. Compare retailerPriceUsd with marketPrice yourself; rows are facts, unranked. tcgplayerBuyUrl is a SpellBook Finance affiliate link to the TCGplayer page; say so when you share it.
| Parameter | Type | Description |
|---|---|---|
| q | string | Catalog-name words, such as innistrad. Not the store's listing title. |
| game | string | One game. Omit for all. |
| limit | integer | Rows per page. |
| cursor | string | nextCursor from the previous page, unchanged, with the same filters. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
Search sealed catalog identity and available offer records by a third-party listing's name, set and product type. catalogMatches covers boxes, packs and cases, returning exact product IDs, kind, physicalLanguage, form, contentsState, intact marketPrice with marketPriceObservedAt, coverage (priceState, modelState, evState, totalEv, missingInput), and a cached pokemonEvDisplay when available. A Pokemon tier partial gives a numeric priced-component value with valueScope and missingFields; it may include an exact identified promo. It is not full product EV or a lower bound and must not be ranked as one. A zero-observation rare-tail gross bound, when present, uses the stated maximum copies per pack, representative independent packs and frozen subtype prices; it ignores displaced card value and is not added to the central partial value. products returns deal rows with modeled totalEV and offer evidence when supported. Call spellbook_sealed_product_offers with a deal row's tcgProductId for retail references, available sold comparables and freshness. This tool carries no per-pack distribution; for how many packs until opening is likely profitable, how swingy a box is, or what share of packs beat the pack price, call spellbook_box_ev_rankings with q set to the product name. The backend chooses the public or entitled response. A public response sets teaser true and returns fewer deal rows. Each TCGplayer product id carries tcgplayerBuyUrl, a short SpellBook Finance affiliate link to that TCGplayer page. Say it is an affiliate link when you share it.
| Parameter | Type | Description |
|---|---|---|
| q | string | Free-text product name search. Omit to browse without a name filter. |
| game | string | Restrict results to one game: mtg, riftbound or pokemon. Omit for a mixed-game search. |
| limit | integer | Maximum rows to return, 1 to 100. Omit for the default of 20. |
| store | string | Exact store name to filter to. Omit to include every store. |
Inspect one exact TCG product ID's sealed offers and their source times. Each offer includes the exact store listing, its local price, the crawl's actionability observation, and the selected exit comparable with its evidence date. The board shows one row per product and currency; this list holds every offer. Each offer carries boardAdmission {lens, admitted, reason}: whether the board's rules admitted that listing at publish time. lens is boardLens, crack_ev or below_market, as defined on spellbook_sealed_deal_board. Admission is not a buy or open recommendation. Opening EV is not intact resale value. Empty title or null computedAt can mean missing snapshot. A store URL handle is not identity evidence; productTitle and tcgProductId are. tcgplayerBuyUrl is a SpellBook Finance affiliate link to the TCGplayer page; say so when you share it.
| Parameter | Type | Description |
|---|---|---|
| region | string | One currency region: US, CA, NZ or All. Omit for all. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| tcgProductId * | string | Exact TCGplayer product id, digits only. |
{
"name": "spellbook_sealed_product_offers",
"description": "Inspect one exact TCG product ID's sealed offers and their source times. Each offer includes the exact store listing, its local price, the crawl's actionability observation, and the selected exit comparable with its evidence date. The board shows one row per product and currency; this list holds every offer. Each offer carries boardAdmission {lens, admitted, reason}: whether the board's rules admitted that listing at publish time. lens is boardLens, crack_ev or below_market, as defined on spellbook_sealed_deal_board. Admission is not a buy or open recommendation. Opening EV is not intact resale value. Empty title or null computedAt can mean missing snapshot. A store URL handle is not identity evidence; productTitle and tcgProductId are. tcgplayerBuyUrl is a SpellBook Finance affiliate link to the TCGplayer page; say so when you share it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId"
],
"properties": {
"region": {
"enum": [
"US",
"CA",
"NZ",
"All"
],
"type": "string",
"description": "One currency region: US, CA, NZ or All. Omit for all."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"tcgProductId": {
"type": "string",
"pattern": "^\\d{1,12}$",
"description": "Exact TCGplayer product id, digits only."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Inspect sealed offers",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Store one minimal customer failure report. Generate a fresh ULID submissionId and reuse the exact request for retries within 24 hours. Reports are accepted only after storage. No raw diagnostics, conversations, secrets, or customer identity. Available to authenticated Free customers, including paid-access denials. A report reaches no person.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| errorCode * | string | Which closed error code best matches the failure. Required. |
| operation * | string | Which SpellBook operation failed. Required, one of the closed operation names. |
| occurredAt * | string | ISO-8601 timestamp of when the failure occurred. Required. |
| submissionId * | string | A fresh ULID for this report. Reuse the exact same value and request body to retry within 24 hours; a new value starts a new report. |
| clientVersion * | string | This client's semantic version, e.g. "1.2.3". Required. |
| correlationId | string | A correlation id from a prior response, if one was returned. Omit when none was given. |
After finishing the task, ask the person whether they consent to send one bounded capability-gap report to SpellBook. Call this tool only after an explicit yes for this report and set consentToShare to true. Use it when a needed field was null, you guessed a number because no tool supplied it, you wished a tool existed, or you abandoned a path. It returns no task data and fixes nothing. Generate a fresh ULID submissionId and reuse the exact request for retries within 24 hours. Field paths must be real SpellBook response paths. There is no free-text field: never describe the card, price, customer, or conversation.
| Parameter | Type | Description |
|---|---|---|
| outcome * | string | What happened to the task: closed enum. Required. |
| occurredAt * | string | ISO-8601 timestamp of when the gap occurred. Required. |
| neededFields * | array | Real SpellBook response field paths that were null or missing when needed. Omit or send empty when none applied. |
| submissionId * | string | A fresh ULID for this report. Reuse the exact same value and request body to retry within 24 hours; a new value starts a new report. |
| taskCategory * | string | Which closed task category this gap happened in. Required. |
| abandonReason | string | Why the task was abandoned. Required only when outcome is abandoned. |
| guessedFields |
Append one immutable consideration, realized outcome, or work observation to the selected workspace. A receipt proves storage only. It does not verify source providers, inspected card truth, profit, or completed work.
| Parameter | Type | Description |
|---|---|---|
| context | ref | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| request * | any | The evidence envelope: a submissionId, occurredAt, a kind (realized_outcome, consideration or work_observation), and that kind's payload. Required. |
| workspaceId * | string | The workspace to append this evidence to. Required. |
{
"name": "spellbook_customer_evidence_record",
"description": "Append one immutable consideration, realized outcome, or work observation to the selected workspace. A receipt proves storage only. It does not verify source providers, inspected card truth, profit, or completed work.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"required": [
"submissionId",
"occurredAt",
"kind",
"payload"
],
"properties": {
"kind": {
"type": "string",
"const": "realized_outcome"
},
"payload": {
"type": "object",
"required": [
"parentReceiptId",
"candidateId",
"stage",
"provenance",
"summary",
"purchasedAt",
"receivedAt",
"soldAt",
"settledAt",
"quantityPurchased",
"quantityReceived",
"quantitySold",
"quantityWrittenOff",
"receivedDescription",
"paidUsd",
"refundUsd",
"saleGrossUsd",
"exitFeesUsd",
"exitShippingUsd",
"orderReference",
"benchmark"
],
"properties": {
"stage": {
"$ref": "#/$defs/__schema5"
},
"soldAt": {
"$ref": "#/$defs/__schema11"
},
"paidUsd": {
"$ref": "#/$defs/__schema17"
},
"summary": {
"$ref": "#/$defs/__schema7"
},
"benchmark": {
"$ref": "#/$defs/__schema22"
},
"refundUsd": {
"$ref": "#/$defs/__schema17"
},
"settledAt": {
"$ref": "#/$defs/__schema12"
},
"provenance": {
"$ref": "#/$defs/__schema6"
},
"receivedAt": {
"$ref": "#/$defs/__schema10"
},
"candidateId": {
"$ref": "#/$defs/__schema4"
},
"exitFeesUsd": {
"$ref": "#/$defs/__schema19"
},
"purchasedAt": {
"$ref": "#/$defs/__schema8"
},
"quantitySold": {
"$ref": "#/$defs/__schema15"
},
"saleGrossUsd": {
"$ref": "#/$defs/__schema18"
},
"orderReference": {
"$ref": "#/$defs/__schema21"
},
"exitShippingUsd": {
"$ref": "#/$defs/__schema20"
},
"parentReceiptId": {
"$ref": "#/$defs/__schema3"
},
"quantityReceived": {
"$ref": "#/$defs/__schema14"
},
"quantityPurchased": {
"$ref": "#/$defs/__schema13"
},
"quantityWrittenOff": {
"$ref": "#/$defs/__schema16"
},
"receivedDescription": {
"$ref": "#/$defs/__schema7"
}
},
"additionalProperties": false
},
"occurredAt": {
"$ref": "#/$defs/__schema2"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
}
},
"additionalProperties": false
},
"__schema1": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$"
},
"__schema2": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"__schema3": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "The parent consideration's receiptId from the record response, or the submissionId you chose when recording it. Either one resolves the same receipt inside the workspace; the stored link is always the receiptId. Required."
},
"__schema4": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"__schema5": {
"enum": [
"purchased",
"received",
"closed",
"abandoned"
],
"type": "string"
},
"__schema6": {
"enum": [
"customer_reported",
"agent_observed"
],
"type": "string"
},
"__schema7": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"__schema8": {
"anyOf": [
{
"$ref": "#/$defs/__schema9"
},
{
"type": "null"
}
]
},
"__schema9": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"__schema10": {
"anyOf": [
{
"$ref": "#/$defs/__schema9"
},
{
"type": "null"
}
]
},
"__schema11": {
"anyOf": [
{
"$ref": "#/$defs/__schema9"
},
{
"type": "null"
}
]
},
"__schema12": {
"anyOf": [
{
"$ref": "#/$defs/__schema9"
},
{
"type": "null"
}
]
},
"__schema13": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"__schema14": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"__schema15": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"__schema16": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"__schema17": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.01
},
"__schema18": {
"anyOf": [
{
"$ref": "#/$defs/__schema17"
},
{
"type": "null"
}
]
},
"__schema19": {
"anyOf": [
{
"$ref": "#/$defs/__schema17"
},
{
"type": "null"
}
]
},
"__schema20": {
"anyOf": [
{
"$ref": "#/$defs/__schema17"
},
{
"type": "null"
}
]
},
"__schema21": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 1
},
{
"type": "null"
}
]
},
"__schema22": {
"anyOf": [
{
"$ref": "#/$defs/__schema23"
},
{
"type": "null"
}
]
},
"__schema23": {
"type": "object",
"required": [
"method",
"marks"
],
"properties": {
"marks": {
"$ref": "#/$defs/__schema25"
},
"method": {
"$ref": "#/$defs/__schema24"
}
},
"additionalProperties": false
},
"__schema24": {
"type": "string",
"const": "equal_weight_fixed_printing_basket"
},
"__schema25": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema26"
},
"maxItems": 200,
"minItems": 1
},
"__schema26": {
"type": "object",
"required": [
"id",
"priceUsd",
"observedAt",
"source"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"source": {
"$ref": "#/$defs/__schema7"
},
"priceUsd": {
"$ref": "#/$defs/__schema27"
},
"observedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"__schema27": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"multipleOf": 0.01
},
"__schema28": {
"type": "object",
"required": [
"submissionId",
"occurredAt",
"kind",
"payload"
],
"properties": {
"kind": {
"type": "string",
"const": "consideration"
},
"payload": {
"type": "object",
"required": [
"preferences",
"coverage",
"sources",
"resources",
"candidates"
],
"properties": {
"sources": {
"$ref": "#/$defs/__schema37"
},
"coverage": {
"$ref": "#/$defs/__schema35"
},
"benchmark": {
"$ref": "#/$defs/__schema29"
},
"resources": {
"$ref": "#/$defs/__schema40"
},
"candidates": {
"$ref": "#/$defs/__schema45"
},
"preferences": {
"$ref": "#/$defs/__schema30"
}
},
"additionalProperties": false
},
"occurredAt": {
"$ref": "#/$defs/__schema2"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
}
},
"additionalProperties": false
},
"__schema29": {
"$ref": "#/$defs/__schema23"
},
"__schema30": {
"type": "object",
"required": [
"version",
"asOf",
"capitalBudgetUsd",
"maxActiveMinutesPerWeek",
"maxParcelsPerWeek",
"riskTolerance",
"notes"
],
"properties": {
"asOf": {
"$ref": "#/$defs/__schema2"
},
"notes": {
"$ref": "#/$defs/__schema34"
},
"version": {
"$ref": "#/$defs/__schema31"
},
"riskTolerance": {
"enum": [
"low",
"medium",
"high",
"unknown"
],
"type": "string"
},
"capitalBudgetUsd": {
"$ref": "#/$defs/__schema32"
},
"maxParcelsPerWeek": {
"$ref": "#/$defs/__schema33"
},
"maxActiveMinutesPerWeek": {
"$ref": "#/$defs/__schema33"
}
},
"additionalProperties": false
},
"__schema31": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"__schema32": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"__schema33": {
"anyOf": [
{
"type": "integer",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"__schema34": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"__schema35": {
"type": "object",
"required": [
"kind",
"searched",
"limitations"
],
"properties": {
"kind": {
"type": "string",
"const": "agent_observed"
},
"searched": {
"$ref": "#/$defs/__schema36"
},
"limitations": {
"$ref": "#/$defs/__schema36"
}
},
"additionalProperties": false
},
"__schema36": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema34"
},
"maxItems": 25
},
"__schema37": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema38"
},
"maxItems": 20
},
"__schema38": {
"type": "object",
"required": [
"id",
"source",
"observedAt"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema31"
},
"source": {
"$ref": "#/$defs/__schema34"
},
"observedAt": {
"$ref": "#/$defs/__schema2"
},
"snapshotId": {
"$ref": "#/$defs/__schema39"
}
},
"additionalProperties": false
},
"__schema39": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"__schema40": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema41"
},
"maxItems": 20
},
"__schema41": {
"type": "object",
"required": [
"id",
"kind",
"capacity",
"unit"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema31"
},
"kind": {
"$ref": "#/$defs/__schema42"
},
"unit": {
"$ref": "#/$defs/__schema43"
},
"capacity": {
"$ref": "#/$defs/__schema32"
},
"sourceId": {
"$ref": "#/$defs/__schema44"
}
},
"additionalProperties": false
},
"__schema42": {
"enum": [
"capital",
"stock"
],
"type": "string"
},
"__schema43": {
"enum": [
"usd",
"units"
],
"type": "string"
},
"__schema44": {
"$ref": "#/$defs/__schema31"
},
"__schema45": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema46"
},
"maxItems": 20,
"minItems": 1
},
"__schema46": {
"type": "object",
"required": [
"id",
"label",
"status",
"rationale",
"sourceIds",
"exclusiveGroupIds",
"resourceUses",
"effort",
"risk",
"holdingDays",
"economics",
"unknowns",
"actualRecordRefs"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema31"
},
"risk": {
"type": "object",
"required": [
"condition",
"price",
"liquidity",
"basis"
],
"properties": {
"basis": {
"$ref": "#/$defs/__schema34"
},
"price": {
"enum": [
"low",
"medium",
"high",
"unknown"
],
"type": "string"
},
"condition": {
"enum": [
"low",
"medium",
"high",
"unknown"
],
"type": "string"
},
"liquidity": {
"enum": [
"low",
"medium",
"high",
"unknown"
],
"type": "string"
}
},
"additionalProperties": false
},
"label": {
"$ref": "#/$defs/__schema34"
},
"effort": {
"type": "object",
"required": [
"activeMinutes",
"parcels",
"cardsHandled",
"basis"
],
"properties": {
"basis": {
"$ref": "#/$defs/__schema34"
},
"parcels": {
"$ref": "#/$defs/__schema33"
},
"cardsHandled": {
"$ref": "#/$defs/__schema33"
},
"activeMinutes": {
"$ref": "#/$defs/__schema33"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"chosen",
"declined",
"unknown"
],
"type": "string"
},
"unknowns": {
"$ref": "#/$defs/__schema36"
},
"buyTarget": {
"type": "object",
"required": [
"id",
"label",
"scryfallId",
"tcgProductId",
"finish",
"condition",
"language",
"buy",
"exit",
"expectedNetUsd",
"status",
"reasons",
"thesisKillers",
"stopRules",
"thin"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema7"
},
"buy": {
"type": "object",
"required": [
"venue",
"sellerName",
"listingId",
"url",
"unitPriceUsd",
"shippingPerOrderUsd",
"allInUnitUsd",
"availableQuantity",
"priceCeilingUsd",
"allInCeilingUsd",
"quantity",
"quantityCap",
"freshness"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"venue": {
"type": "string",
"const": "tcgplayer"
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"freshness": {
"$ref": "#/$defs/__schema47"
},
"listingId": {
"anyOf": [
{
"$ref": "#/$defs/__schema7"
},
{
"type": "null"
}
]
},
"sellerName": {
"anyOf": [
{
"$ref": "#/$defs/__schema7"
},
{
"type": "null"
}
]
},
"quantityCap": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"allInUnitUsd": {
"$ref": "#/$defs/__schema27"
},
"unitPriceUsd": {
"$ref": "#/$defs/__schema27"
},
"allInCeilingUsd": {
"$ref": "#/$defs/__schema27"
},
"priceCeilingUsd": {
"$ref": "#/$defs/__schema27"
},
"availableQuantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"shippingPerOrderUsd": {
"$ref": "#/$defs/__schema27"
}
},
"additionalProperties": false
},
"exit": {
"type": "object",
"required": [
"venue",
"url",
"productName",
"gradeScenario",
"expectedUnitUsd",
"nmUnitUsd",
"exUnitUsd",
"feesAndDeliveryPerUnitUsd",
"expectedNetUnitUsd",
"quantityBuying",
"source",
"freshness"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"venue": {
"type": "string",
"const": "cardkingdom"
},
"source": {
"$ref": "#/$defs/__schema7"
},
"exUnitUsd": {
"$ref": "#/$defs/__schema27"
},
"freshness": {
"$ref": "#/$defs/__schema47"
},
"nmUnitUsd": {
"$ref": "#/$defs/__schema27"
},
"productName": {
"$ref": "#/$defs/__schema7"
},
"gradeScenario": {
"enum": [
"NM",
"EX"
],
"type": "string"
},
"quantityBuying": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"expectedUnitUsd": {
"$ref": "#/$defs/__schema27"
},
"expectedNetUnitUsd": {
"type": "number"
},
"feesAndDeliveryPerUnitUsd": {
"$ref": "#/$defs/__schema27"
}
},
"additionalProperties": false
},
"name": {
"$ref": "#/$defs/__schema7"
},
"thin": {
"type": "boolean"
},
"label": {
"$ref": "#/$defs/__schema7"
},
"finish": {
"$ref": "#/$defs/__schema7"
},
"status": {
"enum": [
"candidate",
"rejected"
],
"type": "string"
},
"reasons": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema7"
}
},
"setCode": {
"$ref": "#/$defs/__schema7"
},
"setName": {
"$ref": "#/$defs/__schema7"
},
"language": {
"type": "string",
"const": "English"
},
"condition": {
"type": "string",
"const": "NM"
},
"stopRules": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema7"
}
},
"scryfallId": {
"$ref": "#/$defs/__schema7"
},
"tcgProductId": {
"$ref": "#/$defs/__schema7"
},
"thesisKillers": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema7"
}
},
"expectedNetUsd": {
"type": "number"
},
"collectorNumber": {
"anyOf": [
{
"$ref": "#/$defs/__schema7"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"economics": {
"type": "object",
"required": [
"cashOutUsd",
"cashInUsd",
"creditSpentUsd",
"creditReceivedUsd",
"inventoryMarketUsd",
"basis"
],
"properties": {
"basis": {
"enum": [
"quote",
"estimate",
"unknown"
],
"type": "string"
},
"cashInUsd": {
"$ref": "#/$defs/__schema32"
},
"cashOutUsd": {
"$ref": "#/$defs/__schema32"
},
"creditSpentUsd": {
"$ref": "#/$defs/__schema32"
},
"creditReceivedUsd": {
"$ref": "#/$defs/__schema32"
},
"inventoryMarketUsd": {
"$ref": "#/$defs/__schema32"
}
},
"additionalProperties": false
},
"rationale": {
"$ref": "#/$defs/__schema34"
},
"sourceIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema31"
},
"maxItems": 25
},
"holdingDays": {
"$ref": "#/$defs/__schema33"
},
"resourceUses": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema48"
},
"maxItems": 25
},
"actualRecordRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema49"
},
"maxItems": 25
},
"exclusiveGroupIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema31"
},
"maxItems": 25
}
},
"additionalProperties": false
},
"__schema47": {
"type": "object",
"required": [
"observedAt",
"ageHours"
],
"properties": {
"ageHours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"observedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"__schema48": {
"type": "object",
"required": [
"resourceId",
"amount"
],
"properties": {
"amount": {
"$ref": "#/$defs/__schema32"
},
"resourceId": {
"$ref": "#/$defs/__schema31"
}
},
"additionalProperties": false
},
"__schema49": {
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema39"
},
"kind": {
"enum": [
"acquisition",
"disposition",
"earnings"
],
"type": "string"
}
},
"additionalProperties": false
},
"__schema50": {
"type": "object",
"required": [
"submissionId",
"occurredAt",
"kind",
"payload"
],
"properties": {
"kind": {
"type": "string",
"const": "work_observation"
},
"payload": {
"type": "object",
"required": [
"itemIds",
"observation",
"provenance",
"summary",
"actualRecordRefs"
],
"properties": {
"binId": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"itemIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema39"
},
"maxItems": 25
},
"summary": {
"$ref": "#/$defs/__schema34"
},
"provenance": {
"enum": [
"customer_reported",
"agent_observed"
],
"type": "string"
},
"observation": {
"enum": [
"reported_done",
"placement_reported",
"api_save_failed",
"location_readback"
],
"type": "string"
},
"parentReceiptId": {
"$ref": "#/$defs/__schema1",
"description": "The parent consideration's receiptId from the record response, or the submissionId you chose when recording it. Either one resolves the same receipt inside the workspace; the stored link is always the receiptId. Omit when the work links to no consideration."
},
"actualRecordRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema49"
},
"maxItems": 25
}
},
"additionalProperties": false
},
"occurredAt": {
"$ref": "#/$defs/__schema2"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
}
},
"additionalProperties": false
},
"__schema51": {
"type": "string",
"maxLength": 512
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"request"
],
"properties": {
"context": {
"$ref": "#/$defs/__schema51",
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"request": {
"oneOf": [
{
"$ref": "#/$defs/__schema0"
},
{
"$ref": "#/$defs/__schema28"
},
{
"$ref": "#/$defs/__schema50"
}
],
"description": "The evidence envelope: a submissionId, occurredAt, a kind (realized_outcome, consideration or work_observation), and that kind's payload. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to append this evidence to. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record evidence",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one private immutable evidence receipt from the selected workspace. Returned observations and source fields remain submitted evidence.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| receiptId * | string | The receipt's receiptId from the record response, or the submissionId you chose when recording it. Either one resolves the same receipt inside the workspace. Required. |
| workspaceId * | string | The workspace the receipt belongs to. Required. |
{
"name": "spellbook_customer_evidence_get",
"description": "Read one private immutable evidence receipt from the selected workspace. Returned observations and source fields remain submitted evidence.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"receiptId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"receiptId": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "The receipt's receiptId from the record response, or the submissionId you chose when recording it. Either one resolves the same receipt inside the workspace. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the receipt belongs to. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one evidence receipt",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List a bounded page of private evidence receipts from the selected workspace, optionally filtered by receipt kind, parent, or item ID.
| Parameter | Type | Description |
|---|---|---|
| kind | string | Restrict the list to one receipt kind. Omit to include every kind. |
| limit | integer | Maximum receipts to return, 1 to 50. Omit for the default of 20. |
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| itemId | string | Restrict the list to receipts referencing this exact item id. Omit for no item filter. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to list receipts from. Required. |
| parentReceiptId | string | Restrict the list to receipts linked to this parent receipt's receiptId from the record response. Omit for no parent filter. |
{
"name": "spellbook_customer_evidence_list",
"description": "List a bounded page of private evidence receipts from the selected workspace, optionally filtered by receipt kind, parent, or item ID.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"kind": {
"enum": [
"consideration",
"work_observation",
"realized_outcome"
],
"type": "string",
"description": "Restrict the list to one receipt kind. Omit to include every kind."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum receipts to return, 1 to 50. Omit for the default of 20."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"itemId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Restrict the list to receipts referencing this exact item id. Omit for no item filter."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to list receipts from. Required."
},
"parentReceiptId": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "Restrict the list to receipts linked to this parent receipt's receiptId from the record response. Omit for no parent filter."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List evidence receipts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one persistent collection purchase's intake counts, pending import blockers, retained intake valuation, exact-item sale/refund observations and paged immutable history. Market value is separate from realized proceeds. Missing selling costs keep net earnings unknown.
| Parameter | Type | Description |
|---|---|---|
| view | string | Summary/history, exact units with locations/listings, original batch outcomes, source timeline, or read-only historical_import eligibility/current-basis preview. |
| after | string | History cursor from the previous page. |
| limit | integer | Maximum history rows; defaults to 50. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Owner workspace. |
| intakeBatchId | string | Original saved session ID; required for historical_import preview, optional exact batch filter for units. |
| collectionDealId * | string | Persistent purchase dealId. |
Bind an explicitly identified fresh rescan to existing intakeUnitIds without adding stock, finish or reopen intake, record a reported extra cost, preserve a dated snapshot of original intake quotes with quote dates/coverage separate from recorded time, reconcile an original pending import's exact item IDs, or remove_units that joined an open deal by mistake. Reuse the same submissionId and payload after an uncertain response. Finishing requires complete disjoint physical accounting and zero pending imports.
| Parameter | Type | Description |
|---|---|---|
| command * | any | Versioned intake command; retry the same submission and payload after an uncertain result. |
| context | ref | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | Owner workspace. |
{
"name": "spellbook_collection_intake_record",
"description": "Bind an explicitly identified fresh rescan to existing intakeUnitIds without adding stock, finish or reopen intake, record a reported extra cost, preserve a dated snapshot of original intake quotes with quote dates/coverage separate from recorded time, reconcile an original pending import's exact item IDs, or remove_units that joined an open deal by mistake. Reuse the same submissionId and payload after an uncertain response. Finishing requires complete disjoint physical accounting and zero pending imports.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"intakeBatchId",
"scanItemId",
"intakeUnitIds",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "rescan"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"scanItemId": {
"$ref": "#/$defs/__schema1"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"intakeBatchId": {
"$ref": "#/$defs/__schema1"
},
"intakeUnitIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema1"
},
"maxItems": 5000,
"minItems": 1
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema1": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"__schema2": {
"$ref": "#/$defs/__schema3",
"minimum": 1
},
"__schema3": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"__schema4": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"__schema5": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"intakeUnitIds",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "remove_units"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"intakeUnitIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema1"
},
"maxItems": 1000,
"minItems": 1
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema6": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"intakeBatchId",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "attach_import"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"intakeBatchId": {
"$ref": "#/$defs/__schema1"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema7": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"physicalCount",
"containersChecked",
"partitionsDisjoint",
"bulk",
"held",
"excluded",
"evidence"
],
"properties": {
"bulk": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema8"
},
"maxItems": 50
},
"held": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema8"
},
"maxItems": 50
},
"kind": {
"type": "string",
"const": "finish"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"excluded": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema8"
},
"maxItems": 50
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"physicalCount": {
"$ref": "#/$defs/__schema3"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
},
"containersChecked": {
"type": "boolean",
"const": true
},
"partitionsDisjoint": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
"__schema8": {
"type": "object",
"required": [
"quantity",
"location"
],
"properties": {
"location": {
"$ref": "#/$defs/__schema4"
},
"quantity": {
"$ref": "#/$defs/__schema3"
}
},
"additionalProperties": false
},
"__schema9": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "reopen"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema10": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"amountCents",
"currency",
"occurredAt",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "extra_cost"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"amountCents": {
"type": "integer",
"maximum": 1000000000,
"minimum": 0
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema11": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"evidence"
],
"properties": {
"kind": {
"type": "string",
"const": "valuation"
},
"evidence": {
"$ref": "#/$defs/__schema4"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema12": {
"type": "object",
"required": [
"submissionId",
"collectionDealId",
"expectedRevision",
"kind",
"intakeBatchId"
],
"properties": {
"kind": {
"type": "string",
"const": "reconcile"
},
"submissionId": {
"$ref": "#/$defs/__schema1"
},
"intakeBatchId": {
"$ref": "#/$defs/__schema1"
},
"collectionDealId": {
"$ref": "#/$defs/__schema1"
},
"expectedRevision": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema13": {
"type": "string",
"maxLength": 512
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"command"
],
"properties": {
"command": {
"oneOf": [
{
"$ref": "#/$defs/__schema0"
},
{
"$ref": "#/$defs/__schema5"
},
{
"$ref": "#/$defs/__schema6"
},
{
"$ref": "#/$defs/__schema7"
},
{
"$ref": "#/$defs/__schema9"
},
{
"$ref": "#/$defs/__schema10"
},
{
"$ref": "#/$defs/__schema11"
},
{
"$ref": "#/$defs/__schema12"
}
],
"description": "Versioned intake command; retry the same submission and payload after an uncertain result."
},
"context": {
"$ref": "#/$defs/__schema13",
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Owner workspace."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record collection intake evidence",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Record an already-bought collection with kind purchase and an unknown expectedQuantity, a seller-agreed collection deal, or a later receipt, count correction, evaluation, seller response, reported payment/refund, return/title disposition, dispute, closure, or evidence-backed reopening. Read spellbook_skill(name: collection-buying) first. A submission is an immutable, owner-scoped receipt; retry its exact submissionId and payload after an uncertain result. It records evidence only: it does not contact a seller, send money, verify a reported payment, transfer title, receive inventory, or publish cards.
Schema too large to show here (28,487 characters).
{
"name": "spellbook_collection_buying_record",
"description": "Record an already-bought collection with kind purchase and an unknown expectedQuantity, a seller-agreed collection deal, or a later receipt, count correction, evaluation, seller response, reported payment/refund, return/title disposition, dispute, closure, or evidence-backed reopening. Read spellbook_skill(name: collection-buying) first. A submission is an immutable, owner-scoped receipt; retry its exact submissionId and payload after an uncertain result. It records evidence only: it does not contact a seller, send money, verify a reported payment, transfer title, receive inventory, or publish cards.",
"inputSchema": {
"truncated": true,
"chars": 28487
},
"annotations": {
"title": "Record collection purchase evidence",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the current snapshot or one immutable revision of a collection deal owned by the selected workspace. The response includes the selected revision's command and receiptId so submitted terms and corrections can be audited. Read the collection-buying skill before interpreting lifecycle state.
| Parameter | Type | Description |
|---|---|---|
| dealId * | string | Exact dealId from a record or list response. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| revision | integer | One immutable revision number. Omit for the latest snapshot. |
| workspaceId * | string | The seller-owned workspace. Required. |
{
"name": "spellbook_collection_buying_get",
"description": "Read the current snapshot or one immutable revision of a collection deal owned by the selected workspace. The response includes the selected revision's command and receiptId so submitted terms and corrections can be audited. Read the collection-buying skill before interpreting lifecycle state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"dealId"
],
"properties": {
"dealId": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "Exact dealId from a record or list response. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"revision": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "One immutable revision number. Omit for the latest snapshot."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller-owned workspace. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a collection deal",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List a bounded page of collection deals in the selected seller workspace. Follow nextCursor to enumerate the full set, then read a deal for its latest or historical revision and source command.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum deals on this page, 1 to 50. Omit for the default of 20. |
| cursor | string | Opaque nextCursor from the previous page. Pass unchanged to continue; omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The seller-owned workspace. Required. |
{
"name": "spellbook_collection_buying_list",
"description": "List a bounded page of collection deals in the selected seller workspace. Follow nextCursor to enumerate the full set, then read a deal for its latest or historical revision and source command.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum deals on this page, 1 to 50. Omit for the default of 20."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque nextCursor from the previous page. Pass unchanged to continue; omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller-owned workspace. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List collection deals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one private page of existing physical Items matching an exact acquisition source, exact bins, or printing, finish and condition groups. Coordinate filters narrow source or group results. Each Item carries scanPlacement, its approximate position in its scanned bin as ordinal of total, or null when it was never scanned there.
| Parameter | Type | Description |
|---|---|---|
| bins | array | Restrict results to these exact bin names, up to 25. Omit to search every bin. |
| limit | integer | Maximum Items to return, 1 to 1000. Omit for the default of 20. |
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| groups | array | Restrict results to these exact printing, finish and condition groups, up to 25. Omit to skip this filter. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read Items from. Required. |
| acquisitionSource | string | Restrict results to one exact acquisition source, such as a bulk-import ID. Combine with bins or groups to narrow it further. |
Read a bounded below-floor discovery summary or one section page with member stages, scheduled minimums, canonical pricing targets, observed asks and source freshness, admission-selection facts, sales facts, and restoration status. Call it to inspect a seller workspace's configured discovery lane or follow a returned cursor. Member admissionSelection explains the factual automatic or manual choice already saved; this tool does not return a ranked recommendation queue. Observed asks are sampled listings, not continuous exposure or evidence of demand; scheduled minimum, canonical target, observed ask, and sold item price are separate facts. Use spellbook_below_floor_discovery_set with dryRun true to preview a requested change, then read this tool again after an apply.
| Parameter | Type | Description |
|---|---|---|
| game | string | Restrict the read to one game. Only combinations supported by the seller lane are accepted. |
| limit | integer | Maximum rows returned on this page, within the bounded API page size. |
| cursor | string | Opaque nextCursor from the same section and workspace. Pass it unchanged to continue. |
| channel | string | Restrict the read to one marketplace channel. Only combinations supported by the selected game are accepted. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| section | string | The bounded response section. Start with summary; use a named section to inspect members and pass its nextCursor to continue. |
Preview below-floor settings, membership or shutoff before applying. The default dry run shows exact entries, exits, rejections and restoration. Stop after preview unless the owner authorized saving. To apply a matching preview, send dryRun false with the same opaque expectedRevisionToken, previewId and change. After a stale response, read current state and obtain approval for a fresh preview. Read back settings and restoration after apply.
| Parameter | Type | Description |
|---|---|---|
| change * | any | Exact configuration, membership or off change to preview. Never substitute an unreviewed change during apply. |
| dryRun | boolean | True to create a non-mutating preview. False applies only the exact previously approved preview. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| previewId | string | The exact previewId returned by the preview being approved. Required when dryRun is false. |
| workspaceId * | string | The seller workspace to configure. Required. |
| expectedRevisionToken * | string | The opaque revisionToken from the latest GET response or the preview's baseRevisionToken. Preserve the exact string. |
Read a workspace page of recorded sales with card identity, recorded marketplace and order reference, sale-time bin, gross price, refunds and source clocks. Use it to inspect saved sales after inventory or sale activity. Follow nextCursor for more recorded history; use current pull work to inspect packing tasks.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum sale projections on this page. Omit for the default page size. |
| cursor | string | Opaque nextCursor from this workspace's previous page. Pass unchanged; omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace from workspaces discovery whose recorded sales to read. Required. |
{
"name": "spellbook_sales_history",
"description": "Read a workspace page of recorded sales with card identity, recorded marketplace and order reference, sale-time bin, gross price, refunds and source clocks. Use it to inspect saved sales after inventory or sale activity. Follow nextCursor for more recorded history; use current pull work to inspect packing tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum sale projections on this page. Omit for the default page size."
},
"cursor": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 2000,
"minLength": 1,
"description": "Opaque nextCursor from this workspace's previous page. Pass unchanged; omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace from workspaces discovery whose recorded sales to read. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read recorded sales",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read recorded channel state, asks and saved timestamps for exact inventory copies after a listing or sync action. Returns missing evidence alongside saved facts. A saved live row does not establish completion of a new write. Use the returned job's status tool to check that job's completion.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds * | array | Exact physical Item IDs from inventory discovery or a listing/sync result. Required; at most 100 IDs and 6,000 URI-encoded selector characters. Send smaller batches when needed. |
| workspaceId * | string | The workspace that owns the inventory copies. Required. |
{
"name": "spellbook_inventory_channel_state",
"description": "Read recorded channel state, asks and saved timestamps for exact inventory copies after a listing or sync action. Returns missing evidence alongside saved facts. A saved live row does not establish completion of a new write. Use the returned job's status tool to check that job's completion.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemIds"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Exact physical Item IDs from inventory discovery or a listing/sync result. Required; at most 100 IDs and 6,000 URI-encoded selector characters. Send smaller batches when needed."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the inventory copies. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read recorded channel state",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one page of what a seller's own workspace holds, aggregated to one row per printing, finish and condition. Each row carries card name, set code, collector number, variant label, quantity owned, quantity available, the current unit market price and the resolved minimum-sell floor with the tier that produced it. Call this to answer what is in the collection, what it is worth, what is already listed versus still available, and which rows sit near their floor. It reports holdings; it does not rank them, pick what to sell, or state a listing's live marketplace status.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum rows to return, 1 to 500. Omit for the default of 100. |
| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace to read holdings for. Required. |
{
"name": "spellbook_inventory_holdings",
"description": "Read one page of what a seller's own workspace holds, aggregated to one row per printing, finish and condition. Each row carries card name, set code, collector number, variant label, quantity owned, quantity available, the current unit market price and the resolved minimum-sell floor with the tier that produced it. Call this to answer what is in the collection, what it is worth, what is already listed versus still available, and which rows sit near their floor. It reports holdings; it does not rank them, pick what to sell, or state a listing's live marketplace status.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 500,
"minimum": 1,
"description": "Maximum rows to return, 1 to 500. Omit for the default of 100."
},
"cursor": {
"type": "string",
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read holdings for. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your holdings",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a connected TCGplayer or ManaPool account's saved scope, managed-copy usage, effective soft allowance, selected-policy key count, and server-reported legacy full-account restore eligibility. Usage includes baseUnitAllowance, referralBonusUnits, nominalUnitAllowance, headroom, and overCap.
| Parameter | Type | Description |
|---|---|---|
| channel * | string | The connected seller channel. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The seller workspace to read. Required. |
| candidateIds | array | At most 100 candidate IDs from existing SpellBook listing rows. Omit to read account scope and counts only. |
{
"name": "spellbook_inventory_management_get",
"description": "Read a connected TCGplayer or ManaPool account's saved scope, managed-copy usage, effective soft allowance, selected-policy key count, and server-reported legacy full-account restore eligibility. Usage includes baseUnitAllowance, referralBonusUnits, nominalUnitAllowance, headroom, and overCap.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"channel"
],
"properties": {
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "The connected seller channel. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace to read. Required."
},
"candidateIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 100,
"description": "At most 100 candidate IDs from existing SpellBook listing rows. Omit to read account scope and counts only."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read managed listing scope",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Change one seller-owned channel's saved listing scope. Read spellbook_inventory_management_get first. Switching legacy all mode to selected mode clears management for all current listings. On an eligible backfilled account, restore_legacy_all explicitly manages every current and future listing on that connected seller account; saved automation settings remain unchanged. In selected mode, use a named candidateId from current SpellBook Finance rows to manage or stop managing a complete listing. Stopping management leaves its live listing and order history intact. These actions save permission for existing automation and do not enable automation or publish a listing. Usage includes baseUnitAllowance, referralBonusUnits, nominalUnitAllowance, headroom, and overCap.
No parameters.
{
"name": "spellbook_inventory_management_set",
"description": "Change one seller-owned channel's saved listing scope. Read spellbook_inventory_management_get first. Switching legacy all mode to selected mode clears management for all current listings. On an eligible backfilled account, restore_legacy_all explicitly manages every current and future listing on that connected seller account; saved automation settings remain unchanged. In selected mode, use a named candidateId from current SpellBook Finance rows to manage or stop managing a complete listing. Stopping management leaves its live listing and order history intact. These actions save permission for existing automation and do not enable automation or publish a listing. Usage includes baseUnitAllowance, referralBonusUnits, nominalUnitAllowance, headroom, and overCap.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"$ref": "#/$defs/__schema1",
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"__schema1": {
"type": "string",
"maxLength": 512
}
},
"oneOf": [
{
"type": "object",
"required": [
"workspaceId",
"channel",
"action",
"expectedRevision"
],
"properties": {
"action": {
"type": "string",
"const": "switch_to_selected"
},
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "The connected seller channel. Required."
},
"context": {
"$ref": "#/$defs/__schema0"
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace. Required."
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "The revision returned by the latest scope read. Required."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"workspaceId",
"channel",
"action",
"expectedRevision"
],
"properties": {
"action": {
"type": "string",
"const": "restore_legacy_all",
"description": "Restore every current and future listing only when spellbook_inventory_management_get reports legacyAllEligible true. Required."
},
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "The connected seller channel. Required."
},
"context": {
"$ref": "#/$defs/__schema0"
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace. Required."
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "The revision returned by the latest scope read. Required."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"workspaceId",
"channel",
"action",
"candidateId",
"managed",
"expectedRevision"
],
"properties": {
"action": {
"type": "string",
"const": "set_candidate"
},
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "The connected seller channel. Required."
},
"context": {
"$ref": "#/$defs/__schema0"
},
"managed": {
"type": "boolean",
"description": "True to manage all copies of this listing; false to stop managing it. Required."
},
"candidateId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "One exact candidateId returned by spellbook_inventory_management_get for a current existing row. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace. Required."
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "The revision returned by the latest scope read. Required."
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"annotations": {
"title": "Set managed listing scope",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read one workspace's saved giveaway config. targetMeanUsd is a budget on the band-midpoint estimate of the tier table, not the average value of the cards given. The top band's maxUsd must reach maxDrawUsd for cards near maxDrawUsd to be drawable. targetMeanUsd must stay below the per-channel marketplace price floor, or every roll refuses with target_not_below_ceiling.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | From spellbook_workspaces_list. |
{
"name": "spellbook_giveaway_config_get",
"description": "Read one workspace's saved giveaway config. targetMeanUsd is a budget on the band-midpoint estimate of the tier table, not the average value of the cards given. The top band's maxUsd must reach maxDrawUsd for cards near maxDrawUsd to be drawable. targetMeanUsd must stay below the per-channel marketplace price floor, or every roll refuses with target_not_below_ceiling.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "From spellbook_workspaces_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read giveaway config",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace one workspace's saved giveaway config. Resend every field. targetMeanUsd is a budget on the band-midpoint estimate of the tier table, not the average value of the cards given. The top band's maxUsd must reach maxDrawUsd for cards near maxDrawUsd to be drawable. targetMeanUsd must stay below the per-channel marketplace price floor, or every roll refuses with target_not_below_ceiling.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| channels * | object | On or off per channel. |
| tierTable * | array | Cheapest first, no gaps. |
| maxDrawUsd * | any | USD, at most 50, or null. |
| algoVersion * | any | Or null. |
| workspaceId * | string | Workspace the caller owns. |
| targetMeanUsd * | any | USD or null. |
| fillWindowCents * | integer |
Read a seller's sealed boxes, packs and cases, with quantity, cost basis, market price, heldQuantity, openIntentQuantity, acquisitionSource and workspaceId for each purchase entry. Call this to reconcile physical sealed stock before listing or opening it. Recovered components can have unknown allocated cost basis and an approximate recovery date. A hold differs from an actual opening; call spellbook_sealed_portfolio_hold_set to correct a holding mark.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose sealed positions to read, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_sealed_portfolio",
"description": "Read a seller's sealed boxes, packs and cases, with quantity, cost basis, market price, heldQuantity, openIntentQuantity, acquisitionSource and workspaceId for each purchase entry. Call this to reconcile physical sealed stock before listing or opening it. Recovered components can have unknown allocated cost basis and an approximate recovery date. A hold differs from an actual opening; call spellbook_sealed_portfolio_hold_set to correct a holding mark.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose sealed positions to read, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your sealed positions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Record one sealed acquisition the customer has already made, so the buy can be scored later against what it cost. Names the catalog boxId, the quantity, the unit price paid as a decimal string, and the acquisition date. Use it after a seller buys a box, pack or case found through spellbook_sealed_deal_board. It records a purchase that happened; it never buys anything and moves no money.
| Parameter | Type | Description |
|---|---|---|
| boxId * | string | Exact sealed catalog product id, from spellbook_sealed_product_search or spellbook_sealed_deal_board. An id the catalog does not hold is refused. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| quantity * | integer | How many units of this product were bought. Required. |
| salesTaxUsd | string | Sales tax paid on the whole order in USD, as a decimal string. Optional. |
| workspaceId * | string | The workspace to record this sealed buy in, from spellbook_workspaces_list. Required. |
| acquisitionDate * | string | The date the buy happened, as YYYY-MM-DD. Required, and it sets which day's modeled EV the purchase is scored against. |
| acquisitionPrice * | string | Price paid PER UNIT in USD, as a decimal string such as "114.99". Not the order total. Required. |
Mark every still-sealed unit in one purchase entry as a long-term hold, or release that hold. A hold keeps physical inventory and market value but excludes those units from sealed listing. Read spellbook_sealed_portfolio before and after to check heldQuantity.
| Parameter | Type | Description |
|---|---|---|
| hold * | boolean | True excludes live units from listing; false makes them eligible again. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| entryId * | string | The exact purchase entryId from spellbook_sealed_portfolio, including the SEALED# prefix when present. Required. |
| workspaceId * | string | The workspace that owns the entry. Required. |
{
"name": "spellbook_sealed_portfolio_hold_set",
"description": "Mark every still-sealed unit in one purchase entry as a long-term hold, or release that hold. A hold keeps physical inventory and market value but excludes those units from sealed listing. Read spellbook_sealed_portfolio before and after to check heldQuantity.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"entryId",
"hold"
],
"properties": {
"hold": {
"type": "boolean",
"description": "True excludes live units from listing; false makes them eligible again. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"entryId": {
"type": "string",
"pattern": "^(?:[A-Za-z0-9_-]{1,64}|SEALED#[A-Za-z0-9_-]{1,64})$",
"description": "The exact purchase entryId from spellbook_sealed_portfolio, including the SEALED# prefix when present. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the entry. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set a sealed holding mark",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Clear the plan to open every still-sealed unit in one purchase entry. Call this when spellbook_sealed_portfolio shows openIntentQuantity for stock the seller intends to keep sealed; then read the portfolio again. This preserves the units and any holding mark.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| entryId * | string | The exact purchase entryId from spellbook_sealed_portfolio. Required. |
| workspaceId * | string | The workspace that owns the entry. Required. |
{
"name": "spellbook_sealed_portfolio_open_intent_clear",
"description": "Clear the plan to open every still-sealed unit in one purchase entry. Call this when spellbook_sealed_portfolio shows openIntentQuantity for stock the seller intends to keep sealed; then read the portfolio again. This preserves the units and any holding mark.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"entryId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"entryId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The exact purchase entryId from spellbook_sealed_portfolio. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the entry. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Clear a sealed opening plan",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Mark one incoming sealed display purchase entry as physically received after the seller confirms its arrival. Call spellbook_sealed_portfolio first to identify the incoming entry, then read it again to confirm its current state. A unit already opened remains opened. This preserves its holding mark and opening plan.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| entryId * | string | The exact incoming display entryId from spellbook_sealed_portfolio. Required. |
| workspaceId * | string | The workspace that owns the incoming entry. Required. |
{
"name": "spellbook_sealed_portfolio_receive",
"description": "Mark one incoming sealed display purchase entry as physically received after the seller confirms its arrival. Call spellbook_sealed_portfolio first to identify the incoming entry, then read it again to confirm its current state. A unit already opened remains opened. This preserves its holding mark and opening plan.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"entryId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"entryId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The exact incoming display entryId from spellbook_sealed_portfolio. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the incoming entry. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Receive a sealed display",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Record that an exact quantity of sealed boxes or packs has already been physically opened. Use the entryId from spellbook_sealed_portfolio and read the returned counts; the same entryId and quantity safely replay after a timeout. The historical opening date stays unknown, and recordedAt means when SpellBook recorded the status. No singles are created.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| entryId * | string | The exact sealed purchase entryId from spellbook_sealed_portfolio. Required. |
| quantity * | integer | Exact count of units already opened from this entry. Required. |
| workspaceId * | string | The workspace that owns the sealed entry. Required. |
{
"name": "spellbook_sealed_portfolio_open",
"description": "Record that an exact quantity of sealed boxes or packs has already been physically opened. Use the entryId from spellbook_sealed_portfolio and read the returned counts; the same entryId and quantity safely replay after a timeout. The historical opening date stays unknown, and recordedAt means when SpellBook recorded the status. No singles are created.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"entryId",
"quantity"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"entryId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The exact sealed purchase entryId from spellbook_sealed_portfolio. Required."
},
"quantity": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Exact count of units already opened from this entry. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the sealed entry. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Mark sealed units opened",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Record sealed packs recovered from already-opened products, without adding a new purchase or guessing their share of the parent product's cost. This bounded intake accepts the confirmed Aetherdrift Box Topper and Modern Horizons 3 Collector Booster Sample Pack products. It records zero incremental cash, keeps parent basis unallocated, marks recovery timing approximate, and returns persisted-row readback. Reuse requestId unchanged after a timeout.
| Parameter | Type | Description |
|---|---|---|
| hold * | boolean | True marks these units as held from listing; false leaves them unheld. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| quantity * | integer | How many recovered units to record: up to 11 for product 618698, or exactly 1 for product 579917. Required. |
| productId * | string | Exact TCG sealed pack product id: 618698 for Aetherdrift Box Topper, or 579917 for Modern Horizons 3 Collector Booster Sample Pack. Required. |
| requestId * | string | Stable idempotency key for this recovery entry. Reuse this exact value to retry. Required. |
| workspaceId * | string | The workspace to add recovered sealed components to. Required. |
Read a workspace's future sealed-purchase open or hold defaults. Call this before changing how extension-captured products are classified. These rows affect future captures only; spellbook_sealed_portfolio reports marks already on physical units.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose defaults to read. Required. |
{
"name": "spellbook_sealed_intent_defaults",
"description": "Read a workspace's future sealed-purchase open or hold defaults. Call this before changing how extension-captured products are classified. These rows affect future captures only; spellbook_sealed_portfolio reports marks already on physical units.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose defaults to read. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read sealed purchase defaults",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set a workspace rule for future extension-captured sealed purchases. An exact game and productType wins over wildcard rules. Read spellbook_sealed_intent_defaults before and after; existing units keep their current marks.
| Parameter | Type | Description |
|---|---|---|
| game * | string | The game to match, or * for every game. Required. |
| intent * | string | The capture intent: open or hold. This does not physically open or list stock. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| productType * | string | The sealed product type to match, or * for every type. Required. |
| workspaceId * | string | The workspace whose rule to set. Required. |
{
"name": "spellbook_sealed_intent_default_set",
"description": "Set a workspace rule for future extension-captured sealed purchases. An exact game and productType wins over wildcard rules. Read spellbook_sealed_intent_defaults before and after; existing units keep their current marks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"game",
"productType",
"intent"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"*"
],
"type": "string",
"description": "The game to match, or * for every game. Required."
},
"intent": {
"enum": [
"open",
"hold"
],
"type": "string",
"description": "The capture intent: open or hold. This does not physically open or list stock. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"productType": {
"enum": [
"box_set",
"booster_display",
"collector_box",
"commander_deck",
"theme_deck",
"planeswalker_deck",
"starter_kit",
"challenger_deck",
"precon",
"bundle",
"prerelease_kit",
"jumpstart",
"secret_lair",
"*"
],
"type": "string",
"description": "The sealed product type to match, or * for every type. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose rule to set. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set a sealed purchase default",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Record a sale of cards the seller's workspace holds that happened outside SpellBook's order intake, such as a local game store buy, an in-person trade, or a one-off marketplace sale SpellBook did not import. Names the exact printing, finish, condition, quantity and unit sale price. It marks that many copies sold, oldest first, closes the position so spellbook_inventory_holdings and spellbook_buy_outcome_report reflect it, and pulls those copies off every marketplace where they are still live. Returns the sold item ids and the holding after the sale.
| Parameter | Type | Description |
|---|---|---|
| qty * | integer | How many copies sold. Required. |
| note | string | A free-text note stored with the sale. Optional. |
| binId | string | Sell only copies from this bin. Omit to take the oldest copies from any bin. |
| finish * | string | The finish of the sold copies, matching the finish recorded in inventory. Pokemon supports nf (Normal/Unlimited), fo (Holofoil), rh (Reverse Holofoil), 1e (1st Edition) and 1e-fo (1st Edition Holofoil). Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| orderId * | string | A stable reference for this sale, such as the buyer's order number or a receipt number. Required. A second call with the same orderId for the same printing, finish and condition returns the first sale with replayed true and sells nothing. |
Read one bounded page of price alerts and buylist watches saved in a workspace, with each row's type, asset, direction and threshold when present, status, and trigger fields. Filter by status or alertType. Pass nextCursor back as cursor with the same filters to continue. It reports saved alerts and does not evaluate them or say whether a price would trigger one today.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum rows in this page. Defaults to 50 and cannot exceed 100. |
| cursor | string | Opaque nextCursor from the previous page. Keep workspaceId, status, alertType and limit unchanged. |
| status | string | Return only alerts in this status. Omit to include every status. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| alertType | string | Return only alerts of this type, such as buylist_watch. Omit to include every type. |
| workspaceId * | string | The workspace whose alerts to read, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_alerts_list",
"description": "Read one bounded page of price alerts and buylist watches saved in a workspace, with each row's type, asset, direction and threshold when present, status, and trigger fields. Filter by status or alertType. Pass nextCursor back as cursor with the same filters to continue. It reports saved alerts and does not evaluate them or say whether a price would trigger one today.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum rows in this page. Defaults to 50 and cannot exceed 100."
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "Opaque nextCursor from the previous page. Keep workspaceId, status, alertType and limit unchanged."
},
"status": {
"enum": [
"active",
"triggered",
"disabled"
],
"type": "string",
"description": "Return only alerts in this status. Omit to include every status."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"alertType": {
"enum": [
"price",
"metagame",
"supply_signal",
"eu_spread",
"buylist_spread",
"buylist_vs_cost_basis",
"spread_compression",
"restock",
"velocity",
"ebay_divergence",
"fair_value_divergence",
"delivery_dip",
"sealed_breakeven_positive",
"buylist_watch",
"sealed_retailer_price"
],
"type": "string",
"description": "Return only alerts of this type, such as buylist_watch. Omit to include every type."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose alerts to read, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List saved alerts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create one alert in a workspace and return the saved alert. alertType buylist_watch watches dealer buy offers for the whole inventory (buylistWatchScope inventory) or for one printing and finish (buylistWatchScope card); buylistWatchCondition crossed also needs direction and threshold in USD. Every other alertType watches one card or box and needs assetType, assetKey, assetName, isFoil, direction and threshold. Sending the same alert twice returns the first one with replayed true and creates nothing. Call spellbook_alerts_list first to see what exists.
| Parameter | Type | Description |
|---|---|---|
| finish | string | The finish to watch, matching the finish codes spellbook_printings_search returns. Required for a buylist_watch with scope card. |
| isFoil | boolean | Whether the watched card is foil. Required for every non-buylist_watch type. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| assetKey | string | The printing id for a card or the product id for a box. Required for every non-buylist_watch type. |
| alertType * | string | The kind of alert. buylist_watch watches dealer buy offers against inventory or one printing. Required. |
| assetName | string | A display name for the watched asset. Required for every non-buylist_watch type. Optional for buylist_watch. |
| assetType | string |
Delete one saved alert by exact alertId, taken from spellbook_alerts_list, and return success. The alert stops watching at once. Read the list first and confirm with the person which alert to remove, because this tool cannot restore it.
| Parameter | Type | Description |
|---|---|---|
| alertId * | string | The alertId of the alert to delete, from spellbook_alerts_list. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace the alert belongs to, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_alert_delete",
"description": "Delete one saved alert by exact alertId, taken from spellbook_alerts_list, and return success. The alert stops watching at once. Read the list first and confirm with the person which alert to remove, because this tool cannot restore it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"alertId"
],
"properties": {
"alertId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The alertId of the alert to delete, from spellbook_alerts_list. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the alert belongs to, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete an alert",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Read one page of a workspace's sellable inventory, one group per printing, finish and condition, with the per-unit net at each of seven destinations: Card Kingdom cash, Card Kingdom credit, Star City Games cash, ManaPool, TCGplayer, TCGplayer Direct and eBay. Each destination carries gross, fees, net, price source, observation time, vendor minimum, quantity the vendor is buying and a skip reason when it has no usable price. Pass nextCursor back to read the next page. It lists every destination in a fixed order and does not rank them, name a best one or say what to sell.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum groups to return, 1 to 500. Omit for the server default. |
| cursor | string | Opaque nextCursor from a previous page, passed back unchanged. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose inventory to compare, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_buylist_compare",
"description": "Read one page of a workspace's sellable inventory, one group per printing, finish and condition, with the per-unit net at each of seven destinations: Card Kingdom cash, Card Kingdom credit, Star City Games cash, ManaPool, TCGplayer, TCGplayer Direct and eBay. Each destination carries gross, fees, net, price source, observation time, vendor minimum, quantity the vendor is buying and a skip reason when it has no usable price. Pass nextCursor back to read the next page. It lists every destination in a fixed order and does not rank them, name a best one or say what to sell.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum groups to return, 1 to 500. Omit for the server default."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque nextCursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose inventory to compare, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Compare buylist and channel nets for inventory",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare Commander precons with stock, sealed price and singles value left without the top three. Follow nextAfterProductId to null across empty deck pages. Read buyer_orders once per workspace. Match its lowercase card and same-order counts to new and held cards within each orderPairGroups entry.
| Parameter | Type | Description |
|---|---|---|
| view | string | Paged deck facts or one workspace order summary. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| pageSize | integer | Maximum catalog decks examined per page. |
| workspaceId * | string | Workspace from spellbook_workspaces_list. |
| afterProductId | integer | Use nextAfterProductId from the preceding page. |
{
"name": "spellbook_inventory_precon_fit",
"description": "Compare Commander precons with stock, sealed price and singles value left without the top three. Follow nextAfterProductId to null across empty deck pages. Read buyer_orders once per workspace. Match its lowercase card and same-order counts to new and held cards within each orderPairGroups entry.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"view": {
"enum": [
"decks",
"buyer_orders"
],
"type": "string",
"default": "decks",
"description": "Paged deck facts or one workspace order summary."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"pageSize": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Maximum catalog decks examined per page."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace from spellbook_workspaces_list."
},
"afterProductId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Use nextAfterProductId from the preceding page.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Commander precon inventory fit",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one receipt for the cards a workspace holds: total copies, distinct printings, printings held two or more times, copies with a market price and their market USD total, copies and market USD in each value band, copies and market USD at one dollar and up, the market USD of the most valuable copies up to topUnitsCap, and the top rows by market value with card name, set, collector number, finish, condition, copies, unit market and the Intelligent Pricing TCGplayer ask when one was computed. Call it to answer what a collection holds and what it is worth in one read; it works for a free collection-only workspace and for a store. Call spellbook_inventory_holdings next for every row, or spellbook_buylist_compare for per-destination nets. It reports facts; it does not rank, score or pick what to sell.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace whose held cards to total, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_collection_receipt",
"description": "Read one receipt for the cards a workspace holds: total copies, distinct printings, printings held two or more times, copies with a market price and their market USD total, copies and market USD in each value band, copies and market USD at one dollar and up, the market USD of the most valuable copies up to topUnitsCap, and the top rows by market value with card name, set, collector number, finish, condition, copies, unit market and the Intelligent Pricing TCGplayer ask when one was computed. Call it to answer what a collection holds and what it is worth in one read; it works for a free collection-only workspace and for a store. Call spellbook_inventory_holdings next for every row, or spellbook_buylist_compare for per-destination nets. It reports facts; it does not rank, score or pick what to sell.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose held cards to total, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a collection receipt",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the packing proof photos for ONE order: a view link for each pull line the packer photographed, with card name, finish, condition and capture time, plus the order's lines that have no photo. Use it to answer whether an order's cards were photographed before shipping, or to gather evidence for a dispute. Photos come from the packer's own camera in the pull flow. This tool only reads them and cannot upload one.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| orderId * | string | The marketplace's order id exactly as the order lists it. Required. |
| marketplace * | string | The marketplace the order came from. Required. |
| workspaceId * | string | The workspace that shipped the order, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_order_proof_photos",
"description": "Read the packing proof photos for ONE order: a view link for each pull line the packer photographed, with card name, finish, condition and capture time, plus the order's lines that have no photo. Use it to answer whether an order's cards were photographed before shipping, or to gather evidence for a dispute. Photos come from the packer's own camera in the pull flow. This tool only reads them and cannot upload one.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"marketplace",
"orderId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"orderId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The marketplace's order id exactly as the order lists it. Required."
},
"marketplace": {
"enum": [
"tcg",
"manapool",
"ebay",
"shopify",
"cardtrader"
],
"type": "string",
"description": "The marketplace the order came from. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that shipped the order, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read an order's packing proof photos",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read which of the signed-in seller's buyers ordered more than once, across every channel SpellBook syncs orders from, and what happened after a free card shipped in an order. Returns overview counts and shares, weekly returning-order shares overall and per channel, buyerList with each repeat buyer's display name, channels, order count, spend and first and last order dates, and recipients with each free card recipient's prior and later orders and a status of came_back, bought_before or first_order. Call it when a seller asks who their repeat customers are, how many buyers come back, which buyers buy on more than one marketplace, or what free card recipients did next. It reads every workspace the seller belongs to and takes no input.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
{
"name": "spellbook_repeat_buyers",
"description": "Read which of the signed-in seller's buyers ordered more than once, across every channel SpellBook syncs orders from, and what happened after a free card shipped in an order. Returns overview counts and shares, weekly returning-order shares overall and per channel, buyerList with each repeat buyer's display name, channels, order count, spend and first and last order dates, and recipients with each free card recipient's prior and later orders and a status of came_back, bought_before or first_order. Call it when a seller asks who their repeat customers are, how many buyers come back, which buyers buy on more than one marketplace, or what free card recipients did next. It reads every workspace the seller belongs to and takes no input.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read your repeat buyers",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find shipped orders by marketplace order id, order label, tracking number, pull session id, or part of a buyer name or street line, and read each exact order's shipment facts and newest return case. Use it when a package came back before calling spellbook_returned_package_record. A multi-order pull sheet returns separate exact-order matches, each with its own returnCase. Use externalOrderId to record one selected order from a shared sheet. Each match carries sessionId, marketplace, externalOrderId, buyerName, shippedAt, trackingNumber, destinationSummary, packed and unresolved line counts, and returnCase. Card names are omitted to keep maximum batch responses bounded. Returns one row per identifier with status matched, ambiguous or not_found, plus missingFields. After recording a returned order, read its exact contents with spellbook_returned_package_case and find its task in spellbook_returned_package_work.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| identifiers * | array | Up to 50 values to look up, each a marketplace order id, order label, tracking number, pull session id, or part of a buyer name or street line. Required, at least one. |
| workspaceId * | string | The workspace that shipped the orders, from spellbook_workspaces_list. Required. |
{
"name": "spellbook_returned_package_lookup",
"description": "Find shipped orders by marketplace order id, order label, tracking number, pull session id, or part of a buyer name or street line, and read each exact order's shipment facts and newest return case. Use it when a package came back before calling spellbook_returned_package_record. A multi-order pull sheet returns separate exact-order matches, each with its own returnCase. Use externalOrderId to record one selected order from a shared sheet. Each match carries sessionId, marketplace, externalOrderId, buyerName, shippedAt, trackingNumber, destinationSummary, packed and unresolved line counts, and returnCase. Card names are omitted to keep maximum batch responses bounded. Returns one row per identifier with status matched, ambiguous or not_found, plus missingFields. After recording a returned order, read its exact contents with spellbook_returned_package_case and find its task in spellbook_returned_package_work.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"identifiers"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"identifiers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Up to 50 values to look up, each a marketplace order id, order label, tracking number, pull session id, or part of a buyer name or street line. Required, at least one."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that shipped the orders, from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up a shipped order and its return",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Record that a shipped order returned to the seller unopened. Pass the sessionId and exact externalOrderId from spellbook_returned_package_lookup when the pull sheet has several orders. Each selected order gets one return case with unconfirmed contents and appears automatically in spellbook_returned_package_work. This records the seller-reported reason; it does not refund, change inventory, postage or a marketplace. Returns one row per selected order with status recorded, already_open or failed, caseId and errorCode.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| sessionIds * | array | Up to 50 sessionId values from spellbook_returned_package_lookup. For a shared multi-order sheet, send exactly one sessionId with its matching externalOrderId. Required, at least one. |
| workspaceId * | string | The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace. |
| returnReason * | string | Why the carrier returned the packages, applied to every session in this call. address_issue means the address was wrong or incomplete, and the reship then requires a corrected address. unclaimed_or_refused covers an unclaimed or refused letter. Use unknown when the return label gives no reason. Requ… |
| idempotencyKey * | string | A key you choose for this batch, such as rts- followed by the order id. Required. Send the same key on a retry after a timeout. A new key on a session that already has an open case returns already_open. |
Prepare the current reship address for a returned order recorded with spellbook_returned_package_record. Pass the caseId and correctedDestination for an address_issue return; other reported reasons can reuse the saved original destination. A preparation is saved and remains current across reads. The returned row includes preparationId and the order-specific address. This legacy CSV preparation buys no postage and changes no shipment, stock or marketplace state. For a new reship, use spellbook_returned_package_reship_print and spellbook_returned_package_reship_dispatch. The older tracking-completion operation remains only for compatibility.
| Parameter | Type | Description |
|---|---|---|
| cases * | array | Up to 50 cases to prepare. Required, at least one. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace. |
| idempotencyKey * | string | A key you choose for this batch. Required. Send the same key and cases on a retry after a timeout to read the first result back. |
{
"name": "spellbook_returned_package_reship_prepare",
"description": "Prepare the current reship address for a returned order recorded with spellbook_returned_package_record. Pass the caseId and correctedDestination for an address_issue return; other reported reasons can reuse the saved original destination. A preparation is saved and remains current across reads. The returned row includes preparationId and the order-specific address. This legacy CSV preparation buys no postage and changes no shipment, stock or marketplace state. For a new reship, use spellbook_returned_package_reship_print and spellbook_returned_package_reship_dispatch. The older tracking-completion operation remains only for compatibility.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"cases"
],
"properties": {
"cases": {
"type": "array",
"items": {
"type": "object",
"required": [
"caseId"
],
"properties": {
"caseId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The caseId from spellbook_returned_package_record, or from returnCase in spellbook_returned_package_lookup. Required."
},
"correctedDestination": {
"type": "object",
"required": [
"buyerName",
"addressLine1",
"city",
"region",
"postalCode",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The city. Required."
},
"region": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The state or region code, such as CA. Required."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "The two-letter country code, such as US. Required."
},
"buyerName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The recipient's name as it goes on the label. Required."
},
"postalCode": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "The ZIP or postal code. Required."
},
"addressLine1": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The street line. Required."
},
"addressLine2": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The apartment, unit or suite line. Omit when there is none."
}
},
"description": "The address to use for this reship export, from the marketplace order page. Required when the case's returnReason is address_issue. Omit it to use the stored address or TCGplayer packing slip. A supplied address applies only to this export and its new receipt; it never overwrites the shipment address.",
"additionalProperties": false
},
"expectedPreparationId": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 1
},
{
"type": "null"
}
],
"description": "The current preparationId from spellbook_returned_package_work when changing a saved destination; send null for a first preparation. This rejects a stale edit."
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "Up to 50 cases to prepare. Required, at least one."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A key you choose for this batch. Required. Send the same key and cases on a retry after a timeout to read the first result back."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare a reship for a returned package",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Compatibility operation for reships completed outside the new Pull Sessions flow. Records tracking evidence supplied by the seller and resolves the case with resolution reship. It does not prove that an operator explicitly confirmed mailing, and it must not be called by new file-import or print flows. New reships use spellbook_returned_package_reship_dispatch with an explicit tracked or stamped/untracked mailing confirmation.
| Parameter | Type | Description |
|---|---|---|
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| matches * | array | Up to 50 pairs of caseId and tracking number. Required, at least one. |
| workspaceId * | string | The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace. |
| idempotencyKey * | string | A key you choose for this batch. Required. Send the same key on a retry after a timeout. |
{
"name": "spellbook_returned_package_reship_tracking",
"description": "Compatibility operation for reships completed outside the new Pull Sessions flow. Records tracking evidence supplied by the seller and resolves the case with resolution reship. It does not prove that an operator explicitly confirmed mailing, and it must not be called by new file-import or print flows. New reships use spellbook_returned_package_reship_dispatch with an explicit tracked or stamped/untracked mailing confirmation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"matches"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"caseId",
"trackingNumber"
],
"properties": {
"caseId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The caseId of a prepared reship. Required."
},
"trackingNumber": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The tracking number printed on the new label. Required."
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "Up to 50 pairs of caseId and tracking number. Required, at least one."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A key you choose for this batch. Required. Send the same key on a retry after a timeout."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record legacy reship tracking evidence",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one exact returned-order case, its original order and contents, inspection and dispatch history, and every saved replacement document. Each document carries a newly signed short-lived download URL, so use this read again when an older link expires or after a reship is resolved. Historical preparations are labeled explicitly. This owner-scoped read changes no return, shipment, inventory, postage or marketplace state.
| Parameter | Type | Description |
|---|---|---|
| caseId * | string | The exact caseId from returned-order work or a record response. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The seller workspace that owns the returned order. Required. |
{
"name": "spellbook_returned_package_case",
"description": "Read one exact returned-order case, its original order and contents, inspection and dispatch history, and every saved replacement document. Each document carries a newly signed short-lived download URL, so use this read again when an older link expires or after a reship is resolved. Historical preparations are labeled explicitly. This owner-scoped read changes no return, shipment, inventory, postage or marketplace state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"caseId"
],
"properties": {
"caseId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact caseId from returned-order work or a record response. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace that owns the returned order. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a returned-order case and its documents",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List active returned-order tasks in a seller workspace. Each task includes an exact externalOrderId when one order is identified, plus original destination evidence, return reason, case version and current saved preparation including the corrected destination. Historical mixed-order cases stay visible as blocked inspection tasks without selecting a candidate. Use this after spellbook_returned_package_record or after reconnecting to resume the same task. The read does not change shipment, inventory, refund, postage or marketplace state.
| Parameter | Type | Description |
|---|---|---|
| q | string | Find an original order by order id, label, buyer, card name, pull-session id or tracking number. Requires at least two characters. |
| limit | integer | Maximum active return tasks to return, up to 50. Defaults to 20. |
| cursor | string | Opaque next-page cursor returned by a prior read. Omit for the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| marketplace | string | Limit tasks to one marketplace. Omit for all. |
| workspaceId * | string | The seller workspace from spellbook_workspaces_list. Required. |
Create or recover the immutable replacement-address PDF for one returned-order task. Use the current preparationId from spellbook_returned_package_work or spellbook_returned_package_reship_prepare. The address label is available directly. A contents page is optional and separate from the intact-package happy path. The receipt identifies its exact order and preparation and includes a short-lived download URL. This prints no postage and does not mean the package was mailed.
| Parameter | Type | Description |
|---|---|---|
| caseId * | string | Exact return caseId from returned-order work. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The seller workspace from spellbook_workspaces_list. Required. |
| preparationId * | string | The current preparationId for this task. A stale preparation is rejected. |
| idempotencyKey * | string | A caller-generated key retained across retries. Reusing it returns the same immutable document receipt. |
| includeContents | boolean | Whether to append the original returned contents as a separate no-price page. Defaults to false; an intact package does not need to be opened. |
Explicitly record that the seller mailed a returned order using its current preparation. Choose tracked with the tracking number or stamped/untracked with no tracking number, and send mailingConfirmed true only after mailing. The case resolves and leaves active work; its original order shipment remains unchanged. SpellBook does not verify carrier acceptance, buy postage, contact the buyer, or update a marketplace.
| Parameter | Type | Description |
|---|---|---|
| caseId * | string | Exact return caseId from returned-order work. Required. |
| method * | string | Use tracked only with a supplied tracking number. Use untracked for stamped mail with no tracking number. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| workspaceId * | string | The seller workspace from spellbook_workspaces_list. Required. |
| preparationId * | string | The current preparationId from returned-order work. A stale preparation is rejected. |
| idempotencyKey * | string | A caller-generated key retained across retries. |
| trackingNumber | string | Tracking printed on the replacement mailer. Required exactly when method is tracked. |
Save up to 25 existing Item bin locations after comparing each expectedBins observation with current state. A fresh Item query is required before and after the save.
| Parameter | Type | Description |
|---|---|---|
| toBin * | string | The bin these Items are being confirmed into. Required. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| itemIds * | array | Up to 25 exact Item ids to move, from a prior spellbook_inventory_items_query. Required, at least one. |
| workspaceId * | string | The workspace the Items belong to. Required. |
| expectedBins * | array | One prior-bin observation per itemId in itemIds, up to 25. Required; a missing or changed Item rejects the whole batch. |
| sourceSignalId | string | An id linking this confirmation to its originating signal. Omit when there is none. |
{
"name": "spellbook_inventory_location_confirm",
"description": "Save up to 25 existing Item bin locations after comparing each expectedBins observation with current state. A fresh Item query is required before and after the save.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"itemIds",
"toBin",
"expectedBins"
],
"properties": {
"toBin": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The bin these Items are being confirmed into. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 25,
"minItems": 1,
"description": "Up to 25 exact Item ids to move, from a prior spellbook_inventory_items_query. Required, at least one."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the Items belong to. Required."
},
"expectedBins": {
"type": "array",
"items": {
"type": "object",
"required": [
"itemId",
"binId"
],
"properties": {
"binId": {
"type": "string",
"minLength": 1,
"description": "The bin this Item was last observed in, before the move. Required."
},
"itemId": {
"type": "string",
"minLength": 1,
"description": "The Item id this observation is about. Required."
}
},
"additionalProperties": false
},
"maxItems": 25,
"minItems": 1,
"description": "One prior-bin observation per itemId in itemIds, up to 25. Required; a missing or changed Item rejects the whole batch."
},
"sourceSignalId": {
"type": "string",
"minLength": 1,
"description": "An id linking this confirmation to its originating signal. Omit when there is none."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Confirm bin locations",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}SpellBook Finance gives an agent market facts and seller tools for Magic and Pokémon cards, plus one customer's own seller workspace. It is not a fintech, a bank, or a DeFi protocol. It never buys, holds money, or ships anything. Read a task's procedure with spellbook_skill before its first step: getting-started when a customer is new, buy-loop before advising a buy of cards or sealed product, collection-buying before work on any Pokémon lot or collection, physical-placement before a bin move, fulfilling-orders when an order arrives. Read spellbook_guides before answering a how-do-I question about selling, pricing, or marketplace onboarding. Name an exact printing with spellbook_printings_search before recording a card or forming a price. Marketplace write tools can publish or change listings. Follow destructive annotations and each tool's required preview or dry run. A queued job or exported file is not a confirmed live listing. Before advising a buy, record the thesis with spellbook_customer_evidence_record as a consideration, because spellbook_buy_outcome_report scores only those records. After cards or sealed product arrive, record them with spellbook_inventory_bin_ensure, spellbook_inventory_import_csv for a ManaBox or TCGplayer export, or spellbook_sealed_portfolio_record, then read it back with spellbook_inventory_holdings or spellbook_sealed_portfolio. Record a sale made outside SpellBook with spellbook_sale_record so holdings and the outcome report stop counting those copies. Sign-in with a new email creates a SpellBook account. A signed-in seller with no workspace gets one from spellbook_workspace_create. The agent drives marketplace connection: read the status, hand over the connect link (spellbook_manapool_connect_link for ManaPool), name the one step the person takes there, then read the status again. A missing ManaPool or eBay seller account is a step on that path, never a stop. Reach a person at https://discord.gg/BbbepYdsJ2 or support@spellbook-finance.com.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
{
"name": "spellbook_tcg_buyer_reply",
"description": "Send the seller-authorized exact text to one TCGplayer buyer thread. Requires a verified thread inspection and reply permission. Read spellbook_tcg_buyer_action_status afterward; delivery requires a verified seller message with its provider message ID.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sessionId",
"previewIntentId",
"threadId",
"message"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"message": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Exact reply text authorized by the seller. Required."
},
"threadId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact threadId in the verified inspection. Required."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required."
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Workspace owned by the authenticated seller. Required."
},
"refundIntentId": {
"type": "string",
"pattern": "^[A-Za-z0-9:-]{1,200}$",
"description": "Verified same-order refund command ID when the reply claims a completed refund. Omit for other replies."
},
"previewIntentId": {
"type": "string",
"pattern": "^[A-Za-z0-9:-]{1,200}$",
"description": "Successful recent order or thread inspection command ID. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Reply to one TCGplayer buyer",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_tcg_buyer_refund_full",
"description": "Issue a seller-authorized full refund for one previously unrefunded TCGplayer order. Requires a verified order inspection and independent full-refund permission. Read spellbook_tcg_buyer_action_status for matching provider refund evidence. This operation sends no separate thread reply.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sessionId",
"previewIntentId",
"reason",
"reasonText"
],
"properties": {
"reason": {
"enum": [
"Package - Missing",
"Product - Inventory Issue",
"General - Cancellation"
],
"type": "string",
"description": "Seller-selected provider refund reason. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Exact sessionId returned by spellbook_tcg_buyer_driver_status. Required."
},
"reasonText": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Exact seller-authorized refund explanation emailed by TCGplayer to the buyer. Required."
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,100}$",
"description": "Workspace owned by the authenticated seller. Required."
},
"previewIntentId": {
"type": "string",
"pattern": "^[A-Za-z0-9:-]{1,200}$",
"description": "Successful recent order or thread inspection command ID. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fully refund one TCGplayer order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_sealed_price_target_create",
"description": "Create a local sealed retailer price target and return its saved status and observed match facts. Call with an exact product and explicit native-currency threshold. Read spellbook_sealed_price_target next; a target records observations without reserving or purchasing products.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"productId",
"retailerMarketRegion",
"currency",
"destinationCountry",
"targetAmount"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"currency": {
"enum": [
"USD",
"CAD",
"NZD",
"GBP",
"EUR"
],
"type": "string",
"description": "Native offer currency; no conversion or delivered total is inferred."
},
"productId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact catalog productId from sealed product discovery; variants and package sizes are distinct."
},
"targetAmount": {
"type": "number",
"description": "Maximum native amount for one exact product unit before shipping and tax.",
"exclusiveMinimum": 0
},
"destinationCountry": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Destination ISO country code; shipping eligibility can remain unknown."
},
"retailerMarketRegion": {
"enum": [
"All",
"US",
"CA",
"NZ"
],
"type": "string",
"description": "Retailer market to observe; this does not establish delivery eligibility."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create sealed price target",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "spellbook_buy_targets",
"description": "Return a bounded source-order page of materialized TCGplayer-to-Card-Kingdom rows with an opaque nextCursor for complete traversal. Rows include printing identity, observed acquisition and cash quote prices, listed shipping, seller/quantity evidence, exit.quantityBuying (the copies Card Kingdom buys at the quoted price), maxCopies (the smaller of listed stock and exit.quantityBuying), the Card Kingdom condition ladder (NM/EX/VG/G payouts, modeled from the NM quote), timestamps, printingMismatches and missingFields. Call this first when a person says \"I have $X to risk\", \"find me opportunities\", \"good opportunities\", \"single cards\", \"high risk singles\", \"start with arbitrage\" or \"what should I buy\". Never request more copies of a row than maxCopies. Before handing a person a buy list, record each chosen row as a consideration with spellbook_customer_evidence_record, because spellbook_buy_outcome_report scores only recorded considerations. Workspace card performance reports observed sales, sampled available channel-copy-days, uncertainty and coverage across editions/finishes; it changes no source ordering or purchase policy. No profit, ranking, selection, reserves or cost defaults. Exact listing links and fee amounts are null when unavailable. Customer agent supplies all policy and executes purchases.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 200,
"maximum": 200,
"minimum": 1,
"description": "Maximum buy-target rows to return, 1 to 200. Omit for the default of 200."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Opaque nextCursor from a previous page, passed back unchanged to continue traversal. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace whose own observed selling performance to include. Membership is required; omit to resolve the sole workspace."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List buy targets",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| integer |
| Page number, from 1. Read totalPages on the response before paging. Omit for the first page. |
| sort | string | Which field orders the rows. risingWeeks counts consecutive positive weekly price comparisons for the selected finish, with missing first comparisons last. units30d, transactions30d and listedUnits use salesActivity (foilSalesActivity in foil mode); cardmarketEur uses native EUR for that finish. Bot… |
| period | string | Which change window the changePct or foilChangePct sort reads. Defaults to 90d. Band fields always use the last 20 daily closes. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| sort_dir | string | Sort direction for `sort`. Defaults to desc, largest first. Pass asc with changePct to list the biggest falls first. |
| max_price | number | Highest current price in USD. Omit for no ceiling. |
| min_price | number | Lowest current price in USD. Omit for the default, which is 1, or 5 once any band or z-score bound is set, because cheap printings sit flat for weeks. |
| page_size | integer | Rows per page, 1 to 50. Defaults to 25. |
| zscore_max | number | Highest z20 a row may have. A negative value such as -1.5 keeps cards priced below their 20 day mean. Omit for no ceiling. |
| zscore_min | number | Lowest z20 a row may have. Omit for no floor. |
| band_pos_max | number | Highest bbPos a row may have. 100 is the upper band. Pass a low value such as 10 to keep cards near the bottom of their range. Omit for no ceiling. |
| band_pos_min | number | Lowest bbPos a row may have. 0 is the lower band. Once any band or z-score bound is set, rows with a null bbPos are dropped. Omit for no floor. |
| change30d_max | number | Highest 30 day change a row may have, in percent. Pass a negative number to keep cards that fell. Rows with no 30 day change are dropped. Omit for no ceiling. |
| change90d_min | number | Lowest 90 day change a row may have, in percent. Pair a positive value with change30d_max to keep cards that fell this month inside a 90 day rise. Rows with no 90 day change are dropped. Omit for no floor. |
| flat_days_min | integer | Fewest days since the price last changed. Use it for flat prices, which carry no band position. Omit for no floor. |
| min_units_30d | integer | Minimum recorded units in complete three-day buckets within 30 days before capture; drops missing captures. Read observedDays and capture dates for partial coverage. |
| band_width_max | number | Widest bbWidth a row may have, in percent of ma20. A small value keeps cards whose price barely moved. Omit for no ceiling. |
| has_cardmarket | boolean | Keep rows with a positive native Cardmarket EUR quote for the selected finish. |
| move_ratio_min | number | Lowest ratio of the absolute change30d to swing30d a row may have. Pass 4 to keep cards whose 30 day move is at least 4 times their typical 30 day move, up or down. Rows with no swing30d, a zero swing30d, or a price under $1 thirty days back are dropped. Omit for no floor. |
| squeeze_recent | boolean | Pass true to keep only rows whose Bollinger band sat inside the Keltner channel on any of the last 5 days. Omit to keep every row. |
| rising_weeks_min | integer | Keep printings whose last N consecutive seven-calendar-day price comparisons were strictly positive, 1 to 12. Missing dates fail the filter. Uses foil closes in foil mode, regular closes otherwise. weeklyChanges/foilWeeklyChanges retain each percent change newest first; weeklyTrendThrough dates the … |
| recorded_sales_only | boolean | Keep rows with measured units, including measured zero; excludes missing or stale captures. |
| min_transactions_30d | integer | Minimum recorded transactions in that same captured sales window; drops missing captures. |
{
"name": "spellbook_screener",
"description": "Screen Magic card printings by recorded US sales activity, native Cardmarket EUR, regular or foil price, foil/nonfoil premium, consecutive weekly price gains, price change and 20 day band statistics in one call. For unusually high foil premiums, use mode=both and sort=premium with a declared regular-price floor. Premium sorts the dimensionless foilPrice/price multiple; the response retains both USD inputs. Read the matching foil-premium guide via spellbook_guides topic pricing and its returned resource URI for identity and interpretation limits. Some snapshots also carry optional printingCount, lastPrintedAt and reserved facts; absent fields stay unknown. For reprint interpretation, use spellbook_guides topic reprint-risk and read the returned resource URI; these facts supply no calibrated set-risk ranking. Each row carries reported printing identity (scryfallId, name, setCode, rarity), price, and change7d, change30d and change90d in percent. Its band fields: ma20 is the mean of the last 20 daily closes. bbPos is where today's close sits inside the 20 day Bollinger band, 0 at the lower band and 100 at the upper, and below 0 or above 100 outside it. bbWidth is the band's width as a percent of ma20. z20 is today's close minus ma20, in 20 day standard deviations. squeeze and squeezeRecent say whether the Bollinger band sat inside the Keltner channel today, or on any of the last 5 days. flatDays counts the days since the price last changed. swing30d is the typical 30 day move: the median absolute 30 day change, in percent, over the last 90 daily closes. Call it to answer \"which cards sit near the bottom of their recent range\", \"which cards fell this month inside a 90 day rise\", \"which cards moved far past their usual size this month\" or \"which prices have gone quiet\", then call spellbook_card_prices for one printing's per-source prices. Rows come back in the sort the caller names. Nothing is scored, labeled or chosen for you.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"mode": {
"enum": [
"nonfoil",
"foil",
"both"
],
"type": "string",
"default": "nonfoil",
"description": "Price mode. nonfoil uses regular prices for the price floor and ceiling; foil uses foil prices; both requires positive regular and foil inputs and uses the regular price bounds. Band and change30d_max/change90d_min/move_ratio_min fields remain regular-price statistics in every mode."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, from 1. Read totalPages on the response before paging. Omit for the first page."
},
"sort": {
"enum": [
"changePct",
"price",
"name",
"swing30d",
"foilPrice",
"foilChangePct",
"premium",
"units30d",
"transactions30d",
"listedUnits",
"cardmarketEur",
"risingWeeks"
],
"type": "string",
"default": "changePct",
"description": "Which field orders the rows. risingWeeks counts consecutive positive weekly price comparisons for the selected finish, with missing first comparisons last. units30d, transactions30d and listedUnits use salesActivity (foilSalesActivity in foil mode); cardmarketEur uses native EUR for that finish. Both uses regular activity and EUR like its price bounds. Missing activity and EUR sort last. premium sorts foilPrice/price, a multiple, with missing or nonpositive inputs last. Use mode=both for that comparison. price and changePct always read regular prices; foilPrice and foilChangePct read foil prices. Both change sorts use period. swing30d reads the typical regular-price move and ignores period. Missing change or swing values come last. Defaults to changePct."
},
"period": {
"enum": [
"7d",
"30d",
"90d"
],
"type": "string",
"default": "90d",
"description": "Which change window the changePct or foilChangePct sort reads. Defaults to 90d. Band fields always use the last 20 daily closes."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction for `sort`. Defaults to desc, largest first. Pass asc with changePct to list the biggest falls first."
},
"max_price": {
"type": "number",
"description": "Highest current price in USD. Omit for no ceiling.",
"exclusiveMinimum": 0
},
"min_price": {
"type": "number",
"description": "Lowest current price in USD. Omit for the default, which is 1, or 5 once any band or z-score bound is set, because cheap printings sit flat for weeks.",
"exclusiveMinimum": 0
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1,
"description": "Rows per page, 1 to 50. Defaults to 25."
},
"zscore_max": {
"type": "number",
"description": "Highest z20 a row may have. A negative value such as -1.5 keeps cards priced below their 20 day mean. Omit for no ceiling."
},
"zscore_min": {
"type": "number",
"description": "Lowest z20 a row may have. Omit for no floor."
},
"band_pos_max": {
"type": "number",
"description": "Highest bbPos a row may have. 100 is the upper band. Pass a low value such as 10 to keep cards near the bottom of their range. Omit for no ceiling."
},
"band_pos_min": {
"type": "number",
"description": "Lowest bbPos a row may have. 0 is the lower band. Once any band or z-score bound is set, rows with a null bbPos are dropped. Omit for no floor."
},
"change30d_max": {
"type": "number",
"description": "Highest 30 day change a row may have, in percent. Pass a negative number to keep cards that fell. Rows with no 30 day change are dropped. Omit for no ceiling."
},
"change90d_min": {
"type": "number",
"description": "Lowest 90 day change a row may have, in percent. Pair a positive value with change30d_max to keep cards that fell this month inside a 90 day rise. Rows with no 90 day change are dropped. Omit for no floor."
},
"flat_days_min": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Fewest days since the price last changed. Use it for flat prices, which carry no band position. Omit for no floor."
},
"min_units_30d": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minimum recorded units in complete three-day buckets within 30 days before capture; drops missing captures. Read observedDays and capture dates for partial coverage."
},
"band_width_max": {
"type": "number",
"minimum": 0,
"description": "Widest bbWidth a row may have, in percent of ma20. A small value keeps cards whose price barely moved. Omit for no ceiling."
},
"has_cardmarket": {
"type": "boolean",
"description": "Keep rows with a positive native Cardmarket EUR quote for the selected finish."
},
"move_ratio_min": {
"type": "number",
"minimum": 0,
"description": "Lowest ratio of the absolute change30d to swing30d a row may have. Pass 4 to keep cards whose 30 day move is at least 4 times their typical 30 day move, up or down. Rows with no swing30d, a zero swing30d, or a price under $1 thirty days back are dropped. Omit for no floor."
},
"squeeze_recent": {
"type": "boolean",
"description": "Pass true to keep only rows whose Bollinger band sat inside the Keltner channel on any of the last 5 days. Omit to keep every row."
},
"rising_weeks_min": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Keep printings whose last N consecutive seven-calendar-day price comparisons were strictly positive, 1 to 12. Missing dates fail the filter. Uses foil closes in foil mode, regular closes otherwise. weeklyChanges/foilWeeklyChanges retain each percent change newest first; weeklyTrendThrough dates the endpoint. This is a past-price pattern, not a prediction or a sales trend."
},
"recorded_sales_only": {
"type": "boolean",
"description": "Keep rows with measured units, including measured zero; excludes missing or stale captures."
},
"min_transactions_30d": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minimum recorded transactions in that same captured sales window; drops missing captures."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Screen card prices",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_contents_demand",
"description": "Read cached exact Commander contents with USD Full EV contributions and source-recorded TCGplayer units. Resolve a numeric product ID with spellbook_sealed_product_search. Returns exact printing/finish, quantities, child membership, baseline 100-unit categories, compatible source-date windows, coverage, revisions, expiry, missingFields and limitations. An EV-weighted mean30d uses only value with a complete compatible 30-date observation. Partial and 29-date observations remain labeled. Market units are source-relative observations, not personal sell time. Per-card units and queues need Investor or Seller (100 product reads a day). Returns no purchase verdict or ranking.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Contributor rows per response, default20, maximum100. Whole-product EV and coverage denominators remain unchanged."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 2500,
"minimum": 0,
"description": "Contributor offset, starting at zero. Follow nextOffset to inspect every contributor."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"revision": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Publication revision from a prior page. A changed revision requires restarting at offset0."
},
"tcgProductId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact numeric Commander deck or case product ID."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read recorded demand for exact sealed contents",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_commander_comparison_facts",
"description": "Read stored facts for one to four exact Commander case or deck products on one shared source-date window. Resolve numeric IDs with spellbook_sealed_product_search first. Returns per-product kind, market price and clock, publication revision and readiness, plus contributor rows with finish, quantity, USD Full EV contribution, aligned source-recorded units and missing-versus-zero state, a comparisonRevision, missingFields and limitations. A stale or absent input, empty window intersection, invalid mapping, missing exact card price or oversized input leaves a product not ready and the response names the gap. A missing catalog market price or clock appears in missingFields and leaves readiness unchanged, because the caller supplies the purchase price. Units and queues need Investor or Seller (100 product reads a day), else recovery: net cash cents, days 0-90, at market price, one copy, 15% costs. Page with offset, limit and nextOffset; a changed revision requires restarting at offset 0.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"productIds"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Contributor rows per response, default 20, maximum 100. Whole-comparison totals and the shared window stay unchanged."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Contributor offset, starting at zero. Follow nextOffset to inspect every contributor."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"revision": {
"type": "string",
"pattern": "^[0-9a-f]{64}$",
"description": "comparisonRevision from a prior page. A changed revision requires restarting at offset 0."
},
"productIds": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}(,[1-9]\\d{0,11}){0,3}$",
"description": "One to four distinct numeric Commander product IDs, comma separated, for example 1001,1002."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read aligned Commander comparison facts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_box_breakeven",
"description": "Read the existing cash-recovery scenario for one exact sealed product and caller-supplied total cost. Use it for modeled after-cost recovery and break-even timing, separately from gross opening EV or a probability of profit. Resolve the numeric product id with spellbook_sealed_product_search first. Returns the supplied assumptions, quantity, model horizon, source coverage, USD results and unknown clocks. Read the returned guideResourceUri for interpreting conditional price ceilings and a missing crossing. This read does not select a purchase price or recommend opening a product.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"tcgProductId",
"costBasisUsd"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"sellerMode": {
"enum": [
"conservative",
"typical",
"high_throughput"
],
"type": "string",
"default": "typical",
"description": "Existing recovery-assumption preset. It changes modeled haircuts and tail timing; it does not verify the caller's seller performance. Defaults to typical."
},
"boxQuantity": {
"type": "integer",
"default": 1,
"maximum": 10000,
"minimum": 1,
"description": "Quantity of the exact sealed product, from 1 to 10000. Results are totals for this quantity, not per box. Defaults to one."
},
"costBasisUsd": {
"type": "number",
"maximum": 1000000000,
"description": "Positive caller-assumed total acquisition cost in USD for the entire requested quantity, including any inbound costs the caller chooses. Required; no catalog-price default.",
"exclusiveMinimum": 0
},
"tcgProductId": {
"type": "string",
"pattern": "^[1-9]\\d{0,11}$",
"description": "Exact numeric sealed-product id from spellbook_sealed_product_search. A display, case and pack have different ids."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Model a sealed product's cash recovery",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| q | string | Product-name token filter, not a numeric product-id lookup. Broad collector searches may also match Collector's Edition Commander decks; use box_type and verify the returned boxId. Omit to include every product. |
| game | string | Restrict rankings to one game. Omit for the mixed supported-game ranking. A registered game without production EV returns an empty ranking plus sealedIntelligence.reason and missingFields. |
| sort | string | Which computed field ranks the rows. Defaults to evRatio, the stored totalEV ratio using acquirableFloorUsd when its basis is known; use spreadUsd for totalEV minus marketPrice. n0Full, n0LandAdjusted and n0Sellable rank by packs needed under that valuation basis. A null sort value, a preorder row a… |
| limit | integer | Maximum rows to return, 1 to 150. Omit for the default of 50. |
| cursor | string | Opaque nextCursor from a previous page, passed back unchanged. Omit to start from the first page. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| box_type | string | Exact box-type value from a ranking row, such as collector for Collector Boosters or commander for Commander decks. Omit to include every box type. |
| sort_dir | string | Sort direction for `sort`. Defaults to desc, highest first. Pass asc with an n0 sort to list the fewest packs first. |
| max_price | number | Maximum market price a row may have to be returned. Omit for no ceiling. |
| min_ev_ratio | number | Minimum stored evRatio a row must have to be returned. Rows with a null ratio are excluded. Omit for no floor. |
{
"name": "spellbook_box_ev_rankings",
"description": "Read a named sealed product's modeled gross contents EV, or compare ranking rows, with totalEV, evRatio, pack standard deviation (packSD), N0 and breakEvenPct. For a named Collector Booster display, use q and box_type, then match boxId to the exact catalog product; a Collector's Edition Commander deck is a different product. Call it for \"how many packs until opening is likely profitable\" (N0), \"how swingy is this box\" (packSD, and swinginess, which is packSD divided by packEV) and \"what share of packs beat the pack price\" (breakEvenPct). N0 is the number of packs at which a normal approximation, treating packs as independent and identical, gives about a 97.7% modeled probability that summed card value under the selected valuation basis exceeds summed pack cost. It is null when required inputs are absent or matching edge or standard deviation is not positive. Pack cost is the returned packPrice: a separate stored pack reference when available, otherwise box marketPrice divided by packsPerBox. Preserve packPriceSource; a missing or unrecognized label leaves the reference origin unknown. This is not a caller-paid cost. Each N0 variant uses its own valuation basis, with its own pack SD and edge: n0Full uses full market value (packSD, fullEdge), n0LandAdjusted prices cheap lands at bulk rates (landAdjustedPackSD, landAdjustedEdge), and n0Sellable prices cards below a threshold at bulk buylist rates (sellablePackSD, sellableEdge). These valuations use their stated basis before selling fees, shipping and liquidity. breakEvenPct is the share of simulated single packs worth at least packPrice. It is not the probability of profit after N packs. Optional cardmarketEV carries native EUR retail singles EV, per-finish coverage, quote dates, missingFields and limitations. Its totalEV is null when coverage is incomplete. Top-level prices, ratios, filters and order keep their US basis; Cardmarket EV has no local sealed price. Rows also carry exact product IDs, market prices, acquirableFloorUsd and evRatioBasis when present, market-basis and shipping-aware ratios, spreads, per-pack metrics and timestamps. evRatio is totalEV divided by max(marketPrice, the cheapest captured TCG listing price plus shipping) on rows with a known basis; evRatioMarketBasis preserves the market-price comparison. spreadUsd is totalEV minus marketPrice. typicalEV is the box EV without every card under typicalEvCutoffPerPack (0.001 pulls per pack), and typicalEvExcludedCount counts them; a null typicalEV names its cause in typicalEvReason. sellableCutoffs gives ev, packEV and packSD with every card under cutoffUsd ($0.25 to $5) at its rarity bulk rate, basic lands included; non-Magic rows and rows computed before a product type gained the ladder omit it. Bundle, no-main-pack, precon and sealed-contents rows null both pack figures; older-model rows null packSD. spellbook_sealed_product_offers takes a row's boxId for store offers. For valuation, identity and source-clock context, read guideResourceUri through MCP; guideUrl is the same page. coverage describes the non-Magic research screen and its latestCapturedAtUtc. queryCoverage is unknown.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Product-name token filter, not a numeric product-id lookup. Broad collector searches may also match Collector's Edition Commander decks; use box_type and verify the returned boxId. Omit to include every product."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"description": "Restrict rankings to one game. Omit for the mixed supported-game ranking. A registered game without production EV returns an empty ranking plus sealedIntelligence.reason and missingFields."
},
"sort": {
"enum": [
"evRatio",
"totalEV",
"spreadUsd",
"marketPrice",
"packEV",
"packEvRatio",
"packPrice",
"n0Full",
"n0Sellable",
"n0LandAdjusted",
"swinginess"
],
"type": "string",
"default": "evRatio",
"description": "Which computed field ranks the rows. Defaults to evRatio, the stored totalEV ratio using acquirableFloorUsd when its basis is known; use spreadUsd for totalEV minus marketPrice. n0Full, n0LandAdjusted and n0Sellable rank by packs needed under that valuation basis. A null sort value, a preorder row and an unverified row come after the other rows in either direction."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 150,
"minimum": 1,
"description": "Maximum rows to return, 1 to 150. Omit for the default of 50."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque nextCursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"box_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact box-type value from a ranking row, such as collector for Collector Boosters or commander for Commander decks. Omit to include every box type."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction for `sort`. Defaults to desc, highest first. Pass asc with an n0 sort to list the fewest packs first."
},
"max_price": {
"type": "number",
"minimum": 0,
"description": "Maximum market price a row may have to be returned. Omit for no ceiling."
},
"min_ev_ratio": {
"type": "number",
"description": "Minimum stored evRatio a row must have to be returned. Rows with a null ratio are excluded. Omit for no floor."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read sealed product EV and pack risk",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_card_prices",
"description": "Read held price snapshots for one printing, each with its own source label, amount and date. Sources can include TCGplayer Market, TCGplayer Low, Card Kingdom retail and buylist, CoolStuff, an eBay 90-day sold median, Cardmarket, ManaPool and CardTrader. Pokemon TCGplayer finish subtypes stay in separate rows. cardId is the exact printing id returned by spellbook_printings_search: a UUID for Magic, or a catalog product id for Riftbound or Pokemon. Rows come back in source order with their own timestamps; nothing is averaged, ranked, or chosen for you, and no listing link is returned. For Market-versus-dealer interpretation, find a guide with spellbook_guides topic buylist-and-exits. Cardmarket retail from MTGJSON is native EUR. EUR rows carry conversion evidence when available. Read the returned guideResourceUri for currency and source-metric context; MCP resource retrieval is an alternative if guideUrl cannot be fetched. It is discoverable with spellbook_guides topic pricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"cardId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id from spellbook_printings_search: a UUID for Magic, or the namespaced catalog product id for Riftbound or Pokemon. Required."
},
"finish": {
"enum": [
"nonfoil",
"foil",
"etched"
],
"type": "string",
"description": "Which finish of a Magic printing to price. Omit for nonfoil. Pass foil or etched when the copy in question is foil or etched, because a foil copy often sells at a different price. Riftbound and Pokemon ignore it and return every finish as its own rows."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one card's prices",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_card_desk",
"description": "Read one exact Magic printing and finish. Pass treatmentAsks with foil for an etched or special-treatment snapshot. asksTcgplayerProductId identifies its source product. series holds stored TCGplayer Market and Low (tcgLow): daily for the last 90 days, and up to 365 days back. Past 90 days a printing can have one point per ISO week, and limitations says so. buckets holds NM/LP sales with English or unspecified language, the exact raw bucketStartDate values, units, transactions, weighted market and recorded low/high. The source response does not establish each bucket's duration or end date. Use bucketsState and bucketsCoverage to see what was captured. asks contains the most recent unexpired TCGplayer snapshot for that finish with item price, condition, language and listing shipping. Use stockQuantity for provider stock. Null or absent means unknown. The legacy quantity can default to 1. printing and listingId preserve provider finish and row identity when available. Read the capture time for each source and asksExpiresAt, asksTotal, asksTruncated and limitations before using the snapshot. Find the printing with spellbook_printings_search. tcgplayerBuyUrl is an affiliate link for the standard Desk product.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId"
],
"properties": {
"cardId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The exact Magic printing id (a Scryfall UUID) from spellbook_printings_search. Required."
},
"finish": {
"enum": [
"nonfoil",
"foil"
],
"type": "string",
"description": "Which finish to read. Omit for nonfoil. Pass foil for a foil copy, because SpellBook stores foil prices, sales and asks apart from nonfoil."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"treatmentAsks": {
"type": "string",
"const": "1",
"description": "Pass the string 1 with finish=foil to read the selected printing’s special-treatment asks."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read one card's price series, sales and asks",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_pokemon_market_analytics",
"description": "Read exact identity scoped Pokemon market facts for ONE catalog product: language, finish, condition, independent retail fair value, observed supply depth, versioned SCORE factors and Limitless demand coverage. The response keeps qualified values null when source count or comparable history is missing, and names missingFields and limitations. It reports facts only; it does not rank cards, recommend an action or infer a missing source.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cardId",
"language",
"finish",
"condition"
],
"properties": {
"cardId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact Pokemon catalog product id from spellbook_printings_search, such as pokemon:tcgp:12345. Required."
},
"finish": {
"enum": [
"nf",
"fo",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Observed finish: nf regular, fo holo, rh reverse holo, 1e first edition, or 1e-fo first edition holo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"language": {
"type": "string",
"minLength": 1,
"description": "Observed card language, such as en or ja. Required; do not infer from the seller location."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "Observed condition: NM, LP, MP, HP, or DMG. Required; do not assume near mint."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Pokemon market analytics",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Optional import duty rate as a decimal; omitted keeps landed cost incomplete. |
| sellingFeeRate | any | Optional selling fee rate as a decimal; omitted keeps net proceeds incomplete. |
| otherSellingUsd | any | Optional other selling cost in USD; omitted keeps net proceeds incomplete. |
| importChargesUsd | any | Optional import charges assumption in USD; omitted keeps landed cost incomplete. |
| inboundShippingUsd | any | Optional inbound shipping assumption in USD; omitted keeps landed cost incomplete. |
| sellingFixedFeeUsd | any | Optional selling fixed fee in USD; omitted keeps net proceeds incomplete. |
| otherAcquisitionUsd | any | Optional other acquisition cost in USD; omitted keeps landed cost incomplete. |
| outboundShippingUsd | any | Optional outbound shipping assumption in USD; omitted keeps net proceeds incomplete. |
{
"name": "spellbook_pokemon_arbitrage_spreads",
"description": "Read bounded Pokemon acquisition and exit quote facts for exact product identity, preserving quote basis, currency, observation time, source reference, source URLs, comparisons, missingFields and limitations. This read compares observed sources; it does not rank opportunities, recommend a purchase, or execute a transaction.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows to return, from 1 to 100. Defaults to 25."
},
"finish": {
"enum": [
"nf",
"fo",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Optional exact finish filter."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"cohortId": {
"enum": [
"pokemon",
"pokemon-en",
"pokemon-ja"
],
"type": "string",
"description": "Optional Pokemon cohort. Use pokemon-ja or pokemon-en to keep language evidence isolated."
},
"language": {
"enum": [
"en",
"ja"
],
"type": "string",
"description": "Optional exact language filter."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "Optional condition filter."
},
"productId": {
"type": "string",
"pattern": "^pokemon:tcgp:[1-9]\\d*$",
"description": "Optional exact Pokemon catalog product id from spellbook_printings_search."
},
"proxyFeeUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional proxy fee assumption in USD; omitted keeps landed cost incomplete."
},
"importDutyRate": {
"anyOf": [
{
"type": "number",
"maximum": 1,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional import duty rate as a decimal; omitted keeps landed cost incomplete."
},
"sellingFeeRate": {
"anyOf": [
{
"type": "number",
"maximum": 1,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional selling fee rate as a decimal; omitted keeps net proceeds incomplete."
},
"otherSellingUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional other selling cost in USD; omitted keeps net proceeds incomplete."
},
"importChargesUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional import charges assumption in USD; omitted keeps landed cost incomplete."
},
"inboundShippingUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional inbound shipping assumption in USD; omitted keeps landed cost incomplete."
},
"sellingFixedFeeUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional selling fixed fee in USD; omitted keeps net proceeds incomplete."
},
"otherAcquisitionUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional other acquisition cost in USD; omitted keeps landed cost incomplete."
},
"outboundShippingUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Optional outbound shipping assumption in USD; omitted keeps net proceeds incomplete."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Pokemon arbitrage spreads",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_deck_import_limitless",
"description": "Import one player's Pokemon decklist from one fixed Limitless tournament standings record into the seller's workspace. The workspace owner chooses the event, player, format and idempotency key; retries with the same key replay the first result or report an in-progress import. The tool does not accept URLs or credentials and returns source identity, matched and unmatched counts, and the imported deck.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"eventId",
"playerId",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Optional deck name."
},
"format": {
"enum": [
"Standard",
"Expanded",
"Unlimited"
],
"type": "string",
"default": "Standard",
"description": "Deck format. Defaults to Standard."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"eventId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The Limitless tournament event id. Required."
},
"playerId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact player name or id as shown by the selected event. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to import into. The caller must be its owner. Required."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A caller-generated retry key. Reuse it unchanged after an uncertain result. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Import a Limitless Pokemon deck",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_inventory_bin_ensure",
"description": "Record physically confirmed cards into one inventory bin, by stating the DESIRED TOTAL quantity of each exact printing that belongs in that bin. Existing live copies count toward that total, so only a missing difference is created. Calling it twice with the same numbers creates nothing the second time. Use it for the first cards a seller enters by hand, with no CSV and no scanner. Returns the created item ids plus every candidate it refused and why.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"binId",
"physicallyConfirmed",
"items"
],
"properties": {
"binId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The bin these cards physically sit in. A bin id is a container letter plus an incrementing number, like B0001, where the letter names the physical box and the number names the bag inside it. Required."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"scryfallId",
"cardName",
"setCode",
"collectorNumber",
"condition",
"finish",
"qty"
],
"properties": {
"qty": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "The DESIRED TOTAL count of this exact printing, condition and finish in this bin, never an amount to add. Required."
},
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The finish of these copies, using the values listed in this field. Pokemon supports nf (Normal/Unlimited), fo (Holofoil), rh (Reverse Holofoil), 1e (1st Edition) and 1e-fo (1st Edition Holofoil); other games have their own valid finishes. Required."
},
"setCode": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "The set code of this exact printing. Required."
},
"cardName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The card's name, echoed back in the response. Required."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The physical condition of these copies. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id, from spellbook_printings_search. Required; a wrong id records the wrong card."
},
"collectorNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "The collector number of this exact printing. Required."
},
"acquisitionPrice": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Per-copy acquisition cost in USD. When it is omitted or zero, the server records an implied per-card cost from the set's box price instead. Pass the real cost when the person knows it."
},
"acquisitionSource": {
"type": "string",
"default": "agent_intake",
"maxLength": 100,
"minLength": 1,
"description": "Provenance tag for these rows. Defaults to agent_intake; omit unless a different source genuinely applies."
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1,
"description": "Up to 200 exact printing rows to record in this bin. Required, at least one."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to record these cards into. Required; writes only to this workspace."
},
"physicallyConfirmed": {
"type": "boolean",
"const": true,
"description": "Must be true, asserting a person has physically counted these cards. The call is refused when this is omitted or false."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record cards in a bin",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| totalCost |
| number |
| What the seller paid for the whole file in USD, split equally across every copy. Omit when the seller has not stated it; omitting records zero cost. |
| workspaceId * | string | The workspace to import into. Required; writes only to this workspace. |
| blankLocation | string | For a blank cell in a selected location column: generate assigns a fallback bin; error refuses the whole import before writing copies. Defaults to generate. Has no effect without a selected column. |
| locationColumn | any | Location column: auto detects a single common location or bin header, none ignores source locations, or a zero-based original CSV column index selects it explicitly. Defaults to auto. Multiple matching headers require an explicit choice. |
| oneBinPerUpload | boolean | True puts the whole file in one fresh bin instead of packing 200 cards per bin across the rolling sequence. Defaults to false. Refused when any imported row has a mapped location. |
{
"name": "spellbook_inventory_import_csv",
"description": "Import a seller's own ManaBox export or TCGplayer inventory export into one workspace, the same import the SpellBook Finance web app runs. The server parses the CSV, resolves each row to an exact printing, preserves mapped location labels or assigns fallback bins, and creates one inventory copy per card. TCGplayer Pokémon and Riftbound rows require the catalog's exact game, provider product identity, finish, condition, and language; incomplete or mismatched rows are skipped with a repair reason and never default to Magic, English, or nonfoil. Sending the identical CSV again returns the first result with duplicate true and creates nothing. Returns the importId, how many copies were written, the bins used, and every row it could not parse or skipped.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"source",
"csv"
],
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "The full CSV text, header row included, exactly as the export produced it. Required. At most 200,000 characters."
},
"source": {
"enum": [
"manabox",
"tcg"
],
"type": "string",
"description": "Which export this is: manabox for a ManaBox CSV (needs Scryfall ID, Quantity, Condition and Foil columns), tcg for a TCGplayer seller inventory export (needs the TCGplayer Id column). Required."
},
"binName": {
"type": "string",
"pattern": "^[A-Za-z0-9 _-]+$",
"maxLength": 48,
"minLength": 1,
"description": "A human name for that one bin, 1 to 48 letters, digits, spaces, dashes or underscores. Honored only when oneBinPerUpload is true. A name another import already holds is refused."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"binPrefix": {
"type": "string",
"pattern": "^[A-Z]$",
"description": "One capital letter that starts fallback bin codes for copies without a mapped location, e.g. C gives C0001, C0002. Defaults to C."
},
"totalCost": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "What the seller paid for the whole file in USD, split equally across every copy. Omit when the seller has not stated it; omitting records zero cost."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to import into. Required; writes only to this workspace."
},
"blankLocation": {
"enum": [
"generate",
"error"
],
"type": "string",
"description": "For a blank cell in a selected location column: generate assigns a fallback bin; error refuses the whole import before writing copies. Defaults to generate. Has no effect without a selected column."
},
"locationColumn": {
"anyOf": [
{
"enum": [
"auto",
"none"
],
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
],
"description": "Location column: auto detects a single common location or bin header, none ignores source locations, or a zero-based original CSV column index selects it explicitly. Defaults to auto. Multiple matching headers require an explicit choice."
},
"oneBinPerUpload": {
"type": "boolean",
"description": "True puts the whole file in one fresh bin instead of packing 200 cards per bin across the rolling sequence. Defaults to false. Refused when any imported row has a mapped location."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Import a ManaBox or TCGplayer CSV",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| True gives each deck its own fresh bin; send true for a display or case. Defaults to false, which packs cards into the rolling bin sequence. |
| acquisitionDate * | string | The date the seller bought it, as YYYY-MM-DD. Required. |
| overrideDuplicate | boolean | True imports even when this seller already imported the same product. Set it only when the person confirms a second physical copy. |
{
"name": "spellbook_inventory_precon_import",
"description": "Add opened Commander precon decks, displays or cases to inventory as individual cards, the same Add Commander deck flow the web app runs. The server reads the cached decklist for that TCGplayer product, splits a display or case into its decks, creates one inventory copy per card at the exact printing, assigns bins, and splits the price paid across the cards. Returns importId, copy count, and bin counts with deckName.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"tcgProductId",
"paidPriceUsd",
"acquisitionDate",
"binPrefix"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"binPrefix": {
"type": "string",
"pattern": "^[A-Z]$",
"description": "One capital letter that starts the auto-assigned bin codes, e.g. C gives C0001. Required."
},
"copyCount": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many copies of the whole product were opened, 1 to 20. Default 1."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to add the cards to, from spellbook_workspaces_list. Required; writes only to this workspace."
},
"paidPriceUsd": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "USD paid for ONE copy of tcgProductId: one deck, or the whole display or case. Required. Send 0 only when it cost nothing."
},
"tcgProductId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Exact TCGplayer product id of a sealed precon deck, or a Commander display or case, from spellbook_sealed_product_search. Required. Set of N, Bundle of N or Collection of N names are refused.",
"exclusiveMinimum": 0
},
"oneBinPerDeck": {
"type": "boolean",
"description": "True gives each deck its own fresh bin; send true for a display or case. Defaults to false, which packs cards into the rolling bin sequence."
},
"acquisitionDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date the seller bought it, as YYYY-MM-DD. Required."
},
"overrideDuplicate": {
"type": "boolean",
"description": "True imports even when this seller already imported the same product. Set it only when the person confirms a second physical copy."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Add a Commander precon, display or case",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| The workspace that bought the cards, from spellbook_workspaces_list. Required; writes only to this workspace. |
{
"name": "spellbook_purchase_incoming_record",
"description": "Record single cards the customer bought on a marketplace that have not arrived yet, one row per exact printing with the quantity and the price paid per copy. Each copy is written as pending receipt under one order, so it counts as incoming and cannot be listed or sold until it is received. Returns the order's acquisitionSource, the copy count, the total cost and the bins the copies will go into. Use it right after the customer completes a marketplace checkout for singles found through spellbook_buy_targets or spellbook_singles_buylist_spreads. It never buys anything and moves no money. A card already in hand goes through spellbook_inventory_bin_ensure instead. When the package arrives, call spellbook_inventory_incoming_receive with the returned acquisitionSource.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"orderRef",
"marketplace",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"scryfallId",
"cardName",
"setCode",
"collectorNumber",
"condition",
"finish",
"quantity",
"unitPriceUsd"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The finish of these copies, using the values listed in this field. Required."
},
"setCode": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "The set code of this exact printing. Required."
},
"cardName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The card's name. Required."
},
"quantity": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "How many copies of this printing, condition and finish the order bought. Required, at least 1."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The condition the listing was sold as. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id, from spellbook_printings_search. Required; a wrong id records the wrong card."
},
"unitPriceUsd": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "The price paid for ONE copy in USD, as the checkout showed it. Required."
},
"collectorNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "The collector number of this exact printing. Required."
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1,
"description": "The order's lines, one per exact printing, condition and finish. Required, at least one."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"orderRef": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The marketplace's order number from the checkout confirmation. Required. The same order number groups every copy for receiving."
},
"sellerName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The seller's store name on the marketplace, when the checkout shows one. Shown beside the order in the incoming list."
},
"marketplace": {
"enum": [
"tcgplayer",
"ebay",
"manapool",
"cardtrader",
"other"
],
"type": "string",
"description": "Where the order was placed. Required. Use other for any marketplace not listed."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that bought the cards, from spellbook_workspaces_list. Required; writes only to this workspace."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record purchased singles on the way",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| integer |
| Maximum copies to submit in this call. Omit for the default batch size. |
| multiplier * | number | Price multiplier applied to each copy's market price, e.g. 0.96 lists at 96% of market. Required. |
| workspaceId * | string | The workspace whose owned copies to publish. Required. |
{
"name": "spellbook_ebay_publish",
"description": "Publish owned copies from one workspace as live eBay listings, priced by a stated rule. Pass itemIds to publish one exact card. ALWAYS call it once with dryRun true and show the person the counts and the preflight before calling it again with dryRun false, because a live run creates real listings a real buyer can buy. Pricing anchors on market price, never on what the seller paid: multiplier 0.96 lists at 96% of market, and floorUsd only ever raises a price. A live run returns a queued jobId, or the reason nothing published. A queued job has listed nothing yet, so call spellbook_ebay_job_status with that jobId before telling the person any card is live.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"multiplier"
],
"properties": {
"binId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Restrict publishing to one exact bin. Omit to consider every owned copy."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "True previews the run with no live listings created. False publishes for real. Defaults to true; a live run needs an explicit false."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Restrict publishing to these exact Item ids, from a prior spellbook_inventory_items_query. Pass one id to list one card. The owned-only rule still applies to each id. Omit to consider every owned copy."
},
"floorUsd": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "A price floor in USD that only ever raises a computed price. Omit for no floor."
},
"setCodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"maxItems": 50,
"description": "Restrict publishing to these set codes. Omit to consider every set."
},
"batchSize": {
"type": "integer",
"maximum": 2000,
"minimum": 1,
"description": "Maximum copies to submit in this call. Omit for the default batch size."
},
"multiplier": {
"type": "number",
"maximum": 20,
"description": "Price multiplier applied to each copy's market price, e.g. 0.96 lists at 96% of market. Required.",
"exclusiveMinimum": 0
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose owned copies to publish. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Publish cards to eBay",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| number |
| The listing price in USD for the whole deck, from 0.99 to 2000. Required. The person decides it. |
| archetype | string | An archetype label for the listing, such as Burn. Omit when the deck has none. |
| deckFormat | string | A Scryfall legality format key such as pauper or commander. When set, a card that is not legal or restricted in it blocks a live run. Omit to skip the legality check. |
| shippingUsd * | number | The flat shipping charge in USD the buyer pays, from 0 to 50. Use 0 for free shipping. Required. |
| workspaceId * | string | The workspace whose copies make up the deck. Required. |
{
"name": "spellbook_ebay_lot_publish",
"description": "Publish a player-built deck from one workspace as ONE live eBay listing in eBay's player-built decks category. You choose the cards, the title, the summary, the ask and the shipping charge. This tool never suggests a price, ranks cards or picks a deck for you. It reports, per card, how many free near-mint copies the workspace holds and, when deckFormat is set, whether Scryfall lists the card as legal in that format. ALWAYS call it once with dryRun true and show the person the preview, the per-card counts and the refusals before calling it again with dryRun false, because a live run creates a real listing a real buyer can buy. A live run returns the eBay listingId and listingUrl, or the refusals. It does not reserve the copies, and it does not know whether another channel sells them first.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"title",
"summary",
"cards",
"priceUsd",
"shippingUsd"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"scryfallId",
"quantity"
],
"properties": {
"quantity": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "How many copies of this card the deck holds."
},
"scryfallId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The Scryfall id of one printing, from spellbook_printings_search. Any printing of the card counts toward the same card name."
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "The deck list, at most 100 rows and 500 cards in total. Rows that share a card name are merged. Required."
},
"title": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The eBay listing title, at most 80 characters. Required."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "True previews the listing with no eBay call. False publishes for real. Defaults to true; a live run needs an explicit false."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "A short description of the deck for the listing body, at most 1000 characters. Required."
},
"priceUsd": {
"type": "number",
"maximum": 2000,
"minimum": 0.99,
"description": "The listing price in USD for the whole deck, from 0.99 to 2000. Required. The person decides it."
},
"archetype": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "An archetype label for the listing, such as Burn. Omit when the deck has none."
},
"deckFormat": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "A Scryfall legality format key such as pauper or commander. When set, a card that is not legal or restricted in it blocks a live run. Omit to skip the legality check."
},
"shippingUsd": {
"type": "number",
"maximum": 50,
"minimum": 0,
"description": "The flat shipping charge in USD the buyer pays, from 0 to 50. Use 0 for free shipping. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose copies make up the deck. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Publish a deck to eBay",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| number |
| Optional minimum ask in USD. Existing backend floors and locks can still raise the resulting ask. |
| setCodes | array | Restrict the run to these set codes. Omit for every live eBay listing in the workspace. |
| multiplier | number | Market multiplier such as 0.96. Required with pricing multiplier; omit with saved_rules. |
| workspaceId * | string | The workspace whose existing eBay listings to reprice. Required. |
| acquisitionSource | string | Restrict the run to one exact acquisition source. Omit for every live eBay listing in the workspace. |
| skipIfWithinPercent | number | Skip an existing ask already within this percentage of the target. Defaults to 2. |
{
"name": "spellbook_ebay_reprice",
"description": "Preview or reprice existing live eBay listings in one seller workspace using owner-accepted saved rules or a market multiplier and optional floor. Read spellbook_agent_pricing_protection first. A workspace in saved_rules_only mode requires pricing saved_rules; the server uses its accepted rules. This is a one-run marketplace override: it changes current eBay asks, creates no listing, and saves no pricing profile or durable override. Preview first with the default dryRun true. A preview with itemIds returns its counts at once. Any other preview returns state planning and a jobId, so read its counts with spellbook_ebay_job_status. An explicit dryRun false queues an async reprice job. Read that job with spellbook_ebay_job_status until each affected listing reaches its terminal state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"binId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Restrict the run to one exact inventory bin. Omit for every live eBay listing in the workspace."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "True previews the listings and counts with no marketplace change. False queues the reprice job. Defaults to true; applying requires explicit false."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Restrict the run to these exact listed Item ids from spellbook_inventory_items_query. Omit for every live eBay listing in the workspace."
},
"pricing": {
"enum": [
"multiplier",
"saved_rules"
],
"type": "string",
"default": "multiplier",
"description": "Use saved_rules to run the owner's accepted eBay strategy without caller pricing overrides. multiplier applies a one-run override where delegated permissions allow it."
},
"floorUsd": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "Optional minimum ask in USD. Existing backend floors and locks can still raise the resulting ask."
},
"setCodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"maxItems": 50,
"description": "Restrict the run to these set codes. Omit for every live eBay listing in the workspace."
},
"multiplier": {
"type": "number",
"maximum": 20,
"description": "Market multiplier such as 0.96. Required with pricing multiplier; omit with saved_rules.",
"exclusiveMinimum": 0
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose existing eBay listings to reprice. Required."
},
"acquisitionSource": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Restrict the run to one exact acquisition source. Omit for every live eBay listing in the workspace."
},
"skipIfWithinPercent": {
"type": "number",
"default": 2,
"maximum": 50,
"minimum": 0,
"description": "Skip an existing ask already within this percentage of the target. Defaults to 2."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Reprice eBay listings",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_manapool_sync_apply",
"description": "Send a previewed batch of changes to ManaPool, creating, repricing and removing real listings. Takes the previewToken from spellbook_manapool_sync_preview, which must still be valid. Applies at most maxActions in one call and returns remainingActionCount with nextActionCursor, so a full book takes several calls. Show the person the preview before the first call, not after.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"previewToken"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorUsd": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "Must match the floorUsd used to build the preview, or the token is refused."
},
"maxActions": {
"type": "integer",
"default": 50,
"maximum": 250,
"minimum": 1,
"description": "Maximum actions to apply in this call, 1 to 250. Omit for the default of 50; call again with the same token to continue."
},
"multiplier": {
"type": "number",
"maximum": 10,
"description": "Must match the multiplier used to build the preview, or the token is refused.",
"exclusiveMinimum": 0
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose previewed changes to apply. Required."
},
"previewToken": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "The previewToken from spellbook_manapool_sync_preview. Must still be valid; a stale token is refused."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Apply a ManaPool sync",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "spellbook_marketplace_listings_adopt_preview",
"description": "Read the live listings on the workspace's connected eBay, TCGplayer or ManaPool account and preview how each one maps to an exact printing, without changing the marketplace or inventory. Omit previewId to start a read. The read runs in the background, so the first answer has status queued or reading. Call again with previewId latest until status is ready. A ready preview lists adoptable listings with the printing, finish and condition read from each one, the facts that named it (matchSource), and how many copies link to owned items or need a new item. Unmatched listings carry one reason each. Show the person the counts and cap, then call spellbook_marketplace_listings_adopt_apply with the previewId. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"channel": {
"enum": [
"ebay",
"tcg",
"manapool"
],
"type": "string",
"default": "ebay",
"description": "The marketplace whose live listings to adopt: ebay, tcg for TCGplayer, or manapool. Defaults to ebay."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"previewId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,100}$",
"description": "Omit to start a new read of the live listings. Pass latest, or a previewId from an earlier call, to read a stored preview without a new eBay read."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose connected marketplace account to read. Required. Only the workspace owner can start a read."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview marketplace listing adoption",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_marketplace_listings_adopt_apply",
"description": "Adopt the listings in a ready preview from spellbook_marketplace_listings_adopt_preview. Each remote copy is linked to an owned item or gets a new item in the channel's import bin (EBAY-IMPORT, TCG-IMPORT or MANAPOOL-IMPORT), and the listing is recorded as managed by SpellBook. Each adopted printing gets an exact price lock at its live price. Nothing on the marketplace is edited, ended or relisted, and nothing is published. Applying runs in the background. The first answer has applyStatus applying. Call spellbook_marketplace_listings_adopt_preview with previewId latest until applyStatus is applied. Show the person the preview before the first call. Allowances report baseUnitAllowance, referralBonusUnits, and nominalUnitAllowance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"previewId"
],
"properties": {
"channel": {
"enum": [
"ebay",
"tcg",
"manapool"
],
"type": "string",
"default": "ebay",
"description": "The marketplace of the preview: ebay, tcg for TCGplayer, or manapool. Defaults to ebay."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"maxUnits": {
"type": "integer",
"maximum": 1000000,
"description": "Adopt whole listings, highest live price first, until this many copies. Omit to adopt every adoptable listing. Pass it only when the person asks to adopt fewer copies. The allowance never requires it.",
"exclusiveMinimum": 0
},
"previewId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,100}$",
"description": "The previewId of a ready, unexpired preview from spellbook_marketplace_listings_adopt_preview. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the preview. Required. Only the workspace owner can apply."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Adopt marketplace listings",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| language | string | The product language code, such as EN or JA. Defaults to EN. |
| takeover | boolean | True adopts a listing on the selected marketplace that SpellBook did not create. Defaults to false; pass true only after the person agrees. |
| priceRule | string | market asks the catalog market price. undercut sets the ask so the item plus the seller's own shipping lands one cent under the cheapest TCGplayer item plus shipping from another seller, never below the floor. Omit for market. |
| workspaceId * | string | The workspace that holds the sealed units, from spellbook_workspaces_list. Required. |
| fixedPriceUsd | number | A fixed ask in USD for every unit. Omit to list at the product's current market price. Cannot be combined with priceRule. |
| floorMarketFraction | number | undercut only. The floor as a fraction of catalog market, used when floorUsd is omitted. Defaults to 0.9. |
{
"name": "spellbook_sealed_listing_preview",
"description": "Preview one sealed listing on ManaPool or TCGplayer without publishing. Returns the proposed quantity and ask, any current offer, TCG publisher readback state, stock and intent revisions, and blockers. For TCGplayer, the first call may queue an exact seller-grid SKU read; call again after the paired extension finishes. After submitting, call preview again: publisher.state live confirms an offer, and removed confirms a zero-quantity removal. Pass this preview's channel, ask, and revisions to spellbook_sealed_listing_submit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"boxId",
"kind"
],
"properties": {
"cap": {
"type": "integer",
"maximum": 1000,
"minimum": 0,
"description": "The most units to offer at once. Omit to offer every eligible unit."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"default": "mtg",
"description": "The game of the product. Defaults to mtg."
},
"kind": {
"enum": [
"box",
"pack",
"case"
],
"type": "string",
"description": "The sealed kind, the kind on the same spellbook_sealed_portfolio row. Required, because units are counted by kind and boxId together."
},
"boxId": {
"type": "string",
"pattern": "^\\d{1,12}$",
"description": "The TCGplayer product id of the sealed product, the boxId on a spellbook_sealed_portfolio row. Required."
},
"channel": {
"enum": [
"manapool",
"tcgplayer"
],
"type": "string",
"default": "manapool",
"description": "Marketplace to preview. Defaults to manapool."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorUsd": {
"type": "number",
"maximum": 100000,
"description": "undercut only. The lowest ask in USD the rule may choose. Omit to use catalog market times floorMarketFraction.",
"exclusiveMinimum": 0
},
"language": {
"type": "string",
"default": "EN",
"maxLength": 8,
"minLength": 2,
"description": "The product language code, such as EN or JA. Defaults to EN."
},
"takeover": {
"type": "boolean",
"default": false,
"description": "True adopts a listing on the selected marketplace that SpellBook did not create. Defaults to false; pass true only after the person agrees."
},
"priceRule": {
"enum": [
"market",
"undercut"
],
"type": "string",
"description": "market asks the catalog market price. undercut sets the ask so the item plus the seller's own shipping lands one cent under the cheapest TCGplayer item plus shipping from another seller, never below the floor. Omit for market."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that holds the sealed units, from spellbook_workspaces_list. Required."
},
"fixedPriceUsd": {
"type": "number",
"maximum": 100000,
"description": "A fixed ask in USD for every unit. Omit to list at the product's current market price. Cannot be combined with priceRule.",
"exclusiveMinimum": 0
},
"floorMarketFraction": {
"type": "number",
"maximum": 1,
"description": "undercut only. The floor as a fraction of catalog market, used when floorUsd is omitted. Defaults to 0.9.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview a sealed listing",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| The product language code, such as EN or JA. Defaults to EN. |
| takeover | boolean | True adopts a listing on the selected marketplace that SpellBook did not create. Defaults to false; pass true only after the person agrees. |
| priceRule | string | market asks the catalog market price. undercut sets the ask so the item plus the seller's own shipping lands one cent under the cheapest TCGplayer item plus shipping from another seller, never below the floor. Omit for market. |
| workspaceId * | string | The workspace that holds the sealed units, from spellbook_workspaces_list. Required. |
| fixedPriceUsd | number | A fixed ask in USD for every unit. Omit to list at the product's current market price. Cannot be combined with priceRule. |
| expectedAskUsd * | number | proposed.askUsd from the preview. Required; a different value means the market ask changed and the call is refused. |
| idempotencyKey * | string | A unique request key for this publish attempt, such as a new UUID. If the result is uncertain, preview current state before deciding on another submit. Required. |
| floorMarketFraction | number | undercut only. The floor as a fraction of catalog market, used when floorUsd is omitted. Defaults to 0.9. |
| expectedStockRevision * | integer | proposed.stockRevision from the preview. Required; a different value means stock moved and the call is refused. |
| expectedIntentRevision | any | intentRevision from the preview. Pass it unchanged, null included. |
{
"name": "spellbook_sealed_listing_submit",
"description": "Submit one sealed product listing to ManaPool or TCGplayer at the exact quantity and ask shown by spellbook_sealed_listing_preview. Pass the same channel and product arguments, plus proposed.stockRevision, proposed.askUsd, and intentRevision unchanged. ManaPool submits directly. TCGplayer queues the paired browser writer. A queued TCG write is pending until an exact seller-grid readback confirms it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"boxId",
"kind",
"expectedStockRevision",
"expectedAskUsd",
"idempotencyKey"
],
"properties": {
"cap": {
"type": "integer",
"maximum": 1000,
"minimum": 0,
"description": "The most units to offer at once. Omit to offer every eligible unit."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"default": "mtg",
"description": "The game of the product. Defaults to mtg."
},
"kind": {
"enum": [
"box",
"pack",
"case"
],
"type": "string",
"description": "The sealed kind, the kind on the same spellbook_sealed_portfolio row. Required, because units are counted by kind and boxId together."
},
"boxId": {
"type": "string",
"pattern": "^\\d{1,12}$",
"description": "The TCGplayer product id of the sealed product, the boxId on a spellbook_sealed_portfolio row. Required."
},
"channel": {
"enum": [
"manapool",
"tcgplayer"
],
"type": "string",
"default": "manapool",
"description": "Marketplace to submit to. Must match the preview. Defaults to manapool."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"floorUsd": {
"type": "number",
"maximum": 100000,
"description": "undercut only. The lowest ask in USD the rule may choose. Omit to use catalog market times floorMarketFraction.",
"exclusiveMinimum": 0
},
"language": {
"type": "string",
"default": "EN",
"maxLength": 8,
"minLength": 2,
"description": "The product language code, such as EN or JA. Defaults to EN."
},
"takeover": {
"type": "boolean",
"default": false,
"description": "True adopts a listing on the selected marketplace that SpellBook did not create. Defaults to false; pass true only after the person agrees."
},
"priceRule": {
"enum": [
"market",
"undercut"
],
"type": "string",
"description": "market asks the catalog market price. undercut sets the ask so the item plus the seller's own shipping lands one cent under the cheapest TCGplayer item plus shipping from another seller, never below the floor. Omit for market."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that holds the sealed units, from spellbook_workspaces_list. Required."
},
"fixedPriceUsd": {
"type": "number",
"maximum": 100000,
"description": "A fixed ask in USD for every unit. Omit to list at the product's current market price. Cannot be combined with priceRule.",
"exclusiveMinimum": 0
},
"expectedAskUsd": {
"type": "number",
"maximum": 100000,
"description": "proposed.askUsd from the preview. Required; a different value means the market ask changed and the call is refused.",
"exclusiveMinimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8,
"description": "A unique request key for this publish attempt, such as a new UUID. If the result is uncertain, preview current state before deciding on another submit. Required."
},
"floorMarketFraction": {
"type": "number",
"maximum": 1,
"description": "undercut only. The floor as a fraction of catalog market, used when floorUsd is omitted. Defaults to 0.9.",
"exclusiveMinimum": 0
},
"expectedStockRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "proposed.stockRevision from the preview. Required; a different value means stock moved and the call is refused."
},
"expectedIntentRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"description": "intentRevision from the preview. Pass it unchanged, null included."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List sealed product",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| expectedIntentRevision * | integer | The non-null intentRevision from a fresh spellbook_sealed_listing_preview. Required. |
{
"name": "spellbook_sealed_listing_pause",
"description": "Remove one SpellBook-managed sealed listing from ManaPool or set its TCGplayer quantity to zero through the paired browser. Call spellbook_sealed_listing_preview first and pass its channel and intentRevision unchanged. A product with no saved SpellBook intent cannot be removed by this tool.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"boxId",
"kind",
"expectedIntentRevision",
"idempotencyKey"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"default": "mtg",
"description": "The product game. Defaults to mtg."
},
"kind": {
"enum": [
"box",
"pack",
"case"
],
"type": "string",
"description": "The sealed kind from the same portfolio row. Required."
},
"boxId": {
"type": "string",
"pattern": "^\\d{1,12}$",
"description": "The exact TCGplayer sealed product id from the portfolio row. Required."
},
"channel": {
"enum": [
"manapool",
"tcgplayer"
],
"type": "string",
"default": "manapool",
"description": "Marketplace whose managed listing should be removed. Defaults to manapool."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"language": {
"type": "string",
"default": "EN",
"maxLength": 8,
"minLength": 2,
"description": "The product language code. Defaults to EN."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that owns the listing. Required."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8,
"description": "A unique request key for this removal, such as a new UUID. If the result is uncertain, preview current state before deciding on another pause. Required."
},
"expectedIntentRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "The non-null intentRevision from a fresh spellbook_sealed_listing_preview. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove a sealed listing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "spellbook_ebay_combined_shipping_set",
"description": "Set the caller's connected eBay combined-shipping charge and optional amount-threshold offer or maximum shipping cost per order, then return Account API readback. Read spellbook_ebay_combined_shipping_get first. Configure an amount-only single-item Shipping discount separately in Seller Hub.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"profileName": {
"type": "string",
"default": "SpellBook Finance Combined Shipping",
"maxLength": 50,
"minLength": 1,
"description": "Seller-selected eBay rule name. Defaults to SpellBook Finance Combined Shipping."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns; used for delegated authorization. Required."
},
"combinedDuration": {
"enum": [
"Days_1",
"Days_3",
"Days_4",
"Days_5",
"Days_7",
"Days_30"
],
"type": "string",
"description": "Optional buyer accumulation window. Omit to preserve the existing eBay window; a new account without one falls back to Days_7."
},
"eachAdditionalAmountUsd": {
"type": "number",
"default": 0,
"maximum": 99,
"minimum": 0,
"description": "Seller-selected shipping charge for each additional item in USD. Defaults to 0."
},
"promotionalShippingRule": {
"anyOf": [
{
"type": "object",
"required": [
"orderAmountUsd",
"shippingCostUsd"
],
"properties": {
"orderAmountUsd": {
"type": "number",
"maximum": 10000,
"description": "Minimum order subtotal for promotional shipping in USD. Required for an amount-threshold offer.",
"exclusiveMinimum": 0
},
"shippingCostUsd": {
"type": "number",
"maximum": 99,
"minimum": 0,
"description": "Shipping charged when the order reaches the amount threshold in USD; use zero for free shipping. Required for an amount-threshold offer."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ruleType",
"maximumShippingCostPerOrderUsd"
],
"properties": {
"ruleType": {
"type": "string",
"const": "maximum_shipping_cost_per_order",
"description": "Select a maximum total shipping cost for a combined order."
},
"maximumShippingCostPerOrderUsd": {
"type": "number",
"maximum": 99,
"minimum": 0,
"description": "Maximum shipping cost for the combined order in USD."
}
},
"additionalProperties": false
}
],
"description": "Optional shipping promotion. Use {orderAmountUsd, shippingCostUsd} for the existing amount-threshold offer or {ruleType: maximum_shipping_cost_per_order, maximumShippingCostPerOrderUsd} to cap shipping per order. Omit it to preserve the existing promotion."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set eBay combined shipping",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| expectedPolicyRevision * | integer | Policy revision from spellbook_ebay_price_limits_get. Required. |
{
"name": "spellbook_ebay_price_limit_enrollment_prepare",
"description": "Prepare an account-wide enrollment proposal from explicit owner-selected bounds and times. Returns a durable header and coverage counts. Explain the quiet interval prerequisite before calling: controlled price admissions and relevant membership changes can invalidate discovery. Continue with spellbook_ebay_price_limit_enrollment_continue; the owner reviews and activates in the web app.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scope",
"startsAt",
"endsAt",
"decreaseCents",
"increaseCents",
"expectedPolicyRevision"
],
"properties": {
"scope": {
"type": "string",
"const": "known_ordinary_usd_live",
"description": "Known ordinary live USD listings for the verified eBay account. Required."
},
"endsAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "Owner-selected exclusive admission-window end as a UTC timestamp. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"startsAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "Owner-selected inclusive admission-window start as a UTC timestamp. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"decreaseCents": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Owner-selected absolute USD cents below each observed baseline. Required; no default."
},
"increaseCents": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Owner-selected absolute USD cents above each observed baseline. Required; no default."
},
"expectedPolicyRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Policy revision from spellbook_ebay_price_limits_get. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Prepare eBay price-limit enrollment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "spellbook_sku_exact_price_lock_set",
"description": "Set one seller SKU's unprotected exact-price lock and return its saved readback. Identify the exact printing, finish and condition. A seller-protected lock refuses agent changes. Call spellbook_sku_price_controls first to inspect protection. Saving a lock does not publish or trigger repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"scryfallId",
"finish",
"condition",
"priceUsd"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The exact finish for the SKU: nf, fo, etched, surge, rh, 1e or 1e-fo. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"priceUsd": {
"type": "number",
"maximum": 1000000,
"description": "The seller-selected exact locked price in USD. Required.",
"exclusiveMinimum": 0
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The exact physical condition for the SKU. Required."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact Scryfall printing id. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set one SKU exact-price lock",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_pricing_profile_create",
"description": "Create one seller pricing profile from a seller-selected name and explicit baseline multiplier and floor, with optional dollar offset, ordinary channel overrides, or a fixed equal-probability eBay base-price trial. A trial requires an explicit experiment id, positive allocation epoch and two different seller-selected multipliers. Returns saved profile and pin readback. It does not activate, publish or immediately reprice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"name",
"mult",
"floor"
],
"properties": {
"mult": {
"type": "number",
"description": "Explicit baseline market multiplier. Required.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Seller-selected profile name. Required."
},
"floor": {
"type": "number",
"minimum": 0,
"description": "Explicit baseline floor in USD. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"marketOffsetUsd": {
"type": "number",
"maximum": 1000,
"minimum": -1000,
"description": "Optional baseline dollar adjustment."
},
"channelOverrides": {
"type": "object",
"required": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"description": "Seller-approved overrides by marketplace channel. Omit when none are needed.",
"propertyNames": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"mult": {
"type": "number",
"description": "Optional channel multiplier override.",
"exclusiveMinimum": 0
},
"floor": {
"type": "number",
"minimum": 0,
"description": "Optional channel floor in USD."
},
"valueBands": {
"type": "array",
"items": {
"type": "object",
"required": [
"minUsd",
"mult"
],
"properties": {
"mult": {
"type": "number",
"description": "Seller multiplier for this value band. Required.",
"exclusiveMinimum": 0
},
"floor": {
"type": "number",
"minimum": 0,
"description": "Seller minimum price in USD for this value band. Omit to inherit the profile floor."
},
"label": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Seller label for this ordinary market-value band. Omit when unlabeled."
},
"maxUsd": {
"type": "number",
"description": "Exclusive upper market value in USD. Omit for no upper bound.",
"exclusiveMinimum": 0
},
"minUsd": {
"type": "number",
"minimum": 0,
"description": "Inclusive lower market value in USD. Required."
},
"marketOffsetUsd": {
"type": "number",
"maximum": 1000,
"minimum": -1000,
"description": "Seller dollar adjustment after the market multiplier. Omit for no adjustment."
}
},
"additionalProperties": false
},
"maxItems": 8,
"description": "Optional ordinary market-value bands for this channel."
},
"basePriceTrial": {
"type": "object",
"required": [
"enabled",
"experimentId",
"allocationEpoch",
"controlMultiplier",
"treatmentMultiplier"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "Explicitly enable or disable the fixed trial."
},
"experimentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Seller-selected stable experiment id."
},
"allocationEpoch": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Positive revision for this trial configuration; assignment stays stable for the experiment id. Use a new experimentId to create a new allocation.",
"exclusiveMinimum": 0
},
"controlMultiplier": {
"type": "number",
"maximum": 20,
"description": "Seller-selected control market multiplier.",
"exclusiveMinimum": 0
},
"treatmentMultiplier": {
"type": "number",
"maximum": 20,
"description": "Seller-selected treatment market multiplier; must differ while enabled.",
"exclusiveMinimum": 0
}
},
"description": "Optional fixed equal-probability eBay base-price trial. Seller supplies both multipliers; this is not adaptive.",
"additionalProperties": false
},
"marketOffsetUsd": {
"type": "number",
"maximum": 1000,
"minimum": -1000,
"description": "Optional channel dollar adjustment."
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create a seller pricing profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "spellbook_pricing_profile_update",
"description": "Update selected seller-approved fields on one pricing profile and return saved profile and pin readback. Omitted fields stay unchanged. Null clears one channel override or only its eBay base-price trial.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"profileId"
],
"properties": {
"mult": {
"type": "number",
"description": "Replacement baseline multiplier.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Replacement seller-selected profile name."
},
"floor": {
"type": "number",
"minimum": 0,
"description": "Replacement baseline floor in USD."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"profileId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved pricing profile id from a prior pricing profile read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"marketOffsetUsd": {
"type": "number",
"maximum": 1000,
"minimum": -1000,
"description": "Replacement baseline dollar adjustment."
},
"channelOverrides": {
"type": "object",
"required": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"description": "Selected per-channel overrides; omit to preserve all, null to clear one channel entry.",
"propertyNames": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "object",
"properties": {
"mult": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "Channel multiplier override; null clears only this override."
},
"floor": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "Channel floor override; null clears only this override."
},
"valueBands": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"minUsd",
"mult"
],
"properties": {
"mult": {
"type": "number",
"description": "Seller multiplier for this value band. Required.",
"exclusiveMinimum": 0
},
"floor": {
"type": "number",
"minimum": 0,
"description": "Seller minimum price in USD for this value band. Omit to inherit the profile floor."
},
"label": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Seller label for this ordinary market-value band. Omit when unlabeled."
},
"maxUsd": {
"type": "number",
"description": "Exclusive upper market value in USD. Omit for no upper bound.",
"exclusiveMinimum": 0
},
"minUsd": {
"type": "number",
"minimum": 0,
"description": "Inclusive lower market value in USD. Required."
},
"marketOffsetUsd": {
"type": "number",
"maximum": 1000,
"minimum": -1000,
"description": "Seller dollar adjustment after the market multiplier. Omit for no adjustment."
}
},
"additionalProperties": false
},
"maxItems": 8
},
{
"type": "null"
}
],
"description": "Channel value bands; null clears only this override."
},
"basePriceTrial": {
"anyOf": [
{
"type": "object",
"required": [
"enabled",
"experimentId",
"allocationEpoch",
"controlMultiplier",
"treatmentMultiplier"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "Explicitly enable or disable the fixed trial."
},
"experimentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Seller-selected stable experiment id."
},
"allocationEpoch": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Positive revision for this trial configuration; assignment stays stable for the experiment id. Use a new experimentId to create a new allocation.",
"exclusiveMinimum": 0
},
"controlMultiplier": {
"type": "number",
"maximum": 20,
"description": "Seller-selected control market multiplier.",
"exclusiveMinimum": 0
},
"treatmentMultiplier": {
"type": "number",
"maximum": 20,
"description": "Seller-selected treatment market multiplier; must differ while enabled.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Optional fixed equal-probability eBay base-price trial; null clears only this trial."
},
"marketOffsetUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000,
"minimum": -1000
},
{
"type": "null"
}
],
"description": "Channel dollar adjustment; null clears only this override."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a seller pricing profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| any |
| Marketplace scope. Required. |
{
"name": "spellbook_pricing_amendment_create",
"description": "Create one bounded seller pricing amendment from a selector, marketplace scope, absolute multiplier and optional protected band. Returns saved readback. The server retains its adaptive default internally; this tool has no demand behavior input and does not publish or reprice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"name",
"priority",
"selector",
"marketplaceScope",
"mode"
],
"properties": {
"mode": {
"type": "object",
"required": [
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Absolute multiplier applied by this amendment. Required.",
"exclusiveMinimum": 0
},
"protectedBand": {
"type": "object",
"required": [
"thresholdUsd",
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Protected multiplier at or above the threshold.",
"exclusiveMinimum": 0
},
"thresholdUsd": {
"type": "number",
"description": "Original market anchor threshold in USD.",
"exclusiveMinimum": 0
}
},
"description": "Optional seller-approved protected band.",
"additionalProperties": false
}
},
"description": "Absolute multiplier and optional protected band. Required.",
"additionalProperties": false
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Seller-selected amendment name. Required."
},
"notes": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"description": "Optional seller notes; null clears notes."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"enabled": {
"type": "boolean",
"default": true,
"description": "Whether the amendment starts enabled. Omit for enabled."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Seller-selected precedence priority. Required."
},
"selector": {
"type": "object",
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Optional finish selector."
},
"setCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Set code selector."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "Optional condition selector."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact Scryfall printing selector. Requires setCode when supplied."
},
"releaseFamilyCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Release family selector."
},
"originalAnchorPriceBand": {
"type": "object",
"properties": {
"maxUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band upper bound in USD."
},
"minUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band lower bound in USD."
}
},
"description": "Optional original market anchor band selector.",
"additionalProperties": false
}
},
"description": "The bounded inventory selector. Required.",
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"marketplaceScope": {
"anyOf": [
{
"type": "string",
"const": "all",
"description": "Apply across all supported marketplaces."
},
{
"type": "object",
"required": [
"channels"
],
"properties": {
"channels": {
"type": "array",
"items": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "Specific marketplace channels for this amendment."
}
},
"additionalProperties": false
}
],
"description": "Marketplace scope. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create a seller pricing amendment",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| marketplaceScope |
| any |
| Replacement marketplace scope. |
{
"name": "spellbook_pricing_amendment_update",
"description": "Update selected fields on one saved pricing amendment and return saved readback. Omitted fields preserve existing values, including server-owned demand behavior. The update does not publish or trigger repricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"amendmentId"
],
"properties": {
"mode": {
"type": "object",
"required": [
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Absolute multiplier applied by this amendment. Required.",
"exclusiveMinimum": 0
},
"protectedBand": {
"type": "object",
"required": [
"thresholdUsd",
"multiplier"
],
"properties": {
"multiplier": {
"type": "number",
"description": "Protected multiplier at or above the threshold.",
"exclusiveMinimum": 0
},
"thresholdUsd": {
"type": "number",
"description": "Original market anchor threshold in USD.",
"exclusiveMinimum": 0
}
},
"description": "Optional seller-approved protected band.",
"additionalProperties": false
}
},
"description": "Replacement absolute multiplier and optional protected band.",
"additionalProperties": false
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Replacement seller-selected name."
},
"notes": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"description": "Replacement notes; null clears notes."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"enabled": {
"type": "boolean",
"description": "Replacement enabled state."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Replacement precedence priority."
},
"selector": {
"type": "object",
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Optional finish selector."
},
"setCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Set code selector."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "Optional condition selector."
},
"scryfallId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact Scryfall printing selector. Requires setCode when supplied."
},
"releaseFamilyCode": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Release family selector."
},
"originalAnchorPriceBand": {
"type": "object",
"properties": {
"maxUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band upper bound in USD."
},
"minUsd": {
"type": "number",
"minimum": 0,
"description": "Protected band lower bound in USD."
}
},
"description": "Optional original market anchor band selector.",
"additionalProperties": false
}
},
"description": "Replacement bounded selector.",
"additionalProperties": false
},
"amendmentId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The exact saved amendment id from a prior amendment read. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the seller selected. The caller must own it. Required."
},
"marketplaceScope": {
"anyOf": [
{
"type": "string",
"const": "all",
"description": "Apply across all supported marketplaces."
},
{
"type": "object",
"required": [
"channels"
],
"properties": {
"channels": {
"type": "array",
"items": {
"enum": [
"ebay",
"tcg",
"manapool",
"shopify",
"cardtrader"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"description": "Specific marketplace channels for this amendment."
}
},
"additionalProperties": false
}
],
"description": "Replacement marketplace scope."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a seller pricing amendment",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_channel_lane_targets",
"description": "Read the listings SpellBook Finance plans on one channel-lane marketplace for a workspace. It returns the lane's enabled flag, mode, and ask floor, then one target per listing: the card, the copies it holds, the desired quantity and ask, whether the marketplace confirmed both, and what SpellBook last read from the marketplace for it. Pass itemIds to ask about specific scanned copies. Each named copy no target holds comes back in itemsWithoutTarget with a reason. Call it after spellbook_marketplace_onboarding when a seller asks what will list, what is live, or why a card did not list. Call spellbook_channel_lane_set to change the lane's mode or ask floor.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"marketplace"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1,
"description": "Maximum targets per page, 1 to 200. Omit for 100. Ignored when itemIds is set."
},
"cursor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"itemIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Item ids of copies to look up, 1 to 100. The reply holds every target that contains one of them and a reason for each one no target holds. Omit to page through every target."
},
"marketplace": {
"enum": [
"cardtrader",
"ebay",
"manapool",
"misprint",
"shopify"
],
"type": "string",
"description": "The channel-lane marketplace whose listing targets to read."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose listing targets to read. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read channel-lane listing targets",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| basicLandsEnabled | boolean | true lets auto_list and full list basic lands (Plains, Island, Swamp, Mountain, Forest, Wastes, and their Snow-Covered printings). false skips them. The saved value defaults to false. |
| maxQuantityPerListing | any | The most available copies one eBay listing may advertise, such as 3. null removes the cap. Omit it to keep the saved value, which defaults to null. |
{
"name": "spellbook_ebay_automation_set",
"description": "Set one workspace's eBay automation mode, basic-land preference, copy cap, or month-end allowance policy after the owner chooses the setting. Month-end defaults to off with a 1,000-insertion reserve. Optional stale-single refreshes run in the final 48 hours and stop new ends two hours before the Pacific month resets. Read spellbook_ebay_month_end_status first for capacity and recovery facts. Only the workspace owner may change public listing behavior. The modes: manual: New listings and repricing stay manual. Recovery of listings already ended by month-end management can finish. auto_list: New eligible inventory lists on eBay automatically at your saved eBay pricing strategy's prices, and existing eBay listings are never repriced automatically. full: New inventory lists on eBay automatically, and existing eBay listings reprice from your saved eBay pricing strategy. With variation packages on (the default), new inventory groups into one listing per set with each card as a variation; with them off, each card lists on its own.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"mode": {
"enum": [
"manual",
"auto_list",
"full"
],
"type": "string",
"description": "The mode the seller chose: manual, auto_list, or full. Send mode, basicLandsEnabled, maxQuantityPerListing, or any mix."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"monthEnd": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"reserve": {
"type": "integer",
"default": 1000,
"maximum": 200000,
"minimum": 0
},
"refreshStale": {
"type": "boolean",
"default": false
}
},
"description": "The owner's month-end choice: enabled, reserve, and refreshStale. Enabling retains the reserve during automatic listing. refreshStale permits eligible older singles to refresh after new-stock work. Disabling stops new ends; recovery of already-ended stock continues.",
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose eBay automation mode to set. The caller must own it. Required."
},
"basicLandsEnabled": {
"type": "boolean",
"description": "true lets auto_list and full list basic lands (Plains, Island, Swamp, Mountain, Forest, Wastes, and their Snow-Covered printings). false skips them. The saved value defaults to false."
},
"maxQuantityPerListing": {
"anyOf": [
{
"type": "integer",
"maximum": 10000,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "The most available copies one eBay listing may advertise, such as 3. null removes the cap. Omit it to keep the saved value, which defaults to null."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set eBay automation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_ebay_price_bands_set",
"description": "Preview or save per-game eBay price bands, each a market price range in USD. With dryRun true it saves nothing and returns, per game, how many live eBay copies and listings the bands would keep, end, or leave because they have no market price. With dryRun false it saves the bands and returns the same counts: SpellBook Finance then ends live eBay copies whose market price falls outside their game's bands, in the background and again in a daily sweep, and keeps out-of-band copies off eBay. A live save needs no dry run first. Only the workspace owner may call it, and the agent saves bands only after the seller chose them.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"priceBands",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "true previews and saves nothing. false saves. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"priceBands": {
"type": "object",
"description": "Bands per game id, such as mtg, pokemon, or riftbound. Each band is {minUsd, maxUsd} in USD of market price, with maxUsd null for no upper limit. A copy stays when its market price is at or above minUsd and below maxUsd. A game with an empty list, or absent, has no restriction. This replaces every saved band, so send every game that should keep one. Required.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"required": [
"minUsd",
"maxUsd"
],
"properties": {
"maxUsd": {
"anyOf": [
{
"type": "number",
"maximum": 1000000,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"minUsd": {
"type": "number",
"maximum": 1000000,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 10
}
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose eBay price bands to set. The caller must own it. Required."
},
"previewFingerprint": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Optional and ignored. Older clients sent the previewFingerprint from a dry run here."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set eBay price bands",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_channel_lane_set",
"description": "Set one workspace's lane mode for one channel-lane marketplace, the switch that decides whether SpellBook reads the marketplace or changes listings there, and set the Misprint ask floor. This changes public marketplace behavior for the workspace, only the workspace owner may call it, and the agent sets a mode or a floor only after the seller chose it. It returns the same lane state as spellbook_marketplace_onboarding. The modes: off: the lane is disabled and SpellBook neither reads nor changes the marketplace. observe: SpellBook reads the marketplace and records whether it matches SpellBook's desired state, and never changes a listing there. push: SpellBook creates, updates, and removes listings on the marketplace to match its desired state. askFloorUsd is the lowest ask SpellBook Finance sets on Misprint. Each Misprint ask is the TCGplayer ask for the same copies, raised to that floor.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"marketplace"
],
"properties": {
"mode": {
"enum": [
"off",
"observe",
"push"
],
"type": "string",
"description": "The mode the seller chose: off, observe, or push. Send mode, askFloorUsd, or both."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"askFloorUsd": {
"type": "number",
"maximum": 10000,
"description": "Misprint only. The lowest ask in US dollars the seller chose for any Misprint listing, such as 0.5, in whole cents. Omit it to keep the saved floor.",
"exclusiveMinimum": 0
},
"marketplace": {
"enum": [
"cardtrader",
"ebay",
"manapool",
"misprint",
"shopify"
],
"type": "string",
"description": "The channel-lane marketplace whose mode to set. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose lane to set. The caller must own it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set channel lane mode",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "spellbook_return_address_save",
"description": "Save the return address the seller gave, which SpellBook prints on shipping labels and which store setup counts as returnAddressSaved. It replaces only the name, street, and city-state-ZIP lines and keeps every other saved setting. Only the workspace owner may call it, and only with an address the seller stated. A seller who does not want to share a home address in chat can type it on a SpellBook page, which the limits name, so offer that page before you ask for the address. Call spellbook_store_setup_status afterwards to confirm returnAddressSaved.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"name",
"street",
"cityStateZip"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The name on the return address, such as the seller's name or store name, exactly as the seller gave it. Required."
},
"street": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "One street line, such as a house number and street, exactly as the seller gave it. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace whose setup this address completes. The caller must own it. Required."
},
"cityStateZip": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "One line with city, state, and ZIP code, such as Springfield, IL 62701, exactly as the seller gave it. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save your return address",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| minValue | number | Minimum acquisition value in USD a row must have to be returned. Omit for no floor. |
| minSpreadPct | number | Minimum spread percentage a row must have to be returned. Omit for no floor. |
| minSpreadUsd | number | Minimum spread in USD a row must have to be returned. Omit for no floor. |
| minTotalPotentialProfitUsd | number | Minimum total potential profit in USD a row must have to be returned. Omit for no floor. |
{
"name": "spellbook_singles_buylist_spreads",
"description": "Investigate Magic TCGplayer NM acquisitions against Card Kingdom buylist payout scenarios. Preserve source timestamps, finish, stock, grading scenarios, and queue degradation; spread is not net realized profit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sets": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact set code(s) to filter to. Omit to include every set."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Maximum rows to return, 1 to 200. Omit for the default of 20."
},
"cursor": {
"type": "string",
"pattern": "^v1\\.[A-Za-z0-9_-]+$",
"maxLength": 2000,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"isFoil": {
"type": "boolean",
"description": "True restricts to foil rows, false to non-foil. Omit to include both."
},
"rarity": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact rarity to filter to. Omit to include every rarity."
},
"sortBy": {
"enum": [
"totalPotentialProfitUsd",
"spreadUsd",
"spreadPct",
"bestBuyPrice",
"usPriceUsd",
"actionableQuantity"
],
"type": "string",
"description": "Which field ranks the rows. Omit for the default order."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"sortDir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction for sortBy. Omit for the default direction."
},
"minCkQty": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Minimum Card Kingdom buylist quantity a row must have. Omit for no floor."
},
"minValue": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Minimum acquisition value in USD a row must have to be returned. Omit for no floor."
},
"minSpreadPct": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Minimum spread percentage a row must have to be returned. Omit for no floor."
},
"minSpreadUsd": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Minimum spread in USD a row must have to be returned. Omit for no floor."
},
"minTotalPotentialProfitUsd": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Minimum total potential profit in USD a row must have to be returned. Omit for no floor."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Compare buylist spreads",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| comparisonSources | array | Which comparison price sources to attach to each offer. Omit for all three. Each requested source returns a providerStatus row even when it has no reference. |
{
"name": "spellbook_japanese_sourcing",
"description": "Read Japanese-market supply offers for the Japanese promo cohort from Mercari, Hareruya and Bigweb, each beside the comparison prices SpellBook holds on TCGplayer, ManaPool and eBay. Every row carries one exact supply offer with its printing identity, the merchant's own condition grade and its normalized equivalent, the native unit price with its currency, quantity, availability, and its own observedAt and staleAfter stamps; then every comparison reference with its kind and typed comparisonBasis, a deterministic selectedReference with the selectionRule that chose it, and a providerStatus row for each comparison source explaining why it is ok, missing, stale, failed or incompatible. grossDifferenceUsd is an asking spread and is null unless printing, language, finish, unit basis and condition equivalence all hold; netDifferenceUsd stays null because this read carries no costs. Rows come back in source order, and nothing is ranked, scored or recommended for you.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum offers in this page. Page with cursor to traverse the rest; a short page is not proof the cohort ended."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "The opaque nextCursor from the previous page, passed back unchanged. It is signed by the server; never construct, decode or edit one."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"buySources": {
"type": "array",
"items": {
"enum": [
"mercari",
"hareruya",
"bigweb"
],
"type": "string"
},
"maxItems": 3,
"minItems": 1,
"description": "Which Japanese supply sources to read. Omit for all three. Narrow it only when the person named a merchant; a source you drop is simply absent, never proven empty."
},
"includeStale": {
"type": "boolean",
"description": "True also returns offers whose staleAfter has already passed, with their stamps intact. Default false returns only offers still inside their freshness window."
},
"comparisonSources": {
"type": "array",
"items": {
"enum": [
"tcgplayer",
"manapool",
"ebay"
],
"type": "string"
},
"maxItems": 3,
"minItems": 1,
"description": "Which comparison price sources to attach to each offer. Omit for all three. Each requested source returns a providerStatus row even when it has no reference."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Japanese sourcing supply",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_credit_resale_assessment",
"description": "Assess up to ten exact sealed product lines as a CK-credit-funded intact resale scenario. Supply starting credit and explicit cost assumptions; omit unknown costs. EV judgment is permitted. Returns labeled cash estimates, credit allocation, capacity and missing evidence. Research only, no purchase.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"multipleOf": 0.01
},
"__schema1": {
"type": "object",
"required": [
"tcgProductId",
"expectedBoxType",
"quantity"
],
"properties": {
"quantity": {
"type": "integer",
"maximum": 10000,
"minimum": 1,
"description": "Number of units of this line in the scenario. Required."
},
"tcgProductId": {
"type": "string",
"pattern": "^\\d{1,12}$",
"description": "Exact TCGplayer product id for this sealed product line, digits only. Required."
},
"expectedBoxType": {
"enum": [
"play",
"draft",
"jumpstart",
"commander",
"precon"
],
"type": "string",
"description": "The expected box type for this line. Required."
},
"resaleUnitPriceUsd": {
"$ref": "#/$defs/__schema2",
"description": "Assumed per-unit intact resale price in USD with its basis. Omit to leave resale price unassumed."
}
},
"additionalProperties": false
},
"__schema2": {
"type": "object",
"required": [
"value",
"basis"
],
"properties": {
"basis": {
"$ref": "#/$defs/__schema3"
},
"value": {
"$ref": "#/$defs/__schema0"
}
},
"additionalProperties": false
},
"__schema3": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"__schema4": {
"$ref": "#/$defs/__schema2",
"description": "Assumed checkout shipping cost in USD with its basis. Omit if unknown."
},
"__schema5": {
"$ref": "#/$defs/__schema2",
"description": "Assumed checkout tax in USD with its basis. Omit if unknown."
},
"__schema6": {
"$ref": "#/$defs/__schema2",
"description": "Assumed other checkout costs in USD with its basis. Omit if unknown."
},
"__schema7": {
"$ref": "#/$defs/__schema8",
"description": "Whether checkout was paid in cash or credit. Omit if unknown."
},
"__schema8": {
"enum": [
"cash",
"credit"
],
"type": "string"
},
"__schema9": {
"$ref": "#/$defs/__schema2",
"description": "Assumed shipping collected from the resale buyer in USD with its basis. Omit if unknown."
},
"__schema10": {
"$ref": "#/$defs/__schema2",
"description": "Assumed sales-tax fee base in USD with its basis. Omit if unknown."
},
"__schema11": {
"$ref": "#/$defs/__schema12",
"description": "Assumed combined marketplace fee rate as a percent with its basis. Omit if unknown."
},
"__schema12": {
"type": "object",
"required": [
"value",
"basis"
],
"properties": {
"basis": {
"$ref": "#/$defs/__schema3"
},
"value": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"__schema13": {
"$ref": "#/$defs/__schema2",
"description": "Assumed fixed fee per order in USD with its basis. Omit if unknown."
},
"__schema14": {
"$ref": "#/$defs/__schema15",
"description": "Assumed number of orders with its basis. Omit if unknown."
},
"__schema15": {
"type": "object",
"required": [
"value",
"basis"
],
"properties": {
"basis": {
"$ref": "#/$defs/__schema3"
},
"value": {
"type": "integer",
"maximum": 100000,
"minimum": 1
}
},
"additionalProperties": false
},
"__schema16": {
"$ref": "#/$defs/__schema2",
"description": "Assumed postage per parcel in USD with its basis. Omit if unknown."
},
"__schema17": {
"$ref": "#/$defs/__schema2",
"description": "Assumed packaging cost per parcel in USD with its basis. Omit if unknown."
},
"__schema18": {
"$ref": "#/$defs/__schema15",
"description": "Assumed number of parcels with its basis. Omit if unknown."
},
"__schema19": {
"$ref": "#/$defs/__schema2",
"description": "Assumed other exit cash costs in USD with its basis. Omit if unknown."
},
"__schema20": {
"type": "string",
"maxLength": 512
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"startingCreditUsd",
"exitChannel",
"maxSnapshotAgeHours",
"lines",
"costs"
],
"properties": {
"costs": {
"type": "object",
"properties": {
"orderCount": {
"$ref": "#/$defs/__schema14"
},
"parcelCount": {
"$ref": "#/$defs/__schema18"
},
"checkoutTaxUsd": {
"$ref": "#/$defs/__schema5"
},
"checkoutPayment": {
"$ref": "#/$defs/__schema7"
},
"checkoutOtherUsd": {
"$ref": "#/$defs/__schema6"
},
"combinedFeeRatePct": {
"$ref": "#/$defs/__schema11"
},
"salesTaxFeeBaseUsd": {
"$ref": "#/$defs/__schema10"
},
"checkoutShippingUsd": {
"$ref": "#/$defs/__schema4"
},
"fixedFeePerOrderUsd": {
"$ref": "#/$defs/__schema13"
},
"postagePerParcelUsd": {
"$ref": "#/$defs/__schema16"
},
"otherExitCashCostsUsd": {
"$ref": "#/$defs/__schema19"
},
"packagingPerParcelUsd": {
"$ref": "#/$defs/__schema17"
},
"buyerShippingCollectedUsd": {
"$ref": "#/$defs/__schema9"
}
},
"description": "Explicit cost assumptions for the resale scenario. Every field is optional; omit any cost that is unknown rather than guessing zero.",
"additionalProperties": false
},
"lines": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema1"
},
"maxItems": 10,
"minItems": 1,
"description": "Up to 10 exact sealed product lines to assess. Required, at least one."
},
"context": {
"$ref": "#/$defs/__schema20",
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"exitChannel": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "Name of the channel the intact resale would exit through. Required, up to 30 characters."
},
"startingCreditUsd": {
"$ref": "#/$defs/__schema0",
"description": "Card Kingdom store credit available to spend in this scenario, in USD. Required."
},
"maxSnapshotAgeHours": {
"type": "number",
"maximum": 8760,
"description": "Maximum age in hours of price snapshots this assessment may use. Required.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Assess a credit resale",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| currency | string | One listing currency. |
| productType | string | One sealed product type, such as booster_display. Omit for all. |
{
"name": "spellbook_sealed_deal_board",
"description": "Read the Sealed Deal Board: sealed boxes and decks that third-party stores list, one row per product and currency. Each row carries the store, productUrl, retailerPriceUsd, marketPrice (the product's TCGplayer market price, USD), anchorPriceUsd with anchorSource, tcgProductId, shippingPolicy plus age stamps firstSeenAt and recencyEventAt. priceBeatenAt records a drop with historical priceBeatenFromUsd and priceBeatenToUsd when known. priceBeatenAtCurrentOffer names the same-offer case. Each row names its boardLens: crack_ev (opening EV above a per-type price multiple and dollar spread; booster display 1.0x and $10) or below_market (collector-style boxes, judged against the market anchor). Admission is not a buy or open recommendation. Filter by game, productType, currency and q (catalog name words such as innistrad); results page by limit with nextCursor, null on the last page. Without Investor access you get the public preview, with entitled false. Call spellbook_sealed_product_offers with a tcgProductId for every store's offer and the sold comparables. Compare retailerPriceUsd with marketPrice yourself; rows are facts, unranked. tcgplayerBuyUrl is a SpellBook Finance affiliate link to the TCGplayer page; say so when you share it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"pattern": "[A-Za-z0-9]",
"maxLength": 100,
"minLength": 1,
"description": "Catalog-name words, such as innistrad. Not the store's listing title."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"description": "One game. Omit for all."
},
"limit": {
"type": "integer",
"default": 15,
"maximum": 50,
"minimum": 1,
"description": "Rows per page."
},
"cursor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "nextCursor from the previous page, unchanged, with the same filters."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"currency": {
"enum": [
"USD",
"CAD",
"NZD",
"GBP",
"EUR"
],
"type": "string",
"description": "One listing currency."
},
"productType": {
"enum": [
"box_set",
"booster_display",
"collector_box",
"commander_deck",
"theme_deck",
"planeswalker_deck",
"starter_kit",
"challenger_deck",
"precon",
"bundle",
"prerelease_kit",
"jumpstart",
"secret_lair"
],
"type": "string",
"description": "One sealed product type, such as booster_display. Omit for all."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read the sealed deal board",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| cursor | string | Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page. |
| region | string | Restrict results to one currency region: US, CA, NZ or All. Omit for all. |
| context | string | Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks. |
| productType | string | Exact sealed product type to filter to. Omit to include every type. |
{
"name": "spellbook_sealed_product_search",
"description": "Search sealed catalog identity and available offer records by a third-party listing's name, set and product type. catalogMatches covers boxes, packs and cases, returning exact product IDs, kind, physicalLanguage, form, contentsState, intact marketPrice with marketPriceObservedAt, coverage (priceState, modelState, evState, totalEv, missingInput), and a cached pokemonEvDisplay when available. A Pokemon tier partial gives a numeric priced-component value with valueScope and missingFields; it may include an exact identified promo. It is not full product EV or a lower bound and must not be ranked as one. A zero-observation rare-tail gross bound, when present, uses the stated maximum copies per pack, representative independent packs and frozen subtype prices; it ignores displaced card value and is not added to the central partial value. products returns deal rows with modeled totalEV and offer evidence when supported. Call spellbook_sealed_product_offers with a deal row's tcgProductId for retail references, available sold comparables and freshness. This tool carries no per-pack distribution; for how many packs until opening is likely profitable, how swingy a box is, or what share of packs beat the pack price, call spellbook_box_ev_rankings with q set to the product name. The backend chooses the public or entitled response. A public response sets teaser true and returns fewer deal rows. Each TCGplayer product id carries tcgplayerBuyUrl, a short SpellBook Finance affiliate link to that TCGplayer page. Say it is an affiliate link when you share it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Free-text product name search. Omit to browse without a name filter."
},
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon",
"yugioh"
],
"type": "string",
"description": "Restrict results to one game: mtg, riftbound or pokemon. Omit for a mixed-game search."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows to return, 1 to 100. Omit for the default of 20."
},
"store": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact store name to filter to. Omit to include every store."
},
"cursor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"region": {
"enum": [
"US",
"CA",
"NZ",
"All"
],
"type": "string",
"description": "Restrict results to one currency region: US, CA, NZ or All. Omit for all."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"productType": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact sealed product type to filter to. Omit to include every type."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find a sealed product",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_support_report",
"description": "Store one minimal customer failure report. Generate a fresh ULID submissionId and reuse the exact request for retries within 24 hours. Reports are accepted only after storage. No raw diagnostics, conversations, secrets, or customer identity. Available to authenticated Free customers, including paid-access denials. A report reaches no person.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"submissionId",
"operation",
"clientVersion",
"occurredAt",
"errorCode"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"errorCode": {
"enum": [
"login_required",
"access_denied",
"invalid_input",
"invalid_upstream_response",
"upstream_http_error",
"upstream_timeout",
"upstream_unavailable",
"upstream_response_too_large",
"auth_unavailable",
"invalid_token_response",
"credential_store_busy",
"credential_store_unavailable",
"client_failure",
"request_cancelled",
"client_type_error",
"client_range_error",
"client_reference_error"
],
"type": "string",
"description": "Which closed error code best matches the failure. Required."
},
"operation": {
"enum": [
"spellbook_tcg_buyer_driver_status",
"spellbook_tcg_buyer_inspect",
"spellbook_tcg_buyer_reply",
"spellbook_tcg_buyer_refund_full",
"spellbook_tcg_buyer_action_status",
"spellbook_workspaces_list",
"spellbook_buy_targets",
"spellbook_buy_outcome_report",
"spellbook_entitlements",
"spellbook_singles_buylist_spreads",
"spellbook_credit_conversion_candidates",
"spellbook_credit_resale_assessment",
"spellbook_sealed_product_search",
"spellbook_sealed_product_offers",
"spellbook_commander_case_comparison",
"spellbook_commander_comparison_facts",
"spellbook_contents_demand",
"spellbook_sealed_shopping_list",
"spellbook_sealed_shopping_list_upsert",
"spellbook_sealed_shopping_list_context",
"spellbook_sealed_shopping_list_quantity",
"spellbook_sealed_shopping_list_remove",
"spellbook_sealed_shopping_list_delete",
"spellbook_sealed_shopping_offers",
"spellbook_sealed_price_target_create",
"spellbook_sealed_price_target",
"spellbook_sealed_price_target_update",
"spellbook_sealed_price_target_disable",
"spellbook_sealed_price_target_rearm",
"spellbook_sealed_deal_board",
"spellbook_customer_evidence_record",
"spellbook_customer_evidence_get",
"spellbook_customer_evidence_list",
"spellbook_collection_intake_get",
"spellbook_collection_intake_record",
"spellbook_collection_buying_record",
"spellbook_collection_buying_get",
"spellbook_collection_buying_list",
"spellbook_inventory_items_query",
"spellbook_inventory_location_confirm",
"spellbook_inventory_channel_state",
"spellbook_sales_history",
"spellbook_inventory_holdings",
"spellbook_sealed_portfolio",
"spellbook_sealed_portfolio_record",
"spellbook_sealed_portfolio_hold_set",
"spellbook_sealed_portfolio_open_intent_clear",
"spellbook_sealed_portfolio_receive",
"spellbook_sealed_portfolio_open",
"spellbook_sealed_recovered_component_record",
"spellbook_sealed_intent_defaults",
"spellbook_sealed_intent_default_set",
"spellbook_sale_record",
"spellbook_agent_gap_report",
"spellbook_support_report",
"spellbook_below_floor_discovery_get",
"spellbook_below_floor_discovery_set",
"spellbook_store_setup_status",
"spellbook_guides",
"spellbook_skill",
"spellbook_printings_search",
"spellbook_inventory_bin_ensure",
"spellbook_riftbound_catalog",
"spellbook_mtg_pack_simulator",
"spellbook_inventory_import_csv",
"spellbook_inventory_precon_import",
"spellbook_purchase_incoming_record",
"spellbook_inventory_incoming",
"spellbook_returned_package_lookup",
"spellbook_returned_package_record",
"spellbook_returned_package_reship_prepare",
"spellbook_returned_package_reship_tracking",
"spellbook_returned_package_case",
"spellbook_inventory_incoming_receive",
"spellbook_movers",
"spellbook_buyouts",
"spellbook_screener",
"spellbook_card_desk",
"spellbook_card_prices",
"spellbook_ath_observations",
"spellbook_card_buylist",
"spellbook_pokemon_market_analytics",
"spellbook_pokemon_ath",
"spellbook_pokemon_arbitrage_spreads",
"spellbook_deck_contents",
"spellbook_deck_import_limitless",
"spellbook_pokemon_metagame_overview",
"spellbook_pokemon_metagame_archetype",
"spellbook_pokemon_metagame_card",
"spellbook_box_ev_rankings",
"spellbook_box_ev_history",
"spellbook_box_price_history",
"spellbook_box_breakeven",
"spellbook_ebay_publish",
"spellbook_ebay_month_end_status",
"spellbook_ebay_lot_publish",
"spellbook_ebay_reprice",
"spellbook_ebay_price_limits_get",
"spellbook_ebay_price_limit_enrollment_prepare",
"spellbook_ebay_price_limit_enrollment_get",
"spellbook_ebay_price_limit_enrollment_pages",
"spellbook_ebay_price_limit_enrollment_continue",
"spellbook_ebay_pricing_restoration_prepare",
"spellbook_ebay_pricing_approval_prepare",
"spellbook_ebay_pricing_approval_get",
"spellbook_ebay_pricing_approval_execute",
"spellbook_agent_pricing_protection",
"spellbook_ebay_unpublish",
"spellbook_ebay_job_status",
"spellbook_manapool_sync_preview",
"spellbook_manapool_sync_apply",
"spellbook_marketplace_listings_adopt_preview",
"spellbook_marketplace_listings_adopt_apply",
"spellbook_sealed_listing_preview",
"spellbook_sealed_listing_submit",
"spellbook_sealed_listing_pause",
"spellbook_tcg_listing_preview",
"spellbook_tcg_listing_export",
"spellbook_pokemon_tcg_staged_preview",
"spellbook_ebay_connect_link",
"spellbook_ebay_connection_status",
"spellbook_ebay_shipping_policy_get",
"spellbook_ebay_shipping_policy_set",
"spellbook_ebay_shipping_mode_get",
"spellbook_ebay_shipping_mode_set",
"spellbook_ebay_combined_shipping_get",
"spellbook_ebay_combined_shipping_set",
"spellbook_ebay_order_discount_get",
"spellbook_ebay_order_discount_set",
"spellbook_ebay_order_discount_disable",
"spellbook_manapool_connect_link",
"spellbook_manapool_connection_status",
"spellbook_marketplace_onboarding",
"spellbook_channel_lane_targets",
"spellbook_item_photo_upload_link",
"spellbook_pull_work",
"spellbook_japanese_sourcing",
"spellbook_riftbound_japanese_comparables",
"spellbook_japan_source_scan",
"spellbook_pricing_decision_explain",
"spellbook_sku_price_controls",
"spellbook_sku_minimum_floor_set",
"spellbook_sku_minimum_floor_clear",
"spellbook_sku_exact_price_lock_set",
"spellbook_sku_exact_price_lock_clear",
"spellbook_pricing_profiles_list",
"spellbook_pricing_profile_get",
"spellbook_pricing_profile_create",
"spellbook_pricing_profile_update",
"spellbook_pricing_profile_activate",
"spellbook_pricing_amendments_list",
"spellbook_pricing_amendment_get",
"spellbook_pricing_amendment_create",
"spellbook_pricing_amendment_update",
"spellbook_pricing_amendment_delete",
"spellbook_pricing_amendment_preview",
"spellbook_pricing_amendment_preview_status",
"spellbook_ebay_automation_set",
"spellbook_ebay_price_bands_get",
"spellbook_ebay_price_bands_set",
"spellbook_manapool_automation_set",
"spellbook_channel_lane_set",
"spellbook_channel_pricing_profiles",
"spellbook_channel_pricing_profile_set",
"spellbook_tcg_extension_pairing",
"spellbook_workspace_create",
"spellbook_workspace_plan_status",
"spellbook_free_seller_workspace_claim",
"spellbook_seller_plan_checkout_link",
"spellbook_return_address",
"spellbook_return_address_save",
"spellbook_alerts_list",
"spellbook_alert_create",
"spellbook_alert_delete",
"spellbook_card_buylist_history",
"spellbook_buylist_compare",
"spellbook_order_proof_photos",
"spellbook_repeat_buyers",
"spellbook_inventory_precon_fit",
"spellbook_collection_receipt",
"spellbook_inventory_management_get",
"spellbook_inventory_management_set",
"spellbook_giveaway_config_get",
"spellbook_giveaway_config_set",
"spellbook_returned_package_work",
"spellbook_returned_package_reship_print",
"spellbook_returned_package_reship_dispatch",
"login",
"refresh"
],
"type": "string",
"description": "Which SpellBook operation failed. Required, one of the closed operation names."
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"maxLength": 30,
"description": "ISO-8601 timestamp of when the failure occurred. Required."
},
"submissionId": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "A fresh ULID for this report. Reuse the exact same value and request body to retry within 24 hours; a new value starts a new report."
},
"clientVersion": {
"type": "string",
"pattern": "^\\d{1,4}\\.\\d{1,4}\\.\\d{1,4}$",
"description": "This client's semantic version, e.g. \"1.2.3\". Required."
},
"correlationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "A correlation id from a prior response, if one was returned. Omit when none was given."
}
},
"additionalProperties": false
},
"annotations": {
"title": "File a support report",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| Real SpellBook response field paths the agent had to guess a value for because no tool supplied one. Omit when nothing was guessed. |
| consentToShare * | boolean | True only after the person explicitly agreed to send this specific report. |
| wishedCapability | object | A capability the agent wished existed and did not find. Omit when no capability was missing. |
{
"name": "spellbook_agent_gap_report",
"description": "After finishing the task, ask the person whether they consent to send one bounded capability-gap report to SpellBook. Call this tool only after an explicit yes for this report and set consentToShare to true. Use it when a needed field was null, you guessed a number because no tool supplied it, you wished a tool existed, or you abandoned a path. It returns no task data and fixes nothing. Generate a fresh ULID submissionId and reuse the exact request for retries within 24 hours. Field paths must be real SpellBook response paths. There is no free-text field: never describe the card, price, customer, or conversation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"consentToShare",
"submissionId",
"occurredAt",
"taskCategory",
"neededFields",
"outcome"
],
"properties": {
"outcome": {
"enum": [
"completed",
"completed_with_guess",
"abandoned"
],
"type": "string",
"description": "What happened to the task: closed enum. Required."
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"maxLength": 30,
"description": "ISO-8601 timestamp of when the gap occurred. Required."
},
"neededFields": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 25,
"description": "Real SpellBook response field paths that were null or missing when needed. Omit or send empty when none applied."
},
"submissionId": {
"type": "string",
"pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"description": "A fresh ULID for this report. Reuse the exact same value and request body to retry within 24 hours; a new value starts a new report."
},
"taskCategory": {
"enum": [
"valuation",
"sell_decision",
"portfolio_review",
"acquisition",
"inventory_placement",
"other"
],
"type": "string",
"description": "Which closed task category this gap happened in. Required."
},
"abandonReason": {
"enum": [
"field_was_null",
"data_too_stale",
"no_matching_rows",
"identity_ambiguous",
"access_denied",
"tool_error",
"no_such_capability",
"too_many_steps",
"other"
],
"type": "string",
"description": "Why the task was abandoned. Required only when outcome is abandoned."
},
"guessedFields": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 25,
"description": "Real SpellBook response field paths the agent had to guess a value for because no tool supplied one. Omit when nothing was guessed."
},
"consentToShare": {
"type": "boolean",
"const": true,
"description": "True only after the person explicitly agreed to send this specific report."
},
"wishedCapability": {
"type": "object",
"required": [
"category",
"slug"
],
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z_]{3,40}$",
"description": "A lowercase, underscore slug from the fixed capability vocabulary naming what was wished for."
},
"category": {
"enum": [
"data_field",
"filter_or_sort",
"freshness",
"coverage",
"export",
"write_action",
"other"
],
"type": "string",
"description": "Which closed capability category was wished for. Required when wishedCapability is present."
}
},
"description": "A capability the agent wished existed and did not find. Omit when no capability was missing.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Report an agent gap",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_collection_intake_get",
"description": "Read one persistent collection purchase's intake counts, pending import blockers, retained intake valuation, exact-item sale/refund observations and paged immutable history. Market value is separate from realized proceeds. Missing selling costs keep net earnings unknown.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"collectionDealId"
],
"properties": {
"view": {
"enum": [
"summary",
"units",
"batches",
"timeline",
"historical_import"
],
"type": "string",
"description": "Summary/history, exact units with locations/listings, original batch outcomes, source timeline, or read-only historical_import eligibility/current-basis preview."
},
"after": {
"type": "string",
"maxLength": 512,
"description": "History cursor from the previous page."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum history rows; defaults to 50."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Owner workspace."
},
"intakeBatchId": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Original saved session ID; required for historical_import preview, optional exact batch filter for units."
},
"collectionDealId": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Persistent purchase dealId."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read collection intake and performance",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_inventory_items_query",
"description": "Read one private page of existing physical Items matching an exact acquisition source, exact bins, or printing, finish and condition groups. Coordinate filters narrow source or group results. Each Item carries scanPlacement, its approximate position in its scanned bin as ordinal of total, or null when it was never scanned there.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"bins": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 25,
"description": "Restrict results to these exact bin names, up to 25. Omit to search every bin."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 1000,
"minimum": 1,
"description": "Maximum Items to return, 1 to 1000. Omit for the default of 20."
},
"cursor": {
"type": "string",
"minLength": 1,
"description": "Opaque cursor from a previous page, passed back unchanged. Omit to start from the first page."
},
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"scryfallId",
"finish",
"condition"
],
"properties": {
"finish": {
"type": "string",
"minLength": 1,
"description": "The finish to match, e.g. nf, fo, etched or surge. Required."
},
"condition": {
"type": "string",
"minLength": 1,
"description": "The condition to match, e.g. NM, LP, MP, HP or DMG. Required."
},
"scryfallId": {
"type": "string",
"minLength": 1,
"description": "The printing's scryfallId. Required."
}
},
"additionalProperties": false
},
"maxItems": 25,
"description": "Restrict results to these exact printing, finish and condition groups, up to 25. Omit to skip this filter."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to read Items from. Required."
},
"acquisitionSource": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Restrict results to one exact acquisition source, such as a bulk-import ID. Combine with bins or groups to narrow it further."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Query your inventory",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| workspaceId * | string | The seller workspace whose discovery facts to read. Required. |
{
"name": "spellbook_below_floor_discovery_get",
"description": "Read a bounded below-floor discovery summary or one section page with member stages, scheduled minimums, canonical pricing targets, observed asks and source freshness, admission-selection facts, sales facts, and restoration status. Call it to inspect a seller workspace's configured discovery lane or follow a returned cursor. Member admissionSelection explains the factual automatic or manual choice already saved; this tool does not return a ranked recommendation queue. Observed asks are sampled listings, not continuous exposure or evidence of demand; scheduled minimum, canonical target, observed ask, and sold item price are separate facts. Use spellbook_below_floor_discovery_set with dryRun true to preview a requested change, then read this tool again after an apply.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon"
],
"type": "string",
"description": "Restrict the read to one game. Only combinations supported by the seller lane are accepted."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 20,
"minimum": 1,
"description": "Maximum rows returned on this page, within the bounded API page size."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque nextCursor from the same section and workspace. Pass it unchanged to continue."
},
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "Restrict the read to one marketplace channel. Only combinations supported by the selected game are accepted."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"section": {
"enum": [
"summary",
"members",
"waiting",
"exhausted"
],
"type": "string",
"default": "summary",
"description": "The bounded response section. Start with summary; use a named section to inspect members and pass its nextCursor to continue."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace whose discovery facts to read. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read below-floor price discovery",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_below_floor_discovery_set",
"description": "Preview below-floor settings, membership or shutoff before applying. The default dry run shows exact entries, exits, rejections and restoration. Stop after preview unless the owner authorized saving. To apply a matching preview, send dryRun false with the same opaque expectedRevisionToken, previewId and change. After a stale response, read current state and obtain approval for a fresh preview. Read back settings and restoration after apply.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"expectedRevisionToken",
"change"
],
"properties": {
"change": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"settings"
],
"properties": {
"kind": {
"type": "string",
"const": "configure",
"description": "Save discovery settings and optional exact printing membership changes."
},
"settings": {
"type": "object",
"properties": {
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"game",
"channel"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon"
],
"type": "string",
"description": "Game for this exact discovery lane."
},
"channel": {
"enum": [
"tcg",
"manapool"
],
"type": "string",
"description": "Marketplace channel supported for the selected game."
},
"lowestAskUsd": {
"type": "number",
"default": 0.15,
"minimum": 0.05,
"multipleOf": 0.01,
"description": "Owner-approved lowest ask in USD, in cent precision."
},
"verifiedMarketDescent": {
"type": "boolean",
"description": "Opt in for Magic singles with no recorded sale. Tests the observed ask and each higher rung through native market before testing one cent below. Requires verified sampled exposure to advance. Changing mode ends existing lane memberships."
}
},
"description": "One enabled game and channel lane with its approved minimum.",
"additionalProperties": false
},
"default": [],
"maxItems": 4,
"description": "Enabled discovery lanes. An empty array disables all lanes while keeping the configuration saved."
},
"maxPrintings": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Maximum unique printings in the configured discovery cap."
},
"idleDaysBeforeEntry": {
"type": "integer",
"default": 60,
"maximum": 365,
"minimum": 14,
"description": "Idle days required for automatic admission."
},
"selectedPrintingsOnly": {
"type": "boolean",
"description": "Disable automatic admission. When switching on, include existing printing identities you want to keep in addPrintings; the preview reports other exits."
}
},
"description": "Complete saved settings for this discovery configuration.",
"additionalProperties": false
},
"addPrintings": {
"type": "array",
"items": {
"type": "object",
"required": [
"game",
"printingId",
"finish"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon"
],
"type": "string",
"description": "Game for this exact printing."
},
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Exact supported finish for the game."
},
"printingId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact catalog printing identifier; case is significant."
}
},
"description": "A printing identity to add to the selected configured lane.",
"additionalProperties": false
},
"default": [],
"maxItems": 100,
"description": "Exact printing identities to add; every identity is checked against the configured lane and admission guards."
},
"removePrintings": {
"type": "array",
"items": {
"type": "object",
"required": [
"game",
"printingId",
"finish"
],
"properties": {
"game": {
"enum": [
"mtg",
"riftbound",
"pokemon"
],
"type": "string",
"description": "Game for this exact printing."
},
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "Exact supported finish for the game."
},
"printingId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact catalog printing identifier; case is significant."
}
},
"description": "A printing identity to remove from the selected configured lane.",
"additionalProperties": false
},
"default": [],
"maxItems": 100,
"description": "Exact printing identities to remove. The preview reports affected members and reasons."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "off",
"description": "Remove saved settings and stop discovery through the explicit preview and apply flow."
}
},
"additionalProperties": false
}
],
"description": "Exact configuration, membership or off change to preview. Never substitute an unreviewed change during apply."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "True to create a non-mutating preview. False applies only the exact previously approved preview."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"previewId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The exact previewId returned by the preview being approved. Required when dryRun is false."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace to configure. Required."
},
"expectedRevisionToken": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "The opaque revisionToken from the latest GET response or the preview's baseRevisionToken. Preserve the exact string."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview or change below-floor discovery",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}| Whole cents. |
| bonusWeightThresholdGrams * | any | Grams, or null for none. |
{
"name": "spellbook_giveaway_config_set",
"description": "Replace one workspace's saved giveaway config. Resend every field. targetMeanUsd is a budget on the band-midpoint estimate of the tier table, not the average value of the cards given. The top band's maxUsd must reach maxDrawUsd for cards near maxDrawUsd to be drawable. targetMeanUsd must stay below the per-channel marketplace price floor, or every roll refuses with target_not_below_ceiling.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"channels",
"tierTable",
"targetMeanUsd",
"maxDrawUsd",
"fillWindowCents",
"bonusWeightThresholdGrams",
"algoVersion"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"channels": {
"type": "object",
"required": [
"manapool",
"ebay",
"tcg"
],
"properties": {
"tcg": {
"type": "boolean"
},
"ebay": {
"type": "boolean"
},
"manapool": {
"type": "boolean"
}
},
"description": "On or off per channel.",
"additionalProperties": false
},
"tierTable": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"minUsd",
"maxUsd",
"weight"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"maxUsd": {
"type": "number",
"minimum": 0
},
"minUsd": {
"type": "number",
"minimum": 0
},
"weight": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"description": "Cheapest first, no gaps."
},
"maxDrawUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "USD, at most 50, or null."
},
"algoVersion": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Or null."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Workspace the caller owns."
},
"targetMeanUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "USD or null."
},
"fillWindowCents": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Whole cents."
},
"bonusWeightThresholdGrams": {
"anyOf": [
{
"type": "number",
"maximum": 28,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "Grams, or null for none."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set giveaway config",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| acquisitionChannel | string | Where the product was bought, such as a store name or marketplace. Optional, and it is stored as the customer stated it. |
{
"name": "spellbook_sealed_portfolio_record",
"description": "Record one sealed acquisition the customer has already made, so the buy can be scored later against what it cost. Names the catalog boxId, the quantity, the unit price paid as a decimal string, and the acquisition date. Use it after a seller buys a box, pack or case found through spellbook_sealed_deal_board. It records a purchase that happened; it never buys anything and moves no money.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"boxId",
"quantity",
"acquisitionPrice",
"acquisitionDate"
],
"properties": {
"boxId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Exact sealed catalog product id, from spellbook_sealed_product_search or spellbook_sealed_deal_board. An id the catalog does not hold is refused. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"quantity": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "How many units of this product were bought. Required."
},
"salesTaxUsd": {
"type": "string",
"pattern": "^\\d{1,9}(\\.\\d{1,2})?$",
"description": "Sales tax paid on the whole order in USD, as a decimal string. Optional."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to record this sealed buy in, from spellbook_workspaces_list. Required."
},
"acquisitionDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date the buy happened, as YYYY-MM-DD. Required, and it sets which day's modeled EV the purchase is scored against."
},
"acquisitionPrice": {
"type": "string",
"pattern": "^\\d{1,9}(\\.\\d{1,2})?$",
"description": "Price paid PER UNIT in USD, as a decimal string such as \"114.99\". Not the order total. Required."
},
"acquisitionChannel": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Where the product was bought, such as a store name or marketplace. Optional, and it is stored as the customer stated it."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record a sealed buy",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "spellbook_sealed_recovered_component_record",
"description": "Record sealed packs recovered from already-opened products, without adding a new purchase or guessing their share of the parent product's cost. This bounded intake accepts the confirmed Aetherdrift Box Topper and Modern Horizons 3 Collector Booster Sample Pack products. It records zero incremental cash, keeps parent basis unallocated, marks recovery timing approximate, and returns persisted-row readback. Reuse requestId unchanged after a timeout.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"productId",
"quantity",
"requestId",
"hold"
],
"properties": {
"hold": {
"type": "boolean",
"description": "True marks these units as held from listing; false leaves them unheld. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"quantity": {
"type": "integer",
"maximum": 11,
"minimum": 1,
"description": "How many recovered units to record: up to 11 for product 618698, or exactly 1 for product 579917. Required."
},
"productId": {
"enum": [
"579917",
"618698"
],
"type": "string",
"description": "Exact TCG sealed pack product id: 618698 for Aetherdrift Box Topper, or 579917 for Modern Horizons 3 Collector Booster Sample Pack. Required."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,100}$",
"description": "Stable idempotency key for this recovery entry. Reuse this exact value to retry. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace to add recovered sealed components to. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record recovered sealed components",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| buyerName | string | The buyer's name as the customer stated it. Optional. |
| condition * | string | The condition of the sold copies, matching how they were recorded. Required. |
| productId * | string | The exact printing id, from spellbook_printings_search or spellbook_inventory_holdings. Required; a wrong id sells the wrong card. |
| occurredAt | string | When the sale happened, as an ISO-8601 timestamp. Omit to use the time of this call. |
| marketplace * | string | Where the sale happened. in_person covers a store buy or a trade. buylist covers a sale to a dealer's buylist and needs buylistVendor. Required. |
| workspaceId * | string | The workspace that held the sold copies, from spellbook_workspaces_list. Required. |
| buylistVendor | string | The dealer that bought the copies, such as Card Kingdom. Required when marketplace is buylist. Omit for every other marketplace. |
| salePricePerUnit * | number | Price received PER COPY in USD, before any fee. Not the order total. Required. |
{
"name": "spellbook_sale_record",
"description": "Record a sale of cards the seller's workspace holds that happened outside SpellBook's order intake, such as a local game store buy, an in-person trade, or a one-off marketplace sale SpellBook did not import. Names the exact printing, finish, condition, quantity and unit sale price. It marks that many copies sold, oldest first, closes the position so spellbook_inventory_holdings and spellbook_buy_outcome_report reflect it, and pulls those copies off every marketplace where they are still live. Returns the sold item ids and the holding after the sale.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"productId",
"finish",
"condition",
"qty",
"salePricePerUnit",
"marketplace",
"orderId"
],
"properties": {
"qty": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "How many copies sold. Required."
},
"note": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "A free-text note stored with the sale. Optional."
},
"binId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Sell only copies from this bin. Omit to take the oldest copies from any bin."
},
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The finish of the sold copies, matching the finish recorded in inventory. Pokemon supports nf (Normal/Unlimited), fo (Holofoil), rh (Reverse Holofoil), 1e (1st Edition) and 1e-fo (1st Edition Holofoil). Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"orderId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A stable reference for this sale, such as the buyer's order number or a receipt number. Required. A second call with the same orderId for the same printing, finish and condition returns the first sale with replayed true and sells nothing."
},
"buyerName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The buyer's name as the customer stated it. Optional."
},
"condition": {
"enum": [
"NM",
"LP",
"MP",
"HP",
"DMG"
],
"type": "string",
"description": "The condition of the sold copies, matching how they were recorded. Required."
},
"productId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id, from spellbook_printings_search or spellbook_inventory_holdings. Required; a wrong id sells the wrong card."
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "When the sale happened, as an ISO-8601 timestamp. Omit to use the time of this call."
},
"marketplace": {
"enum": [
"tcg",
"manapool",
"ebay",
"in_person",
"buylist",
"unknown"
],
"type": "string",
"description": "Where the sale happened. in_person covers a store buy or a trade. buylist covers a sale to a dealer's buylist and needs buylistVendor. Required."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that held the sold copies, from spellbook_workspaces_list. Required."
},
"buylistVendor": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The dealer that bought the copies, such as Card Kingdom. Required when marketplace is buylist. Omit for every other marketplace."
},
"salePricePerUnit": {
"type": "number",
"minimum": 0,
"description": "Price received PER COPY in USD, before any fee. Not the order total. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record a sale",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| Whether the alert watches a card or a sealed box. Required for every non-buylist_watch type. |
| direction | string | Whether the alert fires when the price is above or below threshold. Required for crossed and for every non-buylist_watch type. |
| threshold | number | The USD price the alert compares against. Required for crossed and for every non-buylist_watch type. |
| scryfallId | string | The exact printing id from spellbook_printings_search. Required for a buylist_watch with scope card and for a card alert. |
| workspaceId * | string | The workspace the alert belongs to, from spellbook_workspaces_list. Required. |
| buylistVendor | string | For buylist_watch: the dealer to watch, as SpellBook stores the vendor name. Omit to watch Card Kingdom. |
| buylistWatchScope | string | For buylist_watch: inventory watches every sellable item in the workspace, card watches one printing and finish. Required for buylist_watch. |
| buylistWatchCondition | string | For buylist_watch: buying_again or crossed. crossed also needs direction and threshold. Required for buylist_watch. |
{
"name": "spellbook_alert_create",
"description": "Create one alert in a workspace and return the saved alert. alertType buylist_watch watches dealer buy offers for the whole inventory (buylistWatchScope inventory) or for one printing and finish (buylistWatchScope card); buylistWatchCondition crossed also needs direction and threshold in USD. Every other alertType watches one card or box and needs assetType, assetKey, assetName, isFoil, direction and threshold. Sending the same alert twice returns the first one with replayed true and creates nothing. Call spellbook_alerts_list first to see what exists.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"alertType"
],
"properties": {
"finish": {
"enum": [
"nf",
"fo",
"etched",
"surge",
"rh",
"1e",
"1e-fo"
],
"type": "string",
"description": "The finish to watch, matching the finish codes spellbook_printings_search returns. Required for a buylist_watch with scope card."
},
"isFoil": {
"type": "boolean",
"description": "Whether the watched card is foil. Required for every non-buylist_watch type."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"assetKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The printing id for a card or the product id for a box. Required for every non-buylist_watch type."
},
"alertType": {
"enum": [
"price",
"metagame",
"supply_signal",
"eu_spread",
"buylist_spread",
"buylist_vs_cost_basis",
"spread_compression",
"fair_value_divergence",
"sealed_breakeven_positive",
"restock",
"buylist_watch"
],
"type": "string",
"description": "The kind of alert. buylist_watch watches dealer buy offers against inventory or one printing. Required."
},
"assetName": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A display name for the watched asset. Required for every non-buylist_watch type. Optional for buylist_watch."
},
"assetType": {
"enum": [
"card",
"box"
],
"type": "string",
"description": "Whether the alert watches a card or a sealed box. Required for every non-buylist_watch type."
},
"direction": {
"enum": [
"above",
"below"
],
"type": "string",
"description": "Whether the alert fires when the price is above or below threshold. Required for crossed and for every non-buylist_watch type."
},
"threshold": {
"type": "number",
"description": "The USD price the alert compares against. Required for crossed and for every non-buylist_watch type.",
"exclusiveMinimum": 0
},
"scryfallId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The exact printing id from spellbook_printings_search. Required for a buylist_watch with scope card and for a card alert."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace the alert belongs to, from spellbook_workspaces_list. Required."
},
"buylistVendor": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "For buylist_watch: the dealer to watch, as SpellBook stores the vendor name. Omit to watch Card Kingdom."
},
"buylistWatchScope": {
"enum": [
"inventory",
"card"
],
"type": "string",
"description": "For buylist_watch: inventory watches every sellable item in the workspace, card watches one printing and finish. Required for buylist_watch."
},
"buylistWatchCondition": {
"enum": [
"buying_again",
"crossed"
],
"type": "string",
"description": "For buylist_watch: buying_again or crossed. crossed also needs direction and threshold. Required for buylist_watch."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create an alert",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| externalOrderId | string | The marketplace order id of the one returned order, as the marketplace prints it. Send it only with exactly one sessionId, when that pull sheet holds several orders. Omit it otherwise. |
{
"name": "spellbook_returned_package_record",
"description": "Record that a shipped order returned to the seller unopened. Pass the sessionId and exact externalOrderId from spellbook_returned_package_lookup when the pull sheet has several orders. Each selected order gets one return case with unconfirmed contents and appears automatically in spellbook_returned_package_work. This records the seller-reported reason; it does not refund, change inventory, postage or a marketplace. Returns one row per selected order with status recorded, already_open or failed, caseId and errorCode.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"sessionIds",
"returnReason",
"idempotencyKey"
],
"properties": {
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"sessionIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Up to 50 sessionId values from spellbook_returned_package_lookup. For a shared multi-order sheet, send exactly one sessionId with its matching externalOrderId. Required, at least one."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The workspace that shipped the orders, from spellbook_workspaces_list. Required; writes only to this workspace."
},
"returnReason": {
"enum": [
"address_issue",
"insufficient_postage",
"unclaimed_or_refused",
"damaged_in_transit",
"unknown",
"other"
],
"type": "string",
"description": "Why the carrier returned the packages, applied to every session in this call. address_issue means the address was wrong or incomplete, and the reship then requires a corrected address. unclaimed_or_refused covers an unclaimed or refused letter. Use unknown when the return label gives no reason. Required."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A key you choose for this batch, such as rts- followed by the order id. Required. Send the same key on a retry after a timeout. A new key on a session that already has an open case returns already_open."
},
"externalOrderId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The marketplace order id of the one returned order, as the marketplace prints it. Send it only with exactly one sessionId, when that pull sheet holds several orders. Omit it otherwise."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Record a package returned to sender",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_returned_package_work",
"description": "List active returned-order tasks in a seller workspace. Each task includes an exact externalOrderId when one order is identified, plus original destination evidence, return reason, case version and current saved preparation including the corrected destination. Historical mixed-order cases stay visible as blocked inspection tasks without selecting a candidate. Use this after spellbook_returned_package_record or after reconnecting to resume the same task. The read does not change shipment, inventory, refund, postage or marketplace state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 2,
"description": "Find an original order by order id, label, buyer, card name, pull-session id or tracking number. Requires at least two characters."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum active return tasks to return, up to 50. Defaults to 20."
},
"cursor": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Opaque next-page cursor returned by a prior read. Omit for the first page."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"marketplace": {
"enum": [
"manapool",
"tcgplayer",
"ebay",
"cardtrader"
],
"type": "string",
"description": "Limit tasks to one marketplace. Omit for all."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace from spellbook_workspaces_list. Required."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List returned-order reship work",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "spellbook_returned_package_reship_print",
"description": "Create or recover the immutable replacement-address PDF for one returned-order task. Use the current preparationId from spellbook_returned_package_work or spellbook_returned_package_reship_prepare. The address label is available directly. A contents page is optional and separate from the intact-package happy path. The receipt identifies its exact order and preparation and includes a short-lived download URL. This prints no postage and does not mean the package was mailed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"caseId",
"preparationId",
"idempotencyKey"
],
"properties": {
"caseId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact return caseId from returned-order work. Required."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace from spellbook_workspaces_list. Required."
},
"preparationId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The current preparationId for this task. A stale preparation is rejected."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A caller-generated key retained across retries. Reusing it returns the same immutable document receipt."
},
"includeContents": {
"type": "boolean",
"description": "Whether to append the original returned contents as a separate no-price page. Defaults to false; an intact package does not need to be opened."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Print a returned-order address label",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| expectedVersion * | integer | The current case version from returned-order work. Required to reject a stale dispatch. |
| mailingConfirmed * | boolean | Explicitly confirm the package was mailed. Printing alone is not enough. |
{
"name": "spellbook_returned_package_reship_dispatch",
"description": "Explicitly record that the seller mailed a returned order using its current preparation. Choose tracked with the tracking number or stamped/untracked with no tracking number, and send mailingConfirmed true only after mailing. The case resolves and leaves active work; its original order shipment remains unchanged. SpellBook does not verify carrier acceptance, buy postage, contact the buyer, or update a marketplace.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"caseId",
"preparationId",
"expectedVersion",
"idempotencyKey",
"method",
"mailingConfirmed"
],
"properties": {
"caseId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact return caseId from returned-order work. Required."
},
"method": {
"enum": [
"tracked",
"untracked"
],
"type": "string",
"description": "Use tracked only with a supplied tracking number. Use untracked for stamped mail with no tracking number."
},
"context": {
"type": "string",
"maxLength": 512,
"description": "Optional analytics context: describe the user's goal in one sentence. Do not copy prompts, personal details, credentials, identifiers, or tool arguments. Omit for private tasks."
},
"workspaceId": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The seller workspace from spellbook_workspaces_list. Required."
},
"preparationId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The current preparationId from returned-order work. A stale preparation is rejected."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A caller-generated key retained across retries."
},
"trackingNumber": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Tracking printed on the replacement mailer. Required exactly when method is tracked."
},
"expectedVersion": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The current case version from returned-order work. Required to reject a stale dispatch.",
"exclusiveMinimum": 0
},
"mailingConfirmed": {
"type": "boolean",
"const": true,
"description": "Explicitly confirm the package was mailed. Printing alone is not enough."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Confirm a returned-order dispatch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}