Skip to main content
Glama

Submit the signed envelope act (step 2 of 2)

submit_net_envelope

Complete the act: pass act, the BODY_JSON from prepare_net_envelope UNCHANGED and the signature your wallet produced over MESSAGE_TO_SIGN. Relays to the same public door any HTTP client uses (POST /labor/net/envelopes, 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 buyer wallet. An envelope moves no NET and holds none. Ask net_envelope_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_envelope"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesThe same act prepare_net_envelope was given.
bodyJsonYesThe exact BODY_JSON string from prepare_net_envelope, 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/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description discloses the custody model (server holds no keys and no funds), who verifies the signature (the public door), and the cost profile (free, no gas, moves no NET). This is exactly the kind of context annotations cannot carry, and it is stated unambiguously.

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 core instruction is front-loaded well, but the tail is repetitive: 'Free with a valid body-bound signature' and later 'Cost and signer: free, no gas', plus 'holds no keys' and 'never holds a key' restated. Two sentences could be trimmed without losing 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 present, return values need no explanation, and the description covers the essential gaps: custody, cost, signature verification, and the status-check follow-up. It omits what happens on signature rejection or whether a failed submit can be retried, which is a minor gap given idempotentHint=false.

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 act, bodyJson, and signature including the 'unchanged' and 'personal_sign over MESSAGE_TO_SIGN' constraints. The description largely restates those constraints rather than adding syntax, format, or edge-case meaning beyond the schema. Baseline 3 is appropriate.

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?

The description names a specific verb and resource ('Complete the act', relaying the signed envelope to POST /labor/net/envelopes) and anchors it as step 2 of 2 relative to prepare_net_envelope. It is distinguishable from its prepare sibling, though it does not explicitly differentiate itself from the many other submit_net_* tools in the catalog.

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 states the precondition clearly: the bodyJson must come from prepare_net_envelope UNCHANGED and the signature must be over MESSAGE_TO_SIGN. It also routes the agent to net_envelope_status for follow-up because no email is sent, giving a real alternative. No explicit when-not-to-use guidance is provided.

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