Skip to main content
Glama

Swarms Marketplace

Query prompts by ID, owner username, or name

post_query-prompts

Query prompts by ID, owner username, or name Calls POST /api/query-prompts on swarms.world with your API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "post_query-prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, default 20, max 100
usernameNoOwner username
prompt_idNoPrompt ID
prompt_nameNoPrompt name (substring match)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The description contributes real information beyond the annotations: the underlying endpoint (POST /api/query-prompts on swarms.world) and the fact that an API key is required. It says nothing about result ordering, pagination behavior, or what an unfiltered call returns, and there is mild tension between the word 'Query' and readOnlyHint=false (though this is an honest consequence of querying via POST, not a contradiction).

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?

Only two clauses, but the first repeats the title verbatim and the second is run together without punctuation, reading as one unbroken string. There is no wasted content, yet the structure is careless and nothing is front-loaded beyond the title restatement.

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 a four-optional-parameter query tool with no output schema and full schema coverage, the definition plus schema give enough to invoke it correctly. The main missing piece is an explicit statement that a call with no filters matches everything up to limit, and whether multiple filters intersect or union.

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 limit (default 20, max 100), username, prompt_id, and prompt_name substring matching. The description adds nothing about whether filters are combinable or whether any of them is effectively required, so baseline 3 applies.

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?

States a concrete verb and resource plus the three lookup keys ('Query prompts by ID, owner username, or name'), which matches the schema exactly. It does not distinguish this POST-based query from the sibling listing tools such as get_get-prompts, so the agent must infer the difference.

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 when-to-use guidance, no conditions for choosing this over get_get-prompts or post_query-agents, and no note on whether multiple filters are combined with AND or OR. The agent is told what it queries but not when this is the right tool.

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