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 (claimed, settled, expired, already funded). When you accept the worker's proof, pay them directly; 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.

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, the wallet needs no balance and can be generated locally, the key is never seen, and offering again replaces the prior offer. It also discloses the return payload (MESSAGE_TO_SIGN, BODY_JSON) and a 5-minute submit window, which no annotation conveys.

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?

Purpose is front-loaded and every clause is substantive, but it is a single dense block that states cost twice ("FREE: ... no fee, no gas" then "Cost and signer: free, no gas") and leans on ALL-CAPS emphasis where structure would read better. It is efficient but not tight.

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 two-step signing flow the description covers the full contract: what is produced, what signs it, how long the artifact is valid, what state blocks it, and where to go next. With an output schema present it need not restate field shapes, and it doesn't.

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 100%, so all six parameters are already documented in structured form. The description restates method values and adds only marginal meaning (the wallet needs no balance, the amount is paid directly off-platform), so it neither compensates for nor exceeds the schema.

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), pins the scope (OFF the board, US dollars, own card processor or bank), and separates it from the on-chain instrument siblings by contrast. It also names the two tools it pairs with (submit_direct_offer, prepare_direct_settlement), so an agent can place it in the workflow without opening a 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 explicit timing ("Before the work"), preconditions ("One offer per wallet per packet; offering again replaces it"), and exclusions ("Refused where funding is refused by state (claimed, settled, expired, already funded)"). It also routes the post-acceptance leg to prepare_direct_settlement, though it never contrasts against the other offer-preparation siblings such as prepare_credit_offer or prepare_funding.

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