Skip to main content
Glama

prepare_stock_safe

Build ONE unsigned call to put stock tokens into, or take them out of, the stock safe at your apartment, for your own signed-in wallet to sign (token from wallet_login). action deposit or withdraw; symbol; shares, or all: true. Deposits need the apartment to be yours and follow the stock swap place rule and confirmation; withdrawals are never refused. Deposits stay yours if you sell the apartment: look them up with home_vault by wallet, which reads every apartment. Answers off until the safe is open.

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": {
      "action": "<action>",
      "home": "<home>",
      "symbol": "<symbol>"
    },
    "name": "prepare_stock_safe"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
homeYesapartment number
tokenNo
actionYesdeposit or withdraw
sharesNoamount in shares
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and discloses several important traits: it builds an unsigned call for the signed-in wallet to sign, explains token sourcing from wallet_login, deposit eligibility and confirmation, withdrawal acceptance, and deposit persistence after selling the apartment. The main gap is that phrases like 'stock swap place rule' and 'Answers off until the safe is open' are opaque rather than fully explained.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is a dense semicolon-heavy shorthand with cryptic terms such as 'stock swap place rule' and 'Answers off until the safe is open'. It is compact, yet the structure and unclear phrasing reduce usability.

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?

For a six-parameter mutation-preparation tool with no annotations and no output schema, the description covers the essential flow: unsigned call construction, signing wallet, token source, deposit conditions, withdrawal behavior, persistence, and lookup via home_vault. It is not fully complete because symbol formatting and some jargon remain unexplained.

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

Parameters4/5

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

Schema description coverage is 50%, so the description must add meaning beyond the schema. It does this by clarifying that token comes from wallet_login and that the caller can provide shares or use all: true, but it leaves the symbol parameter bare and does not explain expected symbol format.

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 states a specific verb and resource: build one unsigned call to deposit or withdraw stock tokens into the stock safe at the user's apartment. It also distinguishes the read path by pointing to home_vault for looking up deposits, so an agent can tell this mutation/preparation tool apart from lookup behavior.

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?

It gives clear usage context: deposit or withdraw, use the token from wallet_login, deposits require apartment ownership and confirmation, and withdrawals are never refused. It also names home_vault as the lookup alternative, but it does not explicitly state when not to use this tool or name other prepare_* alternatives.

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