Skip to main content
Glama

Create a seller listing: sell your HTTPS endpoint per call

listing_create

Creates a seller listing: your HTTPS endpoint sold per call at the price you set, callable by anyone as tool run_ or POST /v1/run/; each sale is credited to you minus the platform fee. Posting your own slug again appends a new version. Use it to sell your own API or agent through gaents. Use catalogue instead to see existing listings first. Use seller_statement instead to see your sales and payable earnings. Cost: free; nothing is charged to list. Auth: Authorization: Bearer (POST /v1/accounts gives one). Errors (isError, error.code): 400 bad_slug/bad_price/bad_upstream_url/kind_not_open, 401 bad_api_key, 409 slug_taken (another seller owns it).

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": {
      "slug": "<slug>",
      "upstream_url": "<upstream_url>",
      "price_usd": "<price_usd>"
    },
    "name": "listing_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesListing id in the URL: lowercase letters, digits and '-', 2-63 characters.
titleNoShort name buyers see in the catalogue and tools/list.
listedNofalse hides the listing from the catalogue and tools/list; default true.
price_usdYesYour price per call in USD; the buyer pays this, you receive it minus the platform fee.
descriptionNoWhat the endpoint does, for buyers and agents choosing a tool.
input_schemaNoJSON Schema of the body your endpoint takes (shown to buyers as the tool's inputSchema).
upstream_urlYesYour endpoint; each sale POSTs the buyer's JSON body to it and returns its answer.
timeout_secondsNoSeconds to wait for your endpoint per call (capped by the server's own limit).

Output Schema

NameRequiredDescriptionDefault
callYeshow buyers call it
slugYes
specNo
sellerNo
listing_hexYes
platform_feeNoshare of each sale kept by the platform

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses public callability, per-sale credit minus the platform fee, free listing creation, bearer-key authentication and how to obtain a key. It also explains that reposting one's own slug appends a version and enumerates important validation, authentication, and ownership errors, consistent with idempotentHint=false.

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 purpose and resulting behavior are front-loaded, followed logically by versioning, alternatives, cost, authentication, and errors, with little irrelevant material. However, the opening sentence is semicolon-heavy and the final error inventory makes the single paragraph fairly dense to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter commercial mutation, the description supplies the essential operating context: public exposure, monetization, repeat-post behavior, cost, credentials, and common failures. The fully described input schema and existing output schema cover field-level and response details, so their absence from the prose is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds useful lifecycle semantics for slug: it appears in buyer invocation paths, can be reposted by its owner to append a version, and produces slug_taken when owned by another seller. It also reinforces the relationship among upstream_url, price_usd, and settlement, though most individual parameter details appropriately remain in the schema.

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 precisely states the verb and resource—creating a seller listing for an HTTPS endpoint—and explains the resulting per-call product and its run_<slug> or /v1/run/<slug> invocation paths. It also distinguishes the tool from catalogue and seller_statement rather than merely restating the title.

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?

It explicitly says to use the tool to sell your own API or agent, while directing users to catalogue for existing listings and seller_statement for sales and payable earnings. These concrete conditions and named alternatives make tool selection straightforward.

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