Skip to main content
Glama

List an API for sale

code402_create_listing
Idempotent

Create or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, method?, description? }. The gateway then serves the listing at /s/{sellerId}/{serviceId} behind an x402 paywall paying the seller's wallet directly. Returns { listing, paid_endpoint }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoHTTP method of the upstream (default GET)
sellerIdYesRegistered seller slug
price_usdYesPrice per call, e.g. '$0.05'
serviceIdYesListing slug, e.g. 'lookup'
descriptionNoWhat buyers get for the price
upstream_urlYesPublic https URL of the API being sold

TDQS

A4/5.0
Behavior4/5

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

The description goes beyond annotations by explaining the payment flow (x402 paywall, direct wallet payment) and the return payload (listing and paid_endpoint). It suggests both create and update behavior, which aligns with the idempotentHint, but does not detail side effects like overwriting existing entries.

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?

The description is compact and well-structured, with two clear sentences covering the operation, endpoint, payload, and return values. It front-loads the primary action and avoids unnecessary elaboration.

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?

The description provides sufficient context for using the tool, including the endpoint, required parameters, and return values. It mentions the seller must be registered, which covers a key prerequisite, but does not discuss error scenarios or idempotency details (though annotations cover idempotency).

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?

The description restates the parameter list from the schema but adds minimal new meaning. The schema already provides per-parameter descriptions (e.g., 'Price per call'), so the tool description adds little semantic enhancement beyond contextualizing them as part of a paid listing.

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 clearly states the tool creates or updates a paid listing for a registered seller, specifying the exact endpoint and required parameters. It is specific to listing management and distinguishable from sibling tools like registering a seller or querying services.

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 indicates the tool is for creating or updating listings but does not explicitly discuss when to use it versus alternatives, such as when a seller needs to be registered first or when a read-only operation is preferred. It implies prerequisites but does not state them as usage guidelines.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Every tool targets a distinct resource or action: seller management, listing management, service discovery, health, reputation, analytics, invoice, probe, and trust. Even the two endpoint-checking tools (probe_endpoint and trust_check) serve clearly different purposes—one tests live challenges, the other queries an index.

Naming Consistency5/5

All tools follow a strict code402_verb_noun pattern with clear, consistent verbs (create, get, list, probe, register, trust). The naming is uniform and predictable, making tool selection straightforward.

Tool Count5/5

With 10 tools, the server is well-scoped for its purpose—a gateway for paid API listings and trust management. Each tool serves a distinct functional need without redundancy or bloat.

Completeness4/5

The surface covers core workflows: seller registration, listing creation/update, service discovery, analytics, invoicing, reputation, and trust checks. Minor gaps exist, such as no explicit listing deletion or a standalone reputation verification tool, but these are either covered implicitly or out of scope for the MCP surface.