Skip to main content
Glama

Leash

Safe info

leash_safe_info
Read-onlyIdempotent

Reads a Safe: version, owners (labelled), threshold, nonce, HYPE balance, modules, guard, fallback handler, and whether Leash would accept it for an agent policy (threshold 1; modules/guard flagged). 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": {
      "safe": "<safe>"
    },
    "name": "leash_safe_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
safeYes
chainNoelysium (default), hyperevm or robinhoodelysium

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description is consistent with readOnlyHint/idempotentHint and adds real context beyond them: the exact data surface returned, that owners come back labelled, and the acceptance rule used (threshold 1; modules/guard flagged). It does not state error behavior for unsupported Safes or nonce semantics, so it stops short of a 5.

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?

One front-loaded sentence that leads with the verb and resource, then lists return fields with parenthetical clarifications. The trailing chain list duplicates the schema's enum/default description and is the one element that does not fully earn its space.

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 and a wide return surface, enumerating the returned fields is exactly the right compensation, and the policy-acceptance flag is explained well enough to act on. The remaining gap is operational: no note on cross-chain address differences or what happens if the address is not a Safe.

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?

The 'safe' parameter has no schema description (only a 0x-address pattern), and the description only implies it is a Safe contract address without stating whether it must be the Safe singleton, proxy, or per-chain variant. The chain values and elysium default are repeated from the schema's enum description, adding no new meaning, so this lands at the 50%-coverage baseline.

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?

Specific verb ('Reads') plus resource ('a Safe') with an explicit enumeration of returned fields — version, owners, threshold, nonce, HYPE balance, modules, guard, fallback handler, and a Leash policy-acceptance verdict. This makes it clearly an information lookup rather than the transaction history that sibling leash_safe_transactions implies, though no sibling is named.

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?

Usage is only implied: an agent can infer this is the tool to call when inspecting a Safe before creating or using a Leash policy, aided by the 'would Leash accept it' field. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as leash_safe_transactions or leash_risk_check.

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