Skip to main content
Glama

Sleeve deck

sleeve_deck
DestructiveIdempotent

Sleeve everything a deck (id or name) has claimed for itself, in one call: each staged, non-shared allocation becomes sleeved and its copies physically move into the deck's location (a stack the deck holds only part of is split). Use it once the user says the deck is physically built. Borrowed copies never move: a shared allocation stays staged, and so does a copy whose stack another deck has sleeved. Returns sleeved and stayed; every stayed row carries its reason, the other decks (also_allocated_to) and where the card is (physically_in). ALWAYS tell the user which cards stayed and why, name the other decks on any sleeved row that lists them, and say which sleeved cards are proxies (is_proxy).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "deck": "<deck>"
    },
    "name": "sleeve_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesDeck id or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true; the description goes well beyond them by explaining that copies physically move into the deck's location, that partial stacks are split, that shared allocations and copies already sleeved by another deck stay staged, and that idempotency comes from this selective behavior. It also prescribes user-facing disclosure obligations for the outcome, which is real behavioral context the annotations cannot carry.

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

Conciseness4/5

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

Front-loads the action and its scope, then layers the non-movement rules and output contract in a logical order with no filler. The final imperative sentence is long and packs three separate reporting obligations, which slightly hurts scanability but all of it earns its place.

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

Completeness5/5

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

With no output schema, the description correctly takes on the return contract by naming the `sleeved` and `stayed` fields and their subfields (`reason`, `also_allocated_to`, `physically_in`, `is_proxy`). For a destructive, irreversible-feeling bulk mutation, the combination of movement semantics, stay-behind rules, and return shape is sufficient for correct invocation.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter is fully documented as "Deck id or name"; the description's "deck (id or name)" merely echoes that. No additional meaning (format, resolution order when a name is ambiguous) is added, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource ("Sleeve everything a deck (id or name) has claimed for itself, in one call") and scopes it to bulk deck-level work rather than a single allocation, which is enough for an agent to tell it apart from a per-item tool. The parenthetical clarifying what "claimed" means (staged, non-shared allocations) removes ambiguity about the target set.

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

Usage Guidelines4/5

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

Gives an explicit trigger condition: "Use it once the user says the deck is physically built." It also implies when-not by explaining that borrowed/shared copies never move, but it never names an alternative tool or states an explicit exclusion case for the agent to route on.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources