Skip to main content
Glama

Swarms Marketplace

Publish a prompt

post_add-prompt

Publish a prompt Calls POST /api/add-prompt on swarms.world with your API key.

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>",
      "prompt": "<prompt>",
      "description": "<description>"
    },
    "name": "post_add-prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
linksNo
promptYes
tickerNo
is_freeNo
categoryNo
useCasesNo
file_pathNo
image_urlNo
price_usdNo
vault_modeNo
descriptionYes
private_keyNo
image_base64No
tokenized_onNo
fee_selectionNo
creator_walletNo
payment_methodNo
seller_wallet_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation profile is covered structurally. The description adds one genuinely useful fact beyond that — it requires an API key and targets swarms.world via POST — but says nothing about what gets created, whether publishing is immediate or queued, or how optional payment/tokenization fields change behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short at two sentences with no filler, but the first sentence runs directly into the second without punctuation, making it read as a fragment. Brevity here comes from under-specification rather than disciplined editing.

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

Completeness1/5

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

For a 20-parameter write operation with no output schema and zero schema coverage, the description is far too thin. An agent cannot determine which optional fields matter, whether payment fields are conditionally required, or what a successful publish returns.

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

Parameters1/5

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

There are 20 parameters with 0% schema description coverage, and the description explains none of them. Fields like ticker, tokenized_on, vault_mode, fee_selection, payment_method, and seller_wallet_address are entirely opaque, and the description does not compensate at all despite the schema doing no work.

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 gives a specific verb and resource ("Publish a prompt") and names the concrete endpoint it hits, which is enough to know what the tool does. It stops short of distinguishing itself from near-neighbors like post_edit-prompt or post_add-agent, so an agent still has to infer which publishing tool applies to prompts specifically.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus post_edit-prompt, post_add-tool, or post_v1_publish_bundle. The only contextual hint is that an API key is required, which is an invocation prerequisite rather than a when-to-use rule.

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