Skip to main content
Glama

Dispute work order

wever_workorder-dispute
Destructive

Either authenticated party may pause release of the order and record bounded evidence in the proof inbox. Dispute blocks further release; expiry refund to the original hirer remains available. Arbitration UI is outside v1. POST /api/workorder-dispute. Paid URL: 0.10 USDC per call on Base mainnet using x402 exact, under the existing shared 10 signed-wallet free calls over rolling 30 days. Every call requires X-Wever-Wallet-Proof bound to the exact JSON arguments and this API path, including paid calls. Order value is capped at 25.00 USDC under the existing escrow-lite rail; API access fees and escrow principal are separate. Normal states are open, funded, accepted, delivered and released. Disputed orders freeze release and retain an expiry refund path; expired funded orders refund only the hirer. No private keys are accepted, no arbitrary payee or payer substitution is allowed, and the adapter grants no authority. Read /api/workorder-contract for schemas, recovery and evidence bounds. Live funded acceptance remains a manual operator step.

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": {
      "order_id": "<order_id>",
      "idempotency_key": "<idempotency_key>",
      "evidence_reference": "<evidence_reference>",
      "proof_hash": "<proof_hash>"
    },
    "name": "wever_workorder-dispute"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes
proof_hashYes
idempotency_keyYes
evidence_referenceYesAt most 2048 UTF-8 bytes. Control characters are not allowed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Far beyond the annotations, it discloses cost (0.10 USDC x402 on Base, 10 free signed-wallet calls per rolling 30 days), the required X-Wever-Wallet-Proof bound to the exact JSON arguments and path, the 25.00 USDC order-value cap, and the concrete effect of disputing (release freeze plus retained expiry refund to the hirer). Security posture (no private keys, no payee/payer substitution, no granted authority) and the out-of-scope arbitration UI are also spelled out.

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 essential effect and blocking semantics are front-loaded, but the paragraph then packs in deposition rail facts, a full enumeration of normal states, and operator-process caveats that read as reference documentation rather than invocation guidance. Several clauses ('adapter grants no authority', 'live funded acceptance remains a manual operator step') are boilerplate that dilute the actionable content.

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?

For a destructive, paid, proof-authenticated mutation with no output schema, the description supplies the critical context: cost, auth binding, caps, state effects, refund path, and where to find schemas. What is missing is the expected response and whether retries with the same idempotency_key are deduplicated, which matters given a required idempotency key alongside 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 only 25% — only evidence_reference carries a description — so the description needed to compensate and mostly does not: order_id, proof_hash and idempotency_key receive no explanation of format or role. It does add the useful pointer to /api/workorder-contract for evidence bounds and notes that the wallet proof is bound to the exact JSON arguments, but a caller still cannot tell what proof_hash must commit to or how idempotency_key is honored.

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 first sentence gives a specific verb and effect: pause release of the order and record bounded evidence in the proof inbox, and the endpoint POST is named. However, it does not distinguish this tool from close siblings such as wever_dispute-open, wever_dispute-submit-evidence or wever_purchase-dispute, so overlap with those must be inferred rather than read.

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

Usage Guidelines3/5

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

Who may invoke it ('either authenticated party') and what it blocks are stated, and the state machine implies eligibility (funded/accepted/delivered orders). But there is no explicit 'use this instead of X when Y' guidance versus the dispute-open/submit-evidence siblings, nor a statement of preconditions such as which order states permit a dispute.

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.