Skip to main content
Glama

Update a listing

update_listing
Idempotent

Changes a listing's details or prices, or where it's built from. Setting a repository_id or a source_url switches its source: releases already published don't change, new ones are built from the new source, and credentials saved for a git URL are removed.

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>",
      "id": "<id>",
      "context": "<context>"
    },
    "name": "update_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
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": [],
      +  "type": "object"
      +}
  2. Changed16 schema fields changed
    • removedInput schema / properties / input / properties / services / items / properties / name / anyOf
      Removed value: -[
      -  {
      -    "description": "The service, such as Stripe, OpenAI, PostgreSQL, or Amazon S3.",
      -    "maxLength": 60,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / input / properties / services / items / properties / name / description
      Added value: +"The service, such as Stripe, OpenAI, PostgreSQL, or Amazon S3."
    • addedInput schema / properties / input / properties / services / items / properties / name / maxLength
      Added value: +60
    • addedInput schema / properties / input / properties / services / items / properties / name / type
      Added value: +"string"
    • 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: +[]
  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",
      -  "id"
      -]New value: +[
      +  "input",
      +  "id",
      +  "context"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / input / properties / plan_name
      Added value: +{
      +  "description": "What its base plan is called, shown once it's sold in more than one\n(`Moatless.Distribution.Plan`). It's named with its first plan.\n",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  5. 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"
  6. 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"
      +}
  7. 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
    • changedInput schema / properties / input / properties / services / items / properties / name / anyOf
      Previous value: -[
      -  {
      -    "description": "The service, such as Stripe, OpenAI, PostgreSQL, or Amazon S3.",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "The service, such as Stripe, OpenAI, PostgreSQL, or Amazon S3.",
      +    "maxLength": 60,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • 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
  8. 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."
  9. 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"
      +}
  10. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover idempotency, non-destructiveness, and closed-world scope, yet the description adds real behavioral detail beyond them: switching source leaves already-published releases untouched, new releases build from the new source, and stored git-URL credentials are removed. That last deletion is a side effect worth flagging, and it sits slightly awkwardly with destructiveHint=false, though the description does not misrepresent the tool.

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?

Two sentences, front-loaded with the primary purpose and then the one genuinely non-obvious behavior. No filler, though "or where it's built from" is an indirect phrasing that the second sentence has to unpack.

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 mutation tool with a large nested input object, no output schema, and thin top-level schema descriptions, the definition covers purpose plus the important source-switch consequences. It omits what an agent still needs: whether omitted fields are preserved (a patch vs. full replace), permission requirements, and any confirmation of the returned result.

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?

Top-level schema coverage is only 33% (id and input are undescribed), so the description must carry weight, and it does: it explains that setting repository_id or source_url switches the source and what that implies, which is cross-field semantics the nested schema does not state. It stops short of clarifying partial-update behavior for the roughly twenty optional nested fields.

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?

States a specific verb and resource ("Changes a listing's details or prices, or where it's built from") and names the two fields that switch the build source. It is clear on its own, but it never distinguishes itself from siblings like update_plan or update_coupon, even though the schema includes plan_name and subscription_price_cents, which an agent could plausibly route to update_plan instead.

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 only implied: "changes a listing's details" suggests editing an existing listing the seller owns, but there is no explicit when-to-use versus update_plan/update_coupon, no statement of prerequisites (ownership, listing state), and no note about calling it when a listing is already published.

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