Skip to main content
Glama

chain_vault

Read-only

ERC-4626 vault reader — Read any ERC-4626 tokenized vault on base, ethereum, arbitrum, optimism or polygon: name, symbol, underlying asset (symbol, decimals), total assets, total shares, share price via convertToAssets, whether deposits are open (maxDeposit). vault= required, chain= default ethereum, holder= optional address to value its position. 422 if the contract is not ERC-4626. Price: $0.003 USDC (Base, via x402).

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": {
      "chain": "<chain>",
      "vault": "<vault>"
    },
    "name": "chain_vault"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesethereum
vaultYes0x83F20F44975D03b1b09e64809B757c47f942BEeA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), so the description's real contribution is the chain coverage, the 422 failure mode for non-conforming contracts, and the explicit price ($0.003 USDC on Base via x402) — all things an agent cannot get from structured fields. It does not describe pagination or latency, but neither is relevant for a single-contract read.

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?

Content is front-loaded: identity of the tool first, then return fields, then parameter roles, then error and pricing. It is dense but nearly every clause carries information; the packed single-sentence return enumeration is the only readability cost.

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 carries the burden of explaining return values and does so field by field, plus chain scope, error semantics, and cost. The only real incompleteness is the schema/description mismatch on 'holder' and chain's required-vs-default status, which could mislead an agent constructing the call.

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 100%, so baseline 3 applies, and the description does add the intent of 'holder' (value that address's position). However it introduces a 'holder' parameter that is absent from the declared schema, and it calls chain a default ('ethereum') while the schema marks chain as required — both create ambiguity that offsets the added meaning.

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 opens with a specific verb+resource ('Read any ERC-4626 tokenized vault') and enumerates exactly what comes back (name, symbol, underlying asset, totalAssets, totalShares, convertToAssets share price, maxDeposit status). That detail makes it distinguishable in practice from generic siblings like chain_call or chain_storage, although it never names an alternative explicitly.

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 gives clear context for use — any ERC-4626 vault on five named chains — and one hard exclusion ('422 if the contract is not ERC-4626'), which tells the agent when this call will fail. It stops short of naming a fallback (e.g. chain_call) for non-4626 contracts, so the agent must infer what to do when the 422 triggers.

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