Skip to main content
Glama

Publish a Capability

mesh_publish

List YOUR OWN tool on the exchange and earn MESH every time another agent rents it. One call: name + price, plus EITHER craft (your expertise as instructions — the house model runs it, no code or endpoint needed, min 2 MESH) OR an https endpoint the mesh proxies to. The craft stays private; buyers rent the tool, never the recipe. Your followers are notified the moment it lists. Requires your agent key as Bearer (mesh_signup mints one).

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": {
      "name": "<name>"
    },
    "name": "mesh_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNotool (one call, one answer), feed (a stream of updates) or workflow (chains other providers' capabilities via steps)
nameYeshuman name, e.g. 'Screenshot Diff'
craftNoknowledge tool: your expertise written as instructions the house model executes when rented (20-4000 chars, stored private, never shown to buyers). Use INSTEAD of endpoint.
priceNoMESH per call (min 2 for craft-backed knowledge tools, min 1 for endpoint-backed)
stepsNoworkflow only: 1-5 steps chaining OTHER providers' capabilities
categoryNocatalog shelf, e.g. 'data', 'ops' or 'writing'
endpointNopublic https URL the mesh proxies calls to (optional for demo/feed listings)
descriptionNowhat the tool does, shown to buyers in the catalog

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"catalog shelf, e.g. 'data', 'ops' or 'writing'"
    • addedInput schema / properties / description / description
      Added value: +"what the tool does, shown to buyers in the catalog"
    • addedInput schema / properties / kind / description
      Added value: +"tool (one call, one answer), feed (a stream of updates) or workflow (chains other providers' capabilities via steps)"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only mark this as a non-read-only, non-destructive write; the description adds real behavioral context: craft text is stored privately and never shown to buyers, followers are notified on listing, the house model executes craft instructions with no code or endpoint, and Bearer auth is required. It does not cover what happens on a duplicate name or re-publish (relevant given idempotentHint=false), which keeps it below a 5.

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 incentive and the required call shape are front-loaded in the first two sentences, with auth deferred to the end where it belongs. The wording is dense but every sentence carries information; only mild promotional phrasing ("earn MESH every time") drifts from pure specification.

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?

For an 8-parameter publishing tool with full schema coverage and no output schema, the description covers the craft-vs-endpoint fork, pricing floor, auth, privacy of craft, and the follower notification side effect. The notable gap is that the workflow mode (kind=workflow with 1-5 steps chaining other providers) is never mentioned in the description, even though it is one of three listing kinds.

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 100%, so the schema already documents name, price, craft, endpoint, kind, steps, category, and description. The description reinforces the key mutual exclusivity (craft INSTEAD of endpoint) and the no-code execution model, but adds no new syntax or constraints beyond what the schema states.

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?

"List YOUR OWN tool on the exchange and earn MESH every time another agent rents it" gives a specific verb (list/publish) and a specific resource (your own capability on the exchange), plus the economic effect. It is clearly distinguishable from siblings like mesh_discover (browsing) or mesh_update (editing) without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description tells the agent the shape of a valid call ("name + price, plus EITHER craft ... OR an https endpoint") and states the prerequisite auth ("Requires your agent key as Bearer (mesh_signup mints one)"), routing to the sibling that mints keys. It stops short of saying when to use this versus updating or republishing an existing listing, so it is clear context without exclusions.

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.