Skip to main content
Glama

confirm_mint_fee

Confirm a prepared mint on Base. Verifies the protocol-fee mint and, when recipient_tx_hash is set (or the fee receipt already contains the recipient mint), writes customer_tier_status so get_token_balance leaves 0. Same hash for both fields when EIP-5792 batched the calls. A second call with recipient_tx_hash still credits the customer after the fee is already settled.

Input Schema

NameRequiredDescriptionDefault
fee_tx_hashYesTransaction hash of the protocol fee mint
obligation_idYesfee_obligation_id returned by mint_loyalty_tokens or earn_points
recipient_tx_hashNoTransaction hash of the mint to the recipient. Same as fee_tx_hash when both mints are in one transaction. Required to update GET /balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / recipient_tx_hash / description
      Previous value: -"Optional transaction hash of the recipient mint"New value: +"Transaction hash of the mint to the recipient. Same as fee_tx_hash when both mints are in one transaction. Required to update GET /balance."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: it discloses the write to customer_tier_status, the effect on get_token_balance returning 0, and idempotent crediting on a second call, plus EIP-5792 batching where both hashes match. It omits failure/verification-error behavior and permission requirements, keeping it below top marks.

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?

Three dense sentences, front-loaded with the purpose before the conditional behavior; no filler, though the parenthetical clauses make it slightly hard to parse on first read.

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?

A mutation tool with annotations but no output schema; the description covers the state change but says nothing about what a successful confirmation returns or how a failed verification surfaces, which an agent may need to react correctly.

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?

Schema coverage is 100% so the baseline is 3, but the description adds real semantics: recipient_tx_hash becomes relevant only when set or when the fee receipt already carries the recipient mint, and that the same hash is used for batched calls.

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 ('Confirm') and resource ('a prepared mint on Base'), plus what is verified (the protocol-fee mint). An agent can distinguish it from mint_loyalty_tokens (prepares) and get_token_balance (consumer of its side effect), 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?

Implies the call follows a prepared mint and explains the conditional recipient_tx_hash path and the repeated-call case, but never states when to use this versus list_fee_obligations or mark_gift_certificate_minted, nor any when-not condition.

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