Skip to main content
Glama

Mandate draft

wever_mandate-draft
Read-only

Thesis and mandate: turn limits into a draft trading-agent mandate in the Wever permission-slip format, marked as a draft for human approval. Inputs: assets, per_transaction_cap_usdc, daily_cap_usdc, daily_loss_limit_usdc, expires_at and, for a treasury agent, destination_allowlist, plus optional venues, order types, leverage and approval details. Returns the trading or treasury mandate with amounts in USDC millionths, how each limit maps to a field, the fields the principal, broker or agent still supply, a check against the permission-slip schema and rules, and a plain summary. Draft only: nothing is signed, issued or activated, and no money moves. POST /api/mandate-draft. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/thesis-mandate-contract. Human page: https://weverlabs.com/thesis-mandate/.

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": {
      "assets": "<assets>",
      "per_transaction_cap_usdc": "<per_transaction_cap_usdc>",
      "daily_cap_usdc": "<daily_cap_usdc>",
      "expires_at": "<expires_at>"
    },
    "name": "wever_mandate-draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetsYesAssets the agent may trade (trading) or ["USDC"] (treasury).
venuesNo
profileNotrading for an agent that trades, treasury for an agent that withdraws USDC. Defaults to treasury when destination_allowlist is supplied, otherwise trading.
starts_atNoUTC with whole seconds, for example 2026-12-01T00:00:00Z.
expires_atYesUTC with whole seconds, for example 2026-12-01T00:00:00Z.
order_typesNo
max_leverageNo
approval_pathNo
dual_approvalNo
daily_cap_usdcYesTreasury: daily_withdrawal_cap. Trading: total position cap unless total_position_cap_usdc is supplied.
principal_walletNo
position_caps_usdcNo
principal_account_idNo
daily_loss_limit_usdcNoTrading daily loss cap, including realized and unrealized losses, fees and funding.
destination_allowlistNoTreasury withdrawal destinations.
total_position_cap_usdcNoUSDC as a decimal string, up to 6 places and at most 1,000,000.
per_transaction_cap_usdcYesLargest single transaction. Treasury: per_transaction_cap. Trading: each asset’s position cap unless position_caps_usdc is supplied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint=true and destructiveHint=false, the description still adds substantial behavior: the POST route, the 0.10 USDC x402 payment on Base, the 10 free signed-wallet calls per rolling 30 days, the requirement to bind X-Wever-Wallet-Proof to the exact JSON arguments, and an Ed25519-signed receipt on the report. The 'draft only, nothing signed or activated' statement is fully consistent with the read-only annotation, so there is no contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but dense and front-loaded: purpose first, then inputs, then return contents, then the draft-only boundary, then payment mechanics. Every sentence carries operational weight, with the only marginal material being the trailing contract and human-page URLs.

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 17-parameter tool with nested objects and no output schema, the description does the heavy lifting: it enumerates the return payload (mapped limits, remaining fields, schema check, plain summary) and discloses payment and authentication prerequisites. A few secondary parameters remain unexplained, keeping it short of fully complete.

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 53% across 17 parameters, and the description compensates by grouping inputs into required core (assets, per_transaction_cap_usdc, daily_cap_usdc, expires_at), treasury-specific (destination_allowlist), and optional (venues, order types, leverage, approval details). It also signals the profile-dependent meaning of daily_cap_usdc and per_transaction_cap_usdc via the trading-versus-treasury framing, though some parameters such as principal_wallet, principal_account_id and dual_approval are left to the schema.

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 gives a specific verb and artifact: turn limits into a draft trading-agent mandate in the Wever permission-slip format. It clearly separates this from the issuing/activation path by stating it is 'marked as a draft for human approval' and 'nothing is signed, issued or activated', which implicitly distinguishes it from siblings like wever_mandate-issue or wever_ap2-mandate-gateway, though it never names them.

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 frames the use case (drafting a mandate for human approval) and the negative case (not issuing, not activating, no money moves), and it states which inputs apply to trading versus treasury agents. What is missing is an explicit pointer to the sibling to call next, e.g. wever_mandate-issue after approval, so the agent must infer the workflow.

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