Skip to main content
Glama

Offer to pay a packet directly, by card or bank (step 1 of 2)

prepare_direct_offer
Read-onlyIdempotent

Before the work: offer to pay this packet yourself, OFF the board, in US dollars, through your own card processor (your own Stripe, for example), your bank, or any way you and the worker agree. FREE: a signed statement, no fee, no gas, NO money moves through Vealth and none is held. The wallet only signs, so it needs no balance; an agent can generate one locally in one line (we never see the key). method is card, bank or other. One offer per wallet per packet; offering again replaces it. Refused where funding is refused by state (settled, expired, already funded, or claimed with an acceptor already named or a proof already decided). An offer never makes you this job's acceptor by itself: the job's poster decides the proof unless the poster names you to decide it, with one signed call on the acceptor door. Once named, you accept or return their proof (prepare_accept_hours), pay them directly, and they record it with prepare_direct_settlement. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the payer wallet's personal_sign, then call submit_direct_offer within 5 minutes. Cost and signer: free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key.

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": {
      "workId": "<workId>",
      "backerWallet": "<backerWallet>",
      "amountUsd": "<amountUsd>",
      "method": "<method>"
    },
    "name": "prepare_direct_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYescard (your own card processor), bank, or other.
reasonNoOptional, up to 280 characters, public: why this packet. No email, phone or account numbers.
workIdYesThe packet id, from find_work.
amountUsdYesThe dollars you will pay the worker directly, at most two decimals.
backerKindNoSelf-declared attribution. Defaults to agent if omitted.
backerWalletYesThe 0x… address that will sign as the payer. Address only, never a key.

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: no fee, no gas, no money moves through the platform, no wallet balance required, and a locally generated key is acceptable. It discloses the operational contract that matters most — returns MESSAGE_TO_SIGN and BODY_JSON, sign with the payer wallet's personal_sign, then submit within 5 minutes — plus the one-offer-per-wallet replace semantics and the fact that no acceptor role is conferred. Nothing here contradicts readOnlyHint/openWorldHint/idempotentHint.

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?

Front-loaded with the offer itself and the cost/security posture, which is right, but the prose is dense and repeats itself: 'your own Stripe' / 'your own card processor' says the same thing twice, and 'we never see the key' is restated as 'the house never holds a key.' The caps-locked emphasis (OFF, FREE, NO) adds noise without adding information.

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?

For a prepare/sign step with an output schema already present, the description covers everything an agent must know: cost, gas, balance, who signs, the 5-minute submission window, refusal states, replace-on-repeat behavior, and the downstream acceptor/settlement sequence. Return-value shape is rightfully delegated to the output schema.

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%, so the schema already documents all six parameters, including the method and backerKind enums. The description adds only one genuine piece of meaning beyond the schema — that backerWallet is the wallet that performs the personal_sign — while listing 'card, bank or other' merely restates the enum. Baseline 3 is correct when the schema carries the semantics.

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 — 'offer to pay this packet yourself, OFF the board, in US dollars' — and frames itself as the prepare/sign half of a two-step flow whose second half is named ('call submit_direct_offer'). It also explicitly contrasts with the acceptor role ('An offer never makes you this job's acceptor by itself') and names prepare_accept_hours and prepare_direct_settlement, so an agent can place it against siblings.

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 a clear timing cue ('Before the work') and a solid when-not list: refused where funding is refused by state (settled, expired, already funded, or claimed with an acceptor named or proof decided). It also routes the post-offer path to prepare_accept_hours and prepare_direct_settlement. The gap is that it never distinguishes direct offer from the other funding routes an agent may see in the sibling list (credit offer, token offer, backing), leaving that selection to inference.

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