Skip to main content
Glama

moltrust_claim_deposit

DestructiveIdempotent

Submit a Base USDC deposit transaction hash and agent DID to verify the on-chain payment and credit MolTrust credits at 1 USDC = 100 credits.

Instructions

Claim MolTrust credits from a USDC deposit on Base.

After sending USDC to the MolTrust wallet on Base (L2), submit the transaction hash to receive credits. 1 USDC = 100 credits, verified on-chain.

Args: tx_hash: Base blockchain transaction hash (0x...) did: Your agent's DID to credit

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": {
      "tx_hash": "<tx_hash>",
      "did": "<did>"
    },
    "name": "moltrust_claim_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesYour agent's DID to credit, e.g. did:moltrust:a1b2c3d4e5f60718
tx_hashYesBase blockchain transaction hash (0x...)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.1
    • addedInput schema / properties / did / description
      Added value: +"Your agent's DID to credit, e.g. did:moltrust:a1b2c3d4e5f60718"
    • addedInput schema / properties / tx_hash / description
      Added value: +"Base blockchain transaction hash (0x...)"
  2. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true, so the mutation profile is covered. The description adds real value with the exchange rate and the fact that credits are verified on-chain, but it does not address failure modes (invalid or unrelated tx hash, already-claimed hash, wrong chain) nor explain why a credit-claim is flagged destructive. That leaves notable behavioral gaps beyond the annotations.

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?

The workflow is front-loaded: what the tool does, the prerequisite transfer, then the conversion rate. The trailing 'Args' block duplicates the schema and is the only real waste; otherwise the prose is tight and purposeful.

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?

With an output schema present, return values need not be explained, and the description covers the prerequisite, the exchange rate, and both required inputs. What is missing is where to send the USDC and what happens on a rejected or duplicate hash, but the core calling contract is complete.

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 both parameters, and the 'Args' section merely restates them almost verbatim ('Base blockchain transaction hash (0x...)' and 'Your agent's DID to credit'). No additional format, validation, or sourcing guidance is added, so the baseline 3 applies.

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 opens with a specific verb and resource: 'Claim MolTrust credits from a USDC deposit on Base,' and explains the mechanism (submit an on-chain tx hash, 1 USDC = 100 credits). It implicitly separates itself from moltrust_deposit_info and moltrust_deposit_history by being the claim/credit step, but it never names those siblings explicitly, so an agent must infer the boundary.

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 precondition is stated clearly: send USDC to the MolTrust wallet on Base first, then call this tool with the transaction hash. That is genuine when-to-use context. There are no explicit exclusions or named alternatives (e.g., which tool to call to find the deposit address, or what to do if the hash was already claimed), so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.