Skip to main content
Glama

Wever Pay Open Exchange Public Beta

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. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark the call as non-read-only and non-destructive. The description adds that admission is automatic, that a bounded validation profile is enforced, and that no seller approval is required — useful behavioral detail beyond the structured hints.

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 description is a single front-loaded sentence plus a short clarifying sentence, with no filler. The long list of validated concerns is dense but each item corresponds to a schema concern, so it earns its place.

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 3-parameter tool with a large nested service object and no output schema, the description covers the core effect and validation posture. It omits idempotency behavior and post-call success/error characteristics, which an agent would need for safe retries, so it is not fully complete.

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?

Schema description coverage is only 33%, and the description never names idempotencykey or payoutOwnershipProof. However, its validation list (price, endpoint, content hash, seller, payout, fulfillment-key) partially compensates by signaling what the service and proof payloads must satisfy.

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?

States the action precisely: 'automatically admit a versioned service into the existing commerce directory and Commerce Index.' This is a specific verb + resource and is distinguishable from inspection/discovery siblings. The validation list and 'No seller approval is required' further clarify the nature of the registration.

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?

The description implies when to call it (registering a versioned commerce service) but never names an alternative tool or an exclusion condition. Siblings like inspect_commerce_service or search_commerce_services could serve related needs, but no routing guidance is provided.

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