Skip to main content
Glama

Scrooge

Build an OTC buy offer

build_otc_buy_offer
Read-only

Posts a buy offer on ScroogeOTCBids: amount of a token wanted for pay_total in ETH or USDG, which the contract holds until holders sell into it, whole or in part. Optional: one wallet only may sell (only_seller), the least share a sale must bring (min_sell_pct) and an end (ends_in_hours).

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>",
      "pay_total": "<pay_total>",
      "wallet": "<wallet>"
    },
    "name": "build_otc_buy_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
payNoWhat it pays in (default ETH)
tokenYesThe token wanted: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
amountYesHow much of it, as a decimal number such as 0.5
walletYesThe address that will sign and send the transactions
pay_totalYesWhat it pays for all of it, in `pay`, as a decimal number such as 0.5
only_sellerNoOptional: the only wallet that may sell
min_sell_pctNoOptional: the least share one sale must bring, 0 to 100 (default 0)
ends_in_hoursNoOptional: hours until it ends (default never)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

The description discloses real contract behavior (funds held in escrow until holders sell in, partial fills, seller restrictions, expiry), which is genuinely useful context beyond the annotations. However, it frames the tool as posting an offer while annotations declare readOnlyHint=true, and it never clarifies that what is produced is an unsigned transaction the `wallet` will sign and send — leaving the write/read nature contradictory rather than explained.

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?

Two sentences, purpose front-loaded, with the escrow/partial-fill clause earning its space. The second sentence is a dense comma-spliced list of optional parameters but stays readable; no filler or restated title.

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?

With 8 parameters, 100% schema coverage and no output schema, the description covers the offer's semantics well, but for a transaction-building tool it omits what is returned, whether approval/signing steps are needed, and the build-vs-execute distinction. Those are the gaps an agent needs before calling it correctly.

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 schema already documents all eight parameters and the 3 baseline would apply. The description adds meaning on top: `pay_total` is escrowed by the contract, sales may be whole or partial, `min_sell_pct` is a per-sale floor, and `ends_in_hours` sets an expiry — semantics the schema strings only hint at.

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

Purpose4/5

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

States a specific verb and resource ("Posts a buy offer on ScroogeOTCBids") and pins down the economics: `amount` of a token wanted for `pay_total` in ETH or USDG. It reads clearly against its sell-side sibling, though the present-tense "Posts" blurs whether this tool executes the posting or only builds it.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance: nothing says to use build_otc_sell_offer instead when selling, or build_otc_buy / build_limit_order for other buy paths in the sibling list. It also gives no prerequisites (balance, approvals, whether the wallet must hold the pay token), leaving the agent to infer the selection criteria.

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