Skip to main content
Glama

Swarms Marketplace

Edit an agent you own

post_edit-agent

Edit an agent you own Calls POST /api/edit-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": {
      "id": "<id>",
      "name": "<name>",
      "agent": "<agent>",
      "description": "<description>"
    },
    "name": "post_edit-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameYes
tagsNo
agentYes
linksNo
is_freeNo
categoryNo
languageNo
useCasesNo
file_pathNo
image_urlNo
price_usdNo
descriptionYes
requirementsNo
payment_methodNo
seller_wallet_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is known. The description adds that it calls POST /api/edit-agent on swarms.world and requires an API key, which is useful auth context. It does not say whether unspecified fields are cleared or preserved, which matters greatly for a 16-parameter edit.

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 short sentences with no filler, and the core purpose is front-loaded. The sentence boundary is slightly malformed ("agent you own Calls POST..."), but no wording is wasted.

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

Completeness2/5

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

For a mutation with 16 undocumented parameters, no output schema, and no disclosure of return behavior or update semantics, the description is far too thin. The endpoint and auth note are the only substantive additions.

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?

Schema description coverage is 0% across 16 parameters (4 required), and the description supplies no parameter meaning at all. With low coverage the description must compensate, and here it adds nothing about id, agent, tags, price_usd, links, requirements, or the crypto/stripe enum.

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 states a specific verb and resource ("Edit an agent") and adds an ownership scope ("you own") that implicitly separates it from post_add-agent. It does not name a sibling or clarify how it differs from the other edit tools (post_edit-prompt, post_add-agent), so it falls short of a 5.

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?

The only usage guidance is the ownership prerequisite ("an agent you own"). There is no statement of when to use this versus post_add-agent for creation or post_query-agents for lookup, and no note on partial vs. full updates.

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