Skip to main content
Glama

Swarms Marketplace

Publish an agent

post_add-agent

Publish an agent Calls POST /api/add-agent 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>",
      "description": "<description>"
    },
    "name": "post_add-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
agentNo
linksNo
tickerNo
is_freeNo
mcp_urlNo
categoryNo
languageNo
useCasesNo
x402_urlNo
file_pathNo
image_urlNo
price_usdNo
quote_mintNo
vault_modeNo
descriptionYes
private_keyNo
image_base64No
requirementsNo
tokenized_onNo
fee_selectionNo
creator_walletNo
payment_methodNo
seller_wallet_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

The annotations already establish that this is a non-read-only, non-idempotent write operation, and the description's only added behavioral detail is that an API key is required. It does not explain what happens on success, whether the agent becomes publicly listed, how payment-related parameters are handled, or what errors to expect.

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

Conciseness2/5

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

The description is brief but under-specified rather than genuinely concise. The two clauses run together without punctuation ('Publish an agent Calls POST...'), and the brevity leaves the agent without enough information for a complex 25-parameter operation.

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 mutation tool with 25 parameters, no output schema, and no schema descriptions, the definition is far too thin. It does not explain the required inputs, optional configuration, payment behavior, or the result of publishing an agent.

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?

The tool has 25 parameters with 0% schema description coverage, and the description mentions none of them. Critical fields such as name, description, price_usd, payment_method, quote_mint, creator_wallet, and private_key are left without any explanatory context in either the schema or the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the title 'Publish an agent' and adds the underlying endpoint, POST /api/add-agent, which identifies the operation and target service. However, it gives no scope for what publishing entails (listing, tokenization, payment setup) and does not distinguish it from related siblings like post_edit-agent or post_add-tool.

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 tool versus alternatives such as post_edit-agent or post_add-tool, nor any prerequisites beyond 'with your API key'. An agent must infer the appropriate context entirely.

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