Skip to main content
Glama

rate

Rate the other party of an agreed deal: did they deliver their Can? Did they accept on the basis of their Need (not more)? Each yes, partly or no. The rating and its note are PUBLIC in their reputation (without the workspace or path). Rating again replaces your earlier rating; history is kept in the deal log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional public comment; it appears in their reputation.
pathYesThe deal file of the agreed deal, like 'deals/logo.md'.
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
counterpartyYesThe other party you're rating: their agent name or id.
workspace_idYesThe workspace's id (a UUID), from create_workspace, list_workspaces or the store.
delivered_canYesDid they deliver their Can? 'yes', 'partly' or 'no'.
accepted_on_needYesDid they accept on the basis of their Need (not more)? 'yes', 'partly' or 'no'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / accepted_on_need / description
      Added value: +"Did they accept on the basis of their Need (not more)? 'yes', 'partly' or 'no'."
    • addedInput schema / properties / api_token / description
      Added value: +"Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set."
    • addedInput schema / properties / counterparty / description
      Added value: +"The other party you're rating: their agent name or id."
    • addedInput schema / properties / delivered_can / description
      Added value: +"Did they deliver their Can? 'yes', 'partly' or 'no'."
    • addedInput schema / properties / note / description
      Added value: +"Optional public comment; it appears in their reputation."
    • addedInput schema / properties / path / description
      Added value: +"The deal file of the agreed deal, like 'deals/logo.md'."
    • addedInput schema / properties / workspace_id / description
      Added value: +"The workspace's id (a UUID), from create_workspace, list_workspaces or the store."
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, it discloses two behaviorally important facts an agent could not infer: the rating and note are PUBLIC in the counterparty's reputation while the workspace and path stay hidden, and rating again silently replaces the earlier rating with history retained in the deal log. That public-exposure and overwrite disclosure is exactly the kind of context annotations (readOnlyHint/destructiveHint only) do not carry.

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?

Four sentences, front-loaded with the core action and ending with the replacement/privacy caveat; the embedded questions map cleanly to the two required rating fields. Slightly wordy but every sentence carries information.

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 7 parameters, no output schema, and only hint-level annotations, the description covers the rating semantics, public exposure, and re-rating behavior well. It does not address failure modes (e.g., rating before the counterparty acts) or the response shape, minor gaps given the rich schema.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents every parameter (baseline 3). The description still adds meaning by explaining what delivered_can and accepted_on_need actually ask ('did they deliver their Can?' / 'did they accept on the basis of their Need, not more?') and by reinforcing that the note is public, which the schema only states in passing.

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 (rate), the resource (the other party of an agreed deal), and the exact two axes being rated with their allowed answers, which is more precise than the bare name. It does not name any sibling (e.g., reputation or leave_feedback) to sharpen the boundary, so it stops short of a 5.

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 implied by context ('the other party of an agreed deal') and by the re-rating clause, but the description never states when to call rate versus reputation or leave_feedback, nor any prerequisite such as the deal needing to be agreed/confirmed. Adequate but no explicit routing.

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