Skip to main content
Glama

Leash

Prepare agent wallet (Safe)

leash_prepare_agent_wallet

Builds (not signs) the creation of a Safe v1.4.1 agent wallet with owners [owner, agent] and threshold 1, predicts its address, and returns a signing link for the OWNER. Then fund the Safe and create a policy. Chains: elysium (default), hyperevm, robinhood.

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": {
      "owner": "<owner>",
      "agent": "<agent>"
    },
    "name": "leash_prepare_agent_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes
chainNoelysium (default), hyperevm or robinhoodelysium
ownerYes
saltNonceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, non-idempotent, open-world preparation step; the description adds that nothing is actually signed, that the address is predicted ahead of deployment, and that a signing link is handed to the OWNER rather than the agent. It does not explain how saltNonce affects the predicted address or what happens on a repeated call, which matters given idempotentHint=false.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the verb and artifact, followed by the downstream sequencing and the chain constraint. No filler and no restatement of the tool title.

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 no output schema, the description correctly covers what is returned (predicted address plus an owner signing link) and the Safe configuration, which is the essential information for calling it. The remaining gap is saltNonce semantics and repeat-call behavior for a non-idempotent preparation tool.

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%, so the description must carry weight: it does clarify that owner and agent are both Safe owners and that the owner is the one who signs, and it enumerates the three chains. However, the chain list merely restates the schema's own enum description, and saltNonce — the parameter that determines the predicted address — is never explained.

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?

Names a specific verb and artifact: builds (but does not sign) a Safe v1.4.1 agent wallet with owners [owner, agent] and threshold 1, then also states it predicts the address and returns an owner signing link. The parenthetical 'not signs' immediately separates it from any tool that submits a transaction.

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 the ordering explicitly ('Then fund the Safe and create a policy'), which tells an agent this is step one of a flow and what comes next. It also constrains the chain choice, but never states when to prefer this over a plain montra_wallet or another preparation tool, so it stops short of full when/when-not guidance.

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