Skip to main content
Glama

Rate a swap

submit_feedback

Optional, after a swap: a rating 1-5 and a comment. The published average counts one rating per completed Swapper order; a comment marked publishable is shown after operator review.

Input Schema

NameRequiredDescriptionDefault
detailNo
ratingYes
commentNo
orderIdNo
agentNameNo
publishableNoMay other agents read the comment?

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
nextYes
errorNo
stateNo
operationYes
feedbackIdNo
userMessageNo
verifiedSwapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / referralCode
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Added

TDQS

B3.4/5.0
Behavior4/5

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

The annotations only declare the generic write profile (readOnlyHint=false, idempotentHint=false, openWorldHint=true, destructiveHint=false). The description adds real behavioral context beyond that: the rating is deduplicated to one count per completed order, and a publishable comment only appears after operator review, which is a moderation-latency fact an agent could not infer.

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 tight sentences with the action and its trigger front-loaded, followed by the counting/moderation rules. No filler, though the rating range restates the schema's min/max rather than adding information.

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?

An output schema exists, so return values need not be explained. But for a 6-parameter write tool at 17% schema coverage, the omission of orderId and agentName leaves the description insufficient to tell an agent how to target the right order.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, so the description carries most of the burden, yet it mentions only rating (1-5) and comment/publishable. It never explains orderId (which order is being rated), agentName, or the 'lean'/'full' detail enum, leaving half the parameters semantically opaque in both the schema and the prose.

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 specific verb+resource (submit a rating/comment for a swap) and the trigger point ('after a swap'), which cleanly separates it from siblings like create_support_ticket or get_swap_status. It does not explicitly name an alternative, but the purpose is unambiguous.

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?

'Optional, after a swap' gives timing context, so an agent knows this is a post-completion action rather than a prerequisite. However, it never states when not to use it (e.g. only after a completed order, not a pending one) or points to any alternative 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