Skip to main content
Glama

set_sealed_inventory

Set the absolute quantity of a sealed product in your MTG inventory, adding or updating it as needed.

Instructions

Add or update a sealed product in the authenticated user's inventory by setting its absolute quantity (upserts the row for that product). This is a real write and is Premium-gated. Use remove_sealed_inventory to delete a row. Requires IWMM_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sealedProductUuidYesSealed product UUID. Get it from get_sealed_products or get_sealed_product.
quantityYesAbsolute quantity to set for this product.
Behavior3/5

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

No annotations provided, so the description must carry the full burden. It discloses the tool is a real write (not readOnly), Premium-gated, and uses upsert semantics. However, it does not mention what the return value or error behavior is. With no annotations, a score of 3 is appropriate as it provides key traits but has a notable gap.

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

Conciseness4/5

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

The description is three sentences covering the action, its nature, and alternatives. It is front-loaded with the main purpose and has no fluff, earning a 4 for being appropriately sized and efficient.

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

Completeness4/5

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

Given no output schema or annotations, and only two simple parameters, the description adequately covers purpose, usage, and behavior. It could mention error handling or return format but is reasonably complete for a write tool. Score 4 reflects minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the description adds no extra parameter meaning beyond what the schema provides. The description mentions 'absolute quantity' which correlates to the quantity parameter, but this is already captured in the schema. Baseline 3 is justified.

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

Purpose5/5

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

The description uses specific verb 'Add or update' and clearly identifies the resource 'sealed product in the authenticated user's inventory'. It distinguishes from sibling 'remove_sealed_inventory' by mentioning its purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use the tool (add/update sealed inventory) and provides a direct alternative sibling (remove_sealed_inventory). It also notes that it is Premium-gated and requires an API key, but does not include explicit 'when not to use' or other alternative scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matthewdtowles/iwantmymtg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server