Skip to main content
Glama

deposit_funds

Destructive

Deposits ERC-20 or native tokens into an entity's protocol treasury (e.g. seller deposit). For ERC-20, call approve_exchange_token first. In metaTx mode, you can skip the approval by passing transferAuthorizations (built with a sign_receive_with_* tool) to send_meta_transaction. Returns unsigned transaction data.

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in wei. For ERC-20, approve_exchange_token must be called first, unless relaying in metaTx mode with transferAuthorizations passed to send_meta_transaction. Pass as string.
configIdYesBoson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server.
entityIdYesNumeric ID of the entity to credit. Must match signerAddress's seller account.
tokenAddressYesERC-20 token to deposit. Use address(0) for native ETH.
executionModeNo'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
signerAddressYesEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / amount / description
      Previous value: -"Amount in wei. For ERC-20, approve_exchange_token must be called first. Pass as string."New value: +"Amount in wei. For ERC-20, approve_exchange_token must be called first, unless relaying in metaTx mode with transferAuthorizations passed to send_meta_transaction. Pass as string."
  2. 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 readOnlyHint=false and destructiveHint=true, so the safety profile is covered. The description adds real behavioral context beyond them: the approval prerequisite, the gasless metaTx bypass, and that the call returns unsigned transaction data. It does not discuss failure/revert conditions or what happens to treasury state, so not a full 5.

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?

Three sentences, zero waste, front-loaded with purpose then prerequisites then return value. Dense tool references (approve_exchange_token, sign_receive_with_*) are necessary for chaining rather than filler.

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 6-param destructive write with no output schema, the description covers purpose, prerequisites, alternate execution paths, and the return shape. Minor gaps remain around error/revert behavior and whether the returned unsigned tx must be relayed via send_signed_transaction in direct mode.

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 every parameter (including tokenAddress's address(0) convention and executionMode's enum) is already documented in the schema. The description restates the approval/metaTx dependency for amount but adds no syntax or format detail beyond what the schema provides — baseline 3.

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?

States a specific verb and resource (deposits ERC-20 or native tokens into an entity's protocol treasury) and immediately names the concrete use case (seller deposit). An agent can distinguish it from sibling withdraw_funds and from the approve/transfer helpers without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes prerequisites: 'For ERC-20, call approve_exchange_token first,' and gives the alternate path — skip approval in metaTx mode by passing transferAuthorizations to send_meta_transaction. This names the sibling tools and the condition that selects each path.

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