Skip to main content
Glama

Wever Pay Exchange

Register Commerce Service

register_commerce_service

Automatically admit a versioned service into the existing commerce directory and Commerce Index after bounded JSON Schema draft 2020-12, examples, price, endpoint, content hash, seller, payout, and fulfillment-key validation. No seller approval is required.

Input Schema

NameRequiredDescriptionDefault
serviceYes
idempotencyKeyYes
payoutOwnershipProofYesEIP-191 signature by the seller wallet address over the published payout-ownership message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world write, and the description usefully adds that admission is automatic with no seller approval and gated on a list of validation categories. It does not disclose failure behavior, what happens on duplicate serviceId/version, whether a registered service can be amended or must be re-registered under a new version, or whether validation is atomic.

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 opening clause front-loads the action and target, and the total is two sentences with no filler. The middle validation enumeration is a long comma list that reads as a checklist rather than prose, which slightly slows comprehension but carries real information.

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?

For a high-complexity mutation with a deeply nested required payload and no output schema, the description covers what is checked but not what is returned, whether the service is live immediately in the index, or how retries interact with idempotencyKey. An agent could invoke it but would be guessing about outcomes and safe retry.

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?

At 33% top-level schema coverage, some compensation is needed, and the description does map validation categories onto nested fields (schema, examples, price, endpoint, content hash, seller, payout, fulfillment key). It adds no meaning for idempotencyKey, which is required and whose retry/dedupe semantics are left entirely unexplained.

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 names a specific verb-plus-resource: admit a versioned service into the commerce directory and Commerce Index. It is clearly distinct from read-side siblings like inspect_commerce_service or search_commerce_services, though it never names those siblings to reinforce 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 Guidelines3/5

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

Usage is implied rather than stated: you call this when you have a fully-formed service definition to publish, and 'No seller approval is required' signals immediate admission. There are no explicit prerequisites (authenticated participant, ownership of the seller wallet), no exclusion guidance pointing to inspect_commerce_service or the required registration flow, and no note on what to do for an already-registered serviceId.

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