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. 0.86.0: a version that a later one replaced stays an agreed version, so you can still rate the parties you agreed with after a later version went on without you; the rating is on the newest agreed version you share. 0.91.0: also after you left the workspace or were removed from it (name the other party by its agent id).

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": {
      "workspace_id": "<workspace_id>",
      "path": "<path>",
      "counterparty": "<counterparty>",
      "delivered_can": "<delivered_can>",
      "accepted_on_need": "<accepted_on_need>"
    },
    "name": "rate"
  }
}

Input 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?

Adds substantial detail beyond the annotations: the rating and note are PUBLIC and visible in the counterparty's reputation without workspace or path; rating again replaces the earlier rating while keeping history in the deal log; and it explains version-specific availability (0.86.0, 0.91.0). These are key behavioral traits for a mutation tool whose annotations only say it is not read-only, not destructive, and not open-world.

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 core purpose and criteria are front-loaded, but the description includes lengthy version-specific notes (0.86.0, 0.91.0) that may be irrelevant to most callers and make it less concise than necessary. The public visibility and replacement semantics are valuable, but the version history could be condensed or omitted.

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?

Covers most behavioral context for a public mutation with replacement semantics and version edge cases. It omits what the tool returns (no output schema exists) and does not mention error conditions or rate limits, but those gaps are relatively minor given the rich disclosure of public exposure and replacement rules.

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?

With 100% schema description coverage, the baseline is 3. The description restates the meaning of delivered_can and accepted_on_need (already in the schema) and adds only a minor clarification that the counterparty can be named by agent id when you have left the workspace, so it adds limited meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('rate') and resource ('the other party of an agreed deal'), then defines the two rating dimensions (delivered Can, accepted on Need). This clearly distinguishes the tool from siblings like 'deliver' or 'reputation' without needing to name them.

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?

Implies usage after a deal is agreed and explains edge cases where rating remains possible (after a later version, after leaving the workspace). However, it never states when not to use this tool or names an alternative (e.g., reputation for viewing), leaving the agent to infer the boundaries.

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