Skip to main content
Glama

chain_erc1155_balance

Read-only

ERC1155 balance — Balance of an ERC1155 token id for an owner (contract=, owner=, id=). Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.002 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>",
      "contract": "<contract>",
      "owner": "<owner>",
      "id": "<id>"
    },
    "name": "chain_erc1155_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes1
chainYesethereum
ownerYes0x000000000000000000000000000000000000dEaD
contractYes0x495f947276749Ce646f68AC8c248420045cb7b5e

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds context the annotations cannot carry: this is a paid call ($0.002 USDC on Base via x402) and which chains are supported with base as the default. It does not describe the returned value or pagination, but the payment and chain-scope disclosures are substantive.

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?

Two dense sentences with no filler, and the core purpose is front-loaded before the parameter and chain details. The parenthetical parameter list and price note are compact, though the heavy use of parentheses makes it slightly harder to scan than plain prose.

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?

For a 4-parameter, fully required tool with no output schema, the description covers purpose, chain scope, defaults, and cost. What remains thin is the shape of the result (a balance value) and whether id is decimal or hex, both of which are minor but not covered anywhere in the structured data.

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?

Schema coverage is 100%, so the baseline would be 3, but the schema 'descriptions' are merely placeholder examples ('1', 'ethereum', a sample address) that convey no real semantics. The description compensates by enumerating the valid chain values and stating that base is the default, which the schema example ('ethereum') actively obscures.

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 names a specific resource and operation: the balance of a given ERC1155 token id for an owner, and it lists the identifying parameters (contract=, owner=, id=). The 'ERC1155' qualifier implicitly separates it from chain_erc20_balance and chain_nft_owner, but it never names an alternative explicitly, so the differentiation is inferred rather than stated.

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 for ERC1155 id balances. The description does add useful operational context (supported chains and that base is the default), but it gives no when-to-use/when-not guidance and no routing to siblings such as chain_erc20_balance or chain_nft_owner.

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