Skip to main content
Glama

Submit the signed matching-offer act (step 2 of 2)

submit_net_match

Complete the act: pass act, the BODY_JSON from prepare_net_match UNCHANGED and the signature your wallet produced over MESSAGE_TO_SIGN. Relays to the same public door any HTTP client uses (POST /labor/net/matches, or its /:id/withdraw); this server holds no keys and no funds, and the door checks the signature itself. Free with a valid body-bound signature from the sponsor wallet. An offer moves no NET and holds none. Ask net_match_status where it stands, because Vealth sends no email. Cost and signer: free, no gas; signed by the person's 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": {
      "act": "<act>",
      "bodyJson": "<bodyJson>",
      "signature": "<signature>"
    },
    "name": "submit_net_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesThe same act prepare_net_match was given.
bodyJsonYesThe exact BODY_JSON string from prepare_net_match, unchanged.
signatureYesThe 0x… personal_sign output over MESSAGE_TO_SIGN.

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.4/5.0
Behavior5/5

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

Annotations only say readOnly=false, openWorld=true, idempotent=false, destructive=false; the description adds substantive behavior: the server holds no keys or funds, the public door verifies the signature itself, the operation is free with no gas, an offer moves no NET and holds none, and no notification is emitted. That also reconciles the withdraw act with destructiveHint=false, since withdrawal moves no funds.

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 action and its inputs are front-loaded well, but the no-custody/free point is restated three times ("holds no keys and no funds", "Free with a valid body-bound signature", "Cost and signer: free, no gas … the house never holds a key"). The final sentence largely duplicates earlier content instead of adding new information.

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?

With an output schema available, return values need no explanation, and the description covers cost, signer identity, custody model, endpoint, and status-check routing. The only thin spot is behavior on resubmission, which matters given idempotentHint=false and a signed body — it is not stated whether replaying the same signed body is rejected or duplicates the act.

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, but the prose adds binding constraints the schema states only thinly: bodyJson must be byte-for-byte unchanged, the signature must be the sponsor wallet's personal_sign output over MESSAGE_TO_SIGN, and act must match what prepare_net_match received. That clarifies why mismatches fail rather than merely restating field types.

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?

"Complete the act" is paired immediately with the exact inputs (act, BODY_JSON from prepare_net_match, wallet signature) and with the concrete endpoint it hits (POST /labor/net/matches or /:id/withdraw). The title's "step 2 of 2" plus the explicit reference to prepare_net_match makes it unambiguous which sibling precedes it and which one to consult afterward.

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 clearly states the precondition (the output of prepare_net_match, used unchanged, with a signature over MESSAGE_TO_SIGN) and routes status checks to net_match_status because no email is sent. It does not spell out failure handling or what to do if the body was altered, but the when-to-use context is explicit and actionable.

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