Skip to main content
Glama

Swarms Marketplace

Submit a 1–5 star review for an agent, prompt, or tool

post_reviews

Submit a 1–5 star review for an agent, prompt, or tool Calls POST /api/reviews 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": {
      "model_id": "<model_id>",
      "model_type": "<model_type>",
      "rating": "<rating>",
      "comment": "<comment>"
    },
    "name": "post_reviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingYesStar rating, integer 1–5
commentYesReview text (min 2 characters)
model_idYesID of the agent/prompt/tool
model_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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. The description adds genuine value by disclosing the auth requirement and the external endpoint (swarms.world /api/reviews), but it omits the behavioral consequence of idempotentHint=false — that repeat calls likely create duplicate reviews — and says nothing about validation failures or reversibility.

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 the action front-loaded and zero filler. The second sentence is compact and carries the auth/endpoint context, though it reads as a terse implementation note rather than agent-facing guidance.

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

Completeness3/5

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

For a four-required-parameter mutation tool with no output schema, the definition covers what is being created and where, but leaves gaps: no description of the response, no duplicate-review behavior, and no error conditions. It is adequate to invoke correctly but not to predict outcomes.

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 75% with all four parameters required and documented (rating bounds, comment min length, model_id, model_type enum). The description adds no parameter-level meaning beyond restating the 1–5 rating range that the schema already carries, so it does not compensate for the remaining coverage gap.

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 names a specific verb ('Submit'), resource ('review'), and the target entities (agent, prompt, or tool), plus the rating range. It implicitly contrasts with the read-side 'get_reviews' sibling but never names it, so differentiation is left to inference.

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

Usage Guidelines3/5

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

Usage is only implied: it is clear you call this to leave a review, and 'with your API key' signals an auth prerequisite. There is no explicit when-to-use vs. when-not, no mention that get_reviews is the read counterpart, and no note on whether repeat submissions for the same model_id are allowed or rejected.

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