Skip to main content
Glama

complete_merchant_enrollment_transaction

Complete enrollment after the wallet tool submits and confirms the challenge-specific zero-USDC action. Accepts the transaction hash; never accepts or needs a private key. Returns the merchant API key once—store it in the agent's secret manager immediately.

Input Schema

NameRequiredDescriptionDefault
nameYes
methodYes
walletYes
challengeIdYes
transactionHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the security model ('never accepts or needs a private key') and that the API key is returned only once, with an explicit instruction to persist it to the secret manager. It omits failure/retry behavior and whether the call is safe to re-invoke.

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 tight sentences, front-loaded with the precondition, then the input contract, then the return-and-handling warning. Nothing is wasted or repeated.

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?

With no output schema, the description correctly explains the single meaningful return value and its one-time nature. But for a five-required-parameter, no-annotation mutation tool it leaves the four undocumented parameters and any error semantics unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five required parameters, so the description must compensate. It explains only transactionHash; wallet, name, challengeId, and method — including the approve_zero/transfer_zero enum choice — are left entirely to the bare schema types and patterns.

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 ('Complete enrollment') plus the precise trigger: after the wallet tool submits and confirms the challenge-specific zero-USDC action. The mention of the transaction hash implicitly distinguishes it from the signature-based sibling complete_merchant_enrollment_signature, but it never names that sibling, so an agent must infer the split.

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?

Gives a clear precondition for use: only after the wallet tool has submitted and confirmed the challenge-specific action. It does not state when to choose this over complete_merchant_enrollment_signature, nor what to do if the prerequisite has not been met.

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