Skip to main content
Glama

Register a merchant

shop.merchant.register

Register a merchant (status pending). Sign the sign-in message (purpose register, nonce from GET /api/v1/shop/auth/nonce) with the merchant wallet. Returns the documents to accept via shop.merchant.accept_terms.

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>",
      "slug": "<slug>",
      "name": "<name>",
      "category": "<category>",
      "country": "<country>",
      "contact_email": "<contact_email>",
      "site_url": "<site_url>",
      "encryption_key": "<encryption_key>",
      "message": "<message>",
      "signature": "<signature>"
    },
    "name": "shop.merchant.register"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
slugYes
walletYes
countryYesISO 3166-1 alpha-2
messageYesSigned sign-in message (purpose register).
categoryYes
site_urlYes
signatureYes
handoff_idNoPartner handoff id from the link you were sent (/integrator/docs#partner-handoff); the partner learns your slug.
contact_emailYesPrivate: never shown to buyers.
payout_walletNo
support_emailNoOptional; shown to buyers on their orders. Change it later with PATCH /api/v1/shop/merchants/me/contact.
encryption_keyYes
recovery_walletNo
payout_wallet_baseNo
payout_wallet_tempoNo

Output Schema

NameRequiredDescriptionDefault
slugYes
statusYes
merchant_idYes
docs_to_acceptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / contact_email / description
      Added value: +"Private: never shown to buyers."
    • addedInput schema / properties / support_email
      Added value: +{
      +  "description": "Optional; shown to buyers on their orders. Change it later with PATCH /api/v1/shop/merchants/me/contact.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / handoff_id
      Added value: +{
      +  "description": "Partner handoff id from the link you were sent (/integrator/docs#partner-handoff); the partner learns your slug.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover the safety profile (not read-only, not destructive); the description adds real behavioral context: the account is created in pending state, a wallet signature is mandatory, and a document set is returned that must be accepted via shop.merchant.accept_terms. It does not mention uniqueness/conflict behavior for slug or idempotency of handoff_id.

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 short sentences, front-loaded with the operation and its resulting status, then the signing prerequisite, then the follow-up tool. No filler.

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?

The hardest non-obvious part, the nonce-based signature flow and the pending-then-accept_terms lifecycle, is well covered, and an output schema exists so return values needn't be described. However, for a 16-parameter creation tool at 31% schema coverage, many field semantics critical to a correct first call remain unexplained.

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 only 31% across 16 parameters, so the description must compensate and largely does not. It explains only the message/signature signing flow and implicitly wallet; slug, name, category, country, site_url, encryption_key structure, recovery_wallet, and the three payout wallet fields get no added meaning.

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 ('Register a merchant') and immediately qualifies the outcome ('status pending'), plus names the follow-up sibling shop.merchant.accept_terms. It does not differentiate from unrelated registrations like domain.namesilo.register, but the named sibling is the one an agent needs.

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 the concrete precondition for calling: sign the sign-in message with purpose 'register' using a nonce fetched from GET /api/v1/shop/auth/nonce. It also points to the next step (accept terms). It lacks explicit when-not-to-use guidance (e.g., existing merchant, slug collisions).

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.