Skip to main content
Glama

create_merchant_enrollment_challenge

For an existing wallet with a working signer or transaction tool, begin headless merchant enrollment. Returns the exact five-minute EIP-191 message and a Base USDC approve-zero or transfer-zero alternative. Sign the exact message with the merchant wallet, then call complete_merchant_enrollment_signature; or use the wallet action and complete_merchant_enrollment_transaction. 402Mob never receives a private key. Store the returned merchant API key securely.

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": {
      "wallet": "<wallet>",
      "name": "<name>"
    },
    "name": "create_merchant_enrollment_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
walletYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the return payload (the exact five-minute EIP-191 message plus an approve-zero or transfer-zero alternative), the expiry window, and a security property (402Mob never receives a private key). It stops short of stating what happens if the challenge expires, whether re-invocation is safe, or what occurs if the wallet is already enrolled — meaningful gaps for an enrollment-initiation mutation.

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?

Sentences are dense but ordered logically: precondition, payload returned, next step, security note, storage note. Every sentence carries operational information and the routing instruction is front-loaded. Slight density in the middle clause about approve-zero/transfer-zero costs a bit of readability.

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?

There is no output schema and no annotations, so the description is doing all the work — and it covers the return value, the follow-up call, and the secret-handling obligation. What is missing is failure-mode context (expired challenge, already-enrolled wallet) and any meaning for the required name parameter, so it is strong but not fully self-sufficient.

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%, so the description must compensate for both parameters. It gives partial meaning for "wallet" by referring to signing with the merchant wallet, but never explains the "name" parameter at all — not its purpose, its 64-character constraint, or how it interacts with an existing enrollment. The regex and length limits exist only in the raw schema with no interpretive help.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: "begin headless merchant enrollment" for an existing wallet. It immediately names the downstream siblings (complete_merchant_enrollment_signature and complete_merchant_enrollment_transaction), which cleanly distinguishes this initiation step from the completion tools in the same family.

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

Usage Guidelines5/5

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

Prerequisites are explicit ("For an existing wallet with a working signer or transaction tool"), and the description routes the agent between two concrete paths: sign the message then call complete_merchant_enrollment_signature, or use the wallet action then call complete_merchant_enrollment_transaction. That is explicit when-to-use guidance plus named alternatives, which is the top of the scale.

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