Skip to main content
Glama

Write contract

fuse_write_contract

Signs and submits a state-mutating contract call from the server's signer. ABI is auto-fetched from the Fuse explorer when not supplied. Returns the transaction hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
abiNoOptional ABI override. If omitted, the verified ABI is fetched from the Fuse explorer.
argsNoPositional arguments (defaults to []).
addressYesContract address.
valueWeiNoNative FUSE value to send with the call, in wei (for payable functions).
functionNameYesState-mutating function to call.

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool signs and submits calls from the server's signer, auto-fetches ABI, and returns a transaction hash. However, it does not mention permissions required, reversibility, or error conditions, which are important for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no wasted words. The first sentence provides the core purpose, and the second adds important details (ABI auto-fetch, return value). Efficiently structured.

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 write tool with 5 parameters and no output schema, the description covers the return value, ABI behavior, and mutation context. It could mention that the call originates from the server's signer and clarify error handling, but overall it provides sufficient information for an agent to use the tool correctly.

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 100%, so the schema already documents all parameters. The description adds minimal extra context: that ABI is auto-fetched when omitted and that valueWei is for payable functions. This is adequate but not exceptional.

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 clearly states the verb ('signs and submits'), resource ('state-mutating contract call'), and key behaviors (auto-fetch ABI, returns transaction hash). It distinguishes from sibling tools like fuse_read_contract by specifying state-mutating nature.

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?

The description implies usage for writing to contracts by stating 'state-mutating contract call' and mentions auto-fetching ABI. However, it does not explicitly state when not to use it or provide alternatives, though the sibling list includes read and deploy tools that naturally differentiate.

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.

TDQS

A3.7/5.0
Disambiguation5/5

All 50 tools have clearly distinct purposes, with descriptive names and descriptions that differentiate even similar concepts like token pricing (fuse_get_token_price, fuse_get_token_price_change, etc.). There is no ambiguity between tools.

Naming Consistency5/5

All tools follow a consistent 'fuse_verb_noun' pattern using snake_case, with groups like fuse_get_*, fuse_send_*, fuse_smart_*, and fuse_notification_*, making them predictable and easy to navigate.

Tool Count4/5

50 tools is on the higher side but appropriate given the breadth of Fuse Network operations (read/write, smart wallet, staking, trading, notifications, ENS, etc.). Each tool contributes to a well-scoped feature set without unnecessary redundancy.

Completeness4/5

The tool set covers a comprehensive range of blockchain interactions on Fuse, including balances, transfers, smart contracts, staking, trading, NFTs, notifications, and ENS. Minor gaps like governance or bridging exist but do not significantly impair common workflows.

Resources