Skip to main content
Glama

Create a listing

create_listing

Creates a draft listing of one of the user's codebases. Only they can see it until they publish it on the website, at its manage_url.

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": {
      "input": "<input>",
      "context": "<context>"
    },
    "name": "create_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as "the user" or "a buyer".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / input / properties / pledge
      Added value: +{
      +  "description": "A share of what it earns its seller that they've promised to a cause, shown to buyers on the\nlisting and at checkout. Nil for none.\n",
      +  "properties": {
      +    "cause": {
      +      "description": "Who it goes to, such as the Erlang Ecosystem Foundation.",
      +      "maxLength": 80,
      +      "type": "string"
      +    },
      +    "percent": {
      +      "description": "The share of the seller's proceeds pledged: what they receive from each sale, after\nMoatless's fee and any Stripe fee, less refunds.\n",
      +      "maximum": 100,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "url": {
      +      "description": "The cause's website, so buyers can see who it is, such as https://erlef.org.",
      +      "maxLength": 300,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "cause",
      +    "url",
      +    "percent"
      +  ],
      +  "type": "object"
      +}
  2. Changed12 schema fields changed
    • removedInput schema / properties / input / properties / services / items / properties / optional / anyOf
      Removed value: -[
      -  {
      -    "description": "Whether the codebase runs without it, with the features that use it turned off.",
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / input / properties / services / items / properties / optional / description
      Added value: +"Whether the codebase runs without it, with the features that use it turned off."
    • addedInput schema / properties / input / properties / services / items / properties / optional / type
      Added value: +"boolean"
    • removedInput schema / properties / input / properties / services / items / properties / purpose / anyOf
      Removed value: -[
      -  {
      -    "description": "What the codebase uses it for, such as payments, sending email, or file storage.",
      -    "maxLength": 200,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / input / properties / services / items / properties / purpose / description
      Added value: +"What the codebase uses it for, such as payments, sending email, or file storage."
    • addedInput schema / properties / input / properties / services / items / properties / purpose / maxLength
      Added value: +200
    • addedInput schema / properties / input / properties / services / items / properties / purpose / type
      Added value: +"string"
    • removedInput schema / properties / input / properties / services / items / properties / url / anyOf
      Removed value: -[
      -  {
      -    "description": "The service's website, such as https://stripe.com.",
      -    "maxLength": 300,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / input / properties / services / items / properties / url / description
      Added value: +"The service's website, such as https://stripe.com."
    • addedInput schema / properties / input / properties / services / items / properties / url / maxLength
      Added value: +300
    • addedInput schema / properties / input / properties / services / items / properties / url / type
      Added value: +"string"
    • changedInput schema / properties / input / properties / services / items / required
      Previous value: -[
      -  "name",
      -  "optional",
      -  "purpose",
      -  "url"
      -]New value: +[
      +  "name"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as \"the user\" or \"a buyer\".",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "input"
      -]New value: +[
      +  "input",
      +  "context"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / input / properties / include_release_assets / description
      Previous value: -"Whether buyers also get the files attached to the seller's GitHub release for each release,\nsuch as compiled binaries, to download for any release they're entitled to. Only for\nlistings built from a connected GitHub repository, with `release_assets_description`.\n"New value: +"Whether buyers also get files that come with each release, such as compiled binaries, to\ndownload for any release they're entitled to, with `release_assets_description` saying what\nthey are. For a listing built from a connected GitHub repository, they're the files attached\nto its GitHub release for each release's tag; for others, the seller uploads them\n(`release_asset_upload_url`).\n"
    • changedInput schema / properties / input / properties / npm_packages_enabled / description
      Previous value: -"Whether buyers can install its npm packages from Moatless's npm registry: the tarballs\n`npm pack` makes, attached to each release as release assets, from its GitHub release or\nuploaded (`Moatless.Distribution.NpmPackage`). Their names need a scope (`@scope/name`).\n"New value: +"Whether buyers can install its npm packages from Moatless's npm registry: the tarballs\n`npm pack` makes, attached to each release as release assets, from its GitHub release or\nuploaded (`Moatless.Distribution.NpmPackage`), each its own package. Their names need a\nscope (`@scope/name`) with no public packages on npmjs; a scope is the first seller's to\nsell in it, and a name the first listing's, for good. Each release needs a new version,\nsince a version can't be sold again with other contents.\n"
  5. Changed1 schema field changed
    • addedInput schema / properties / input / properties / npm_packages_enabled
      Added value: +{
      +  "description": "Whether buyers can install its npm packages from Moatless's npm registry: the tarballs\n`npm pack` makes, attached to each release as release assets, from its GitHub release or\nuploaded (`Moatless.Distribution.NpmPackage`). Their names need a scope (`@scope/name`).\n",
      +  "type": "boolean"
      +}
  6. Changed8 schema fields changed
    • addedInput schema / properties / input / properties / demo_url / maxLength
      Added value: +500
    • addedInput schema / properties / input / properties / name / maxLength
      Added value: +100
    • addedInput schema / properties / input / properties / release_assets_description / maxLength
      Added value: +500
    • addedInput schema / properties / input / properties / services / items / properties / name / maxLength
      Added value: +60
    • changedInput schema / properties / input / properties / services / items / properties / purpose / anyOf
      Previous value: -[
      -  {
      -    "description": "What the codebase uses it for, such as payments, sending email, or file storage.",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "What the codebase uses it for, such as payments, sending email, or file storage.",
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / input / properties / services / items / properties / url / anyOf
      Previous value: -[
      -  {
      -    "description": "The service's website, such as https://stripe.com.",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "The service's website, such as https://stripe.com.",
      +    "maxLength": 300,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / input / properties / stack / items / maxLength
      Added value: +40
    • addedInput schema / properties / input / properties / tagline / maxLength
      Added value: +120
  7. Changed2 schema fields changed
    • changedInput schema / properties / input / properties / stack / description
      Previous value: -"Tags for what it's built with, such as Elixir, Phoenix, PostgreSQL."New value: +"Tags for what it's built with and what it works with, such as Elixir, Phoenix, PostgreSQL, Stripe."
    • changedInput schema / properties / input / properties / stack / items / description
      Previous value: -"Tags for what it's built with, such as Elixir, Phoenix, PostgreSQL."New value: +"Tags for what it's built with and what it works with, such as Elixir, Phoenix, PostgreSQL, Stripe."
  8. Changed2 schema fields changed
    • addedInput schema / properties / input / properties / hex_package_enabled
      Added value: +{
      +  "description": "Whether buyers can add it to their Elixir projects as a dependency from Moatless's Hex\nrepository. Its mix.exs needs `package` config and a version, raised for each release; a\nrelease that isn't a package Moatless can read isn't published, and the seller is told why\n(`Moatless.Distribution.HexPackage`).\n",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / input / properties / shadcn_registry_enabled
      Added value: +{
      +  "description": "Whether buyers can install its components into their own projects with the shadcn CLI,\nfrom its registry on Moatless. Its code needs a registry.json at the root, as `shadcn build`\nreads it; a release without one that can be read isn't published, and the seller is told\nwhy (`Moatless.Distribution.Registry`).\n",
      +  "type": "boolean"
      +}
  9. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already mark it as non-destructive and closed-world; the description adds useful behavior beyond that by saying the new listing is a draft visible only to its owner until published at its manage_url. It does not cover prerequisites, side effects, or failure behavior, so it is not fully transparent.

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?

Two front-loaded sentences with no wasted text. Purpose comes first, followed by the visibility and publishing behavior.

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 core draft and private behavior is covered, which is important for this create tool. However, for a schema with many nested listing fields and no output schema, the description omits the return shape, key prerequisites, and parameter guidance, leaving it only adequate.

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?

The input schema documents many nested fields, but coverage is only 50% and the description mentions none of them, including the required input and context wrapper. It adds no meaning beyond the schema, leaving fields like name, description, and subscription_interval to inference.

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 opens with a specific verb and resource: creates a draft listing of the user's codebase. It also states the draft/private state before publishing, which helps distinguish it from update or publish tools, though it does not explicitly name a sibling alternative.

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?

It implies the tool is used to start a new listing that is not yet visible, but gives no explicit when-to-use vs update_listing or when to publish. No prerequisites or exclusions are stated.

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