Skip to main content
Glama

Leash

Leash risk check

leash_risk_check
Read-onlyIdempotent

Leash risk firewall. Pass {tx:{from,to,data?,value? (HYPE decimal)}} to assess a transaction on the selected chain (simulation, approvals, recipients, address poisoning, new/unverified contracts, look-alike tokens, value), OR Hyperliquid perp fields {account, coin, side, size, leverage, stopPrice?, limits?} for a pre-trade check on live public data. Returns verdict pass/warn/block with checks. It NEVER places orders or sends anything. Chains: elysium (default), hyperevm, robinhood.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leash_risk_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNo
coinNo
sideNo
sizeNo
chainNoelysium (default), hyperevm or robinhoodelysium
limitsNo
accountNo
leverageNo
stopPriceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds real context beyond them: an on-chain simulation component, that perp checks run against 'live public data', the three supported chains and their default, and the verdict shape. The explicit 'NEVER places orders or sends anything' reinforces rather than contradicts readOnlyHint. It does not cover latency, rate limits, or what happens when simulation is unavailable.

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?

Front-loaded with the one-line identity ('Leash risk firewall'), then mode 1, mode 2, return value, safety guarantee, and chain list in a compact sequence. The parenthetical risk checklist is long but each item is informative. Minor cost: the single dense run-on sentence mixing modes, returns, and semantics is harder to parse than a short bulleted structure would be.

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

Completeness5/5

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

For a 9-parameter, nested-object, no-output-schema tool, the description covers the essentials: what it evaluates, both input shapes, the chain scope and default, and the returned verdict vocabulary. Nothing an agent needs in order to make a correct first call is missing.

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?

With only 11% schema description coverage across 9 top-level parameters and two nested objects, the description carries most of the semantic load and largely succeeds: it groups parameters into the tx mode and the perp mode, names the optional perp inputs (stopPrice, limits), documents the chain enum inline, and adds the non-obvious unit hint 'value? (HYPE decimal)'. Gaps remain around 'limits' sub-fields, 'size' units, and whether the two modes can be combined.

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?

The description states a specific action and resource: assess a transaction or a Hyperliquid perp position and return a pass/warn/block verdict. It enumerates the concrete risk dimensions examined (simulation, approvals, recipients, address poisoning, unverified contracts, look-alike tokens, value), so an agent can tell exactly what this tool produces rather than guessing from the name 'risk check'.

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 defines the two mutually exclusive invocation modes with the exact field sets for each ('OR Hyperliquid perp fields ...'), and names the supported chains with the default. It also excludes a whole class of use ('NEVER places orders or sends anything'), which implicitly routes execution to the prepare_* siblings. It stops short of explicitly naming those alternatives or stating when a check is unnecessary.

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