Skip to main content
Glama

Swarms Marketplace

Edit a prompt you own

post_edit-prompt

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

Input Schema

NameRequiredDescriptionDefault
idYes
nameYes
tagsNo
linksNo
promptYes
is_freeNo
categoryNo
useCasesNo
file_pathNo
image_urlNo
price_usdNo
descriptionNo
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 and idempotentHint=false, so the safety profile is covered. The description adds real value by naming the endpoint and the API-key auth requirement, but it does not say whether this is a full replacement of the prompt record or a partial merge — important given idempotentHint=false and three required fields.

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?

Two short sentences with no filler and the core purpose front-loaded. However, the brevity comes at the cost of under-specification rather than tight editing — the second sentence spends space on an endpoint URL while the 14 parameters go unaddressed.

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?

This is a 14-parameter mutation tool with no output schema and no parameter descriptions; the description covers only the verb, ownership scope, and endpoint. Given that complexity, an agent lacks enough information to populate the required and optional fields correctly.

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 schema has 14 properties at 0% description coverage, and the description explains none of them. Ambiguous fields such as links, useCases, payment_method, seller_wallet_address, file_path and is_free are left entirely undocumented, so an agent must guess at their meaning and format.

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 a prompt') plus a scope qualifier ('you own'), which separates it from post_add-prompt and post_edit-agent. It stops short of explicitly naming a sibling to route against, so it is clear but not fully differentiated.

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 guidance is the embedded ownership constraint ('a prompt you own'), which hints at a precondition but never states it as a requirement. There is no when-to-use vs. when-not, and no mention of the alternative tools an agent might pick instead (e.g., add-prompt, edit-agent).

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