Skip to main content
Glama

Update holding

update_holding
DestructiveIdempotent

Update attributes of one holding (stack) by holding_id (get ids from search_collection/where_is). Changing location is a physical move and reconciles allocation statuses like move_holding. Reducing quantity below the allocated amount is rejected — deallocate first. origin printed_proxy/bought_proxy force is_proxy=true and it cannot be unset.

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": {
      "holding_id": "<holding_id>"
    },
    "name": "update_holding"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
notesNo
finishNo
originNoHow the card was acquired (mutually exclusive). printed_proxy/bought_proxy force is_proxy=true. is_proxy/is_signed/is_altered are independent flags that combine freely with any origin (a gift proxy = origin "gift" + is_proxy=true).
is_proxyNo
locationNoLocation id or name — this physically moves the stack
quantityNo
conditionNo
is_signedNo
holding_idYes
is_alteredNo
purchase_priceNo
purchase_currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds real behavioral context beyond them: quantity reductions below the allocated amount are rejected, and printed_proxy/bought_proxy irreversible-force is_proxy=true. Location changes reconciling allocation statuses is also disclosed. It does not describe the response or whether unspecified fields are left untouched.

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

Conciseness4/5

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

Front-loaded with purpose, then constraints in descending order of risk; every clause (id source, move semantics, quantity guard, proxy irreversibility) carries information. The parenthetical and dash constructions make it dense but not padded.

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

Completeness3/5

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

For a 13-parameter destructive mutation with no output schema, the description covers the highest-risk behaviors well but leaves most parameter semantics and any notion of partial-update behavior unaddressed. Adequate to avoid the main footguns, not complete enough to call it fully specified.

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 description coverage is only 15% across 13 parameters, so the description must carry weight; it does add meaning for holding_id (where to obtain it), location (a physical move with allocation reconciliation), quantity (lower bound tied to allocations), and origin (proxy-forcing rule). The remaining parameters — finish, condition, is_signed, is_altered, notes, purchase_price/currency, lang — get no elucidation, so the compensation is partial.

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 ('Update attributes of one holding (stack)') scoped to a single holding via holding_id, and immediately points at search_collection/where_is as the id source. An agent can distinguish this from move_holding and deallocate without opening the schema.

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 concrete routing guidance: fetch ids from search_collection/where_is, use deallocate before shrinking quantity, and notes that location changes behave like move_holding. It stops short of saying when to prefer move_holding over this tool for a location-only move, so the alternative is described but not decisively resolved.

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