Skip to main content
Glama

Beggar Bot

moonwell_collateral_tx

Build an unsigned Moonwell enterMarkets (enable collateral) or exitMarket tx for chosen assets. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "moonwell_collateral_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
chainNochain
actionNoaction
assetsNoassets

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description does disclose two important behaviors: the output is an unsigned tx (the agent must handle signing) and the call is paid at $0.02 USDC via x402. It does not say whether enter and exit can be batched in one call, what the payment flow requires, or whether the returned tx must be submitted immediately.

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, zero filler, with the operation described first and the payment terms appended as a distinct clause. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter, no-annotation, no-output-schema builder tool, the description covers the operation and cost but leaves out the format of key inputs (action values, asset list encoding) and any note on what the unsigned tx response contains. Adequate to identify the tool, thin for calling it 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 coverage is nominally 100%, but each parameter description is just a restatement of its name, so the schema adds almost nothing. The description contributes only the mapping of 'action' to enterMarkets/exitMarket and 'assets' to the chosen collateral set; it says nothing about accepted action values, asset formatting, or chain options.

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 ('Build') and a specific resource ('unsigned Moonwell enterMarkets (enable collateral) or exitMarket tx'), and even glosses 'enterMarkets' as 'enable collateral'. It does not explicitly distinguish itself from the sibling moonwell_tx_build, but the named protocol actions make the scope clear.

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

Usage Guidelines2/5

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

The description implies the use case (toggling collateral on chosen assets) but gives no explicit when-to-use guidance and never mentions the sibling moonwell_tx_build or other tx builders as alternatives. An agent must infer whether this or moonwell_tx_build is the correct call for a collateral toggle.

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.