Skip to main content
Glama

Scrooge

Build an OTC sell offer

build_otc_sell_offer
Read-only

Offers amount of a token on ScroogeOTC for price_total in ETH or USDG, bought whole or in part. Optional: one wallet only may buy (only_buyer), the least share a purchase must take (min_buy_pct), a lock on what is bought (lock_days) and an end (ends_in_hours). The token stays in the wallet until bought; the approval is for exactly amount. Scrooge takes 0.5% of what the buyer pays.

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": {
      "token": "<token>",
      "amount": "<amount>",
      "price_total": "<price_total>",
      "wallet": "<wallet>"
    },
    "name": "build_otc_sell_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
payNoWhat the buyer pays in (default ETH)
tokenYesThe token to sell: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
amountYesHow much to sell, as a decimal number such as 0.5
walletYesThe address that will sign and send the transactions
lock_daysNoOptional: days what is bought stays locked for the buyer (default 0)
only_buyerNoOptional: the only wallet that may buy
min_buy_pctNoOptional: the least share of the offer one purchase must take, 0 to 100 (default 0, any amount)
price_totalYesThe price for all of it, in `pay`, as a decimal number such as 0.5
ends_in_hoursNoOptional: hours until the offer ends (default never)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With readOnlyHint=true and openWorldHint=true already given, the description still adds real value: the token stays in the wallet until bought, the approval is exactly `amount`, and Scrooge takes 0.5% of what the buyer pays. These are non-obvious economic and custody behaviors an agent cannot infer from annotations. It falls short of 5 because it never says the tool returns transactions to be signed rather than executing the offer itself.

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

Conciseness5/5

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

Four dense sentences, front-loaded with the core offer semantics before optional modifiers, and closing with the risk-relevant fee. No filler and no repetition of the schema.

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 9-parameter build tool with no output schema, the description covers offer semantics well but omits the return contract: that it produces unsigned transaction(s) for the `wallet` to sign and send, and whether the approval and offer creation are separate steps. That omission matters for correct invocation sequencing, though annotations do carry the safety profile.

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 coverage is 100%, so the baseline is 3. The description goes beyond restating fields by explaining how the parameters interact: the offer can be bought whole or in part, min_buy_pct is the least share one purchase must take, and lock_days constrains what is bought rather than the offer itself.

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 action and resource: offer `amount` of a token on ScroogeOTC for `price_total` in ETH or USDG. It also encodes the distinguishing mechanics (partial fills, single-buyer restriction, lock, expiry) that separate it from build_otc_buy_offer and build_otc_sell_to_bid.

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

Usage Guidelines3/5

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

The selling scenario is clear from the text, and partial-fill semantics imply when a seller would pick this over a fixed-counterparty flow. However, there is no explicit when-not-to-use guidance, no mention of the sibling tools it competes with, and no statement of the build→sign→send workflow an agent must complete afterward.

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