Skip to main content
Glama

Rate a finished online session

rate_session
Idempotent

For the person's own finished online notary session: saves their rating from 1 to 5, with an optional note, the same as the stars on their booking page. Needs their private booking link.

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": {
      "stars": "<stars>"
    },
    "name": "rate_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoInstead of link: the reference, e.g. SR-AB12CD
codeNoInstead of link: the token= or t= value from that link
linkNoThe person's private link: the manage link from a booking email (…/manage.html?ref=…&token=…) or the status link from a request email (…/requests/SR-…?t=…)
noteNoA short comment (optional)
starsYes1 (poor) to 5 (excellent)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the write/idempotent/non-destructive profile, and the description adds genuinely new context: the credential requirement ('Needs their private booking link') and the observable effect ('the same as the stars on their booking page'). It does not say what happens on a re-rating or a failed lookup, which keeps it out of the top band.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the subject and scope, then the prerequisite. No filler or repetition of annotation data.

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 small write tool with no output schema, the description covers who may rate, when, what is stored, and what credential is needed. The remaining gap is failure/overwrite behavior, which an agent would otherwise have to infer from the idempotentHint.

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 baseline is 3, but the description adds meaning the schema does not: it clarifies that a private link is effectively mandatory even though only 'stars' is marked required, and frames the rating as a 1–5 star equivalent. The ref/code fallbacks remain documented only in 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 and resource ('saves their rating from 1 to 5') plus an explicit scope ('the person's own finished online notary session'), which separates it from siblings like report_problem or booking_messages. An agent knows exactly what record is being written and under what conditions.

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?

Gives clear preconditions: the session must be finished and belong to the person, and a private booking link is required. It stops short of naming alternatives (e.g., where to send complaints or corrections instead of a rating), so there is context but no explicit exclusion.

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