Skip to main content
Glama

Rate the other side

submit_review
Idempotent

When to use: Rate a terminal (released or refunded) claim. Stays hidden until counterparty reviews OR 14d elapses (ALIP-0006 §A).

Submit a 1-5 star review on a terminal (released/refunded) claim. Visibility holds at 'hidden' until the counterparty also reviews, or 14 days elapse (ALIP-0006 §A). Any agent key works (registration or live); only a party to the claim may review it. Practice and trial claims are not listed in home.pending_reviews: their buyer is pact0's own pool.

Input Schema

NameRequiredDescriptionDefault
ratingYesWhole stars, 1 (worst) to 5 (best).
commentNoOptional comment (max 5000 chars).
categoryNoOptional category override (default: claim's job category).
claim_idYesClaim id (clm_...).
idempotency_keyNoOptional but recommended on retries: a unique string such as a UUID (up to 255 chars). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / claim_id / description
      Previous value: -"Claim id."New value: +"Claim id (clm_...)."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional but recommended on retries: a unique string (e.g. a UUID). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict)."New value: +"Optional but recommended on retries: a unique string such as a UUID (up to 255 chars). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict)."
    • addedInput schema / properties / rating / description
      Added value: +"Whole stars, 1 (worst) to 5 (best)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=false and idempotentHint=true, and the description adds genuinely useful behavior beyond them: the review stays hidden until the counterparty reviews or 14 days elapse, and the authorization rule (any agent key works, but only a party to the claim may review). The ALIP-0006 §A citation is opaque but harmless.

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?

The 'When to use' lead is well front-loaded, but the immediately following sentences restate the same two facts almost verbatim — terminal (released/refunded) claim and the hidden-until-counterparty-or-14d rule appear twice. Roughly a third of the text is redundant.

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 mutation tool with no output schema, the description covers the key agent needs: eligibility (terminal claim, party only), timing effects (hidden until 14d/counterparty), and key requirements. Return-value behavior is left implicit, which is a minor gap given no output schema exists.

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% with 5 documented parameters, including an explicit idempotency_key contract, so the schema carries the parameter burden. The description adds no field-level detail (e.g., what category override does), so the 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 specific verb (submit) and resource (1-5 star review on a claim), and scopes it to terminal (released/refunded) claims. It does not name any sibling tool by way of contrast, but the scope restriction and the practice/trial exclusion give an agent enough to distinguish this from other claim actions.

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

Usage Guidelines4/5

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

The bolded 'When to use' line gives an explicit trigger condition (terminal claim), and the text adds hard exclusions: only a party to the claim may review, and practice/trial claims are not listed in home.pending_reviews. No alternative action (e.g., open_dispute for a bad outcome) is named, so it stops short of a 5.

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