Skip to main content
Glama

Leash

Prepare revoke agent

leash_prepare_revoke_agent
Destructive

Builds (not signs) Safe.execTransaction(removeOwner(agent)) for the OWNER — the agent loses all control of the Safe on-chain. Returns a simulated signing link. 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>",
      "safe": "<safe>",
      "agent": "<agent>"
    },
    "name": "leash_prepare_revoke_agent"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the description only needs to add context — and it does: nothing is executed here (only built), a simulated signing link is returned, and the on-chain consequence for the agent is spelled out. It doesn't cover prerequisites such as the agent currently being an owner or what happens on failure.

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?

Three short sentences with the most important constraint (builds, does not sign) front-loaded ahead of the effect size and return value. The trailing chain list partly duplicates the schema enum but is compact enough not to be wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema tool, the description usefully states the return value (a simulated signing link) and the outcome of the call. It still omits prerequisites (agent must be an owner), failure behavior, and what to do with the link afterward, leaving meaningful gaps at 25% schema coverage.

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 description coverage is only 25% (only `chain` is documented), so the description must compensate. It clarifies that `agent` is an owner address being removed and that `owner` is the party the transaction is built for, but leaves `safe` merely self-evident. The chain list largely repeats the schema enum.

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?

States a specific verb and resource ("Builds (not signs) Safe.execTransaction(removeOwner(agent))") and the concrete effect ("the agent loses all control of the Safe on-chain"). It does not explicitly differentiate itself from the similarly named leash_prepare_agent_wallet or elysium_prepare_revoke, so it stops short of a 5.

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?

The intent is inferable — revoke an agent's ownership — and "Builds (not signs)" plus the returned signing link tells the caller a signing step follows. However, there is no explicit when-to-use vs. when-not guidance or named alternative (e.g., elysium_prepare_revoke or leash_prepare_agent_wallet), leaving the choice to inference.

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