Skip to main content
Glama

Displaid: earn USDC by wearing a verified NFT as your X avatar

Build a pool deposit

build_fund_tx
Read-only

Unsigned approve + deposit transactions to add reward tokens to a pool (anyone can fund a pool). amount in whole tokens, e.g. "25" = 25 USDC.

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": {
      "pool": "<pool>",
      "amount": "<amount>"
    },
    "name": "build_fund_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoDepositing wallet (optional, for the exact fee)
poolYesPool key from list_reward_pools, e.g. loser-club
amountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the output is unsigned transactions and that two are produced (an approve plus the deposit), which tells the agent it must sign and submit them itself. It does not cover approval amount semantics, gas, or ordering guarantees, but the readOnlyHint is not contradicted since nothing is submitted on-chain.

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?

One sentence, front-loaded with the action and resource, with the unit convention appended as essential clarification. No 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 three-parameter transaction builder with no output schema, the description covers what is produced, in what state (unsigned), and how the amount is denominated. It could still say more about network context and how to handle the two returned transactions, but the essentials are present.

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?

The schema documents pool and from but leaves amount as only a regex pattern; the description compensates by defining amount as whole tokens with a concrete example ('25' = 25 USDC), which is real meaning not available in the schema.

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?

States a specific verb and resource: builds unsigned approve + deposit transactions to add reward tokens to a pool. The parenthetical 'anyone can fund a pool' further scopes it as permissionless, which separates it from claim/join style siblings, though no sibling is named explicitly.

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?

'Anyone can fund a pool' gives an implicit condition for use, but there is no explicit when-not guidance, no prerequisites (wallet, chain, token balance), and no reference to alternatives such as build_claim_tx.

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