Skip to main content
Glama

Ask a customer to rate a job

request_job_review
Destructive

Email the customer recorded on a completed job a personal link to rate the work. The recipient is taken FROM THE JOB and cannot be supplied, so this cannot be used to email an arbitrary address. Only one request per customer per job is ever open; asking again while one is outstanding is refused rather than sending a second email.

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": {
      "job_id": "<job_id>"
    },
    "name": "request_job_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job to ask about.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, so the agent knows this has external side effects and is not repeatable. The description adds genuinely new behaviour beyond that: the recipient is locked to the job's customer, and a duplicate request is refused rather than silently queued. It does not say whether the email is sent immediately, what happens after the link expires, or how failure is surfaced.

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?

Three sentences, no filler, with the core action and the recipient constraint front-loaded and the duplicate-request rule last. The capitalisation of "FROM THE JOB" is the only stylistic blemish.

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 single-parameter action with an output schema already documented, the description covers recipient derivation, precondition and duplicate behaviour. Remaining gaps — delivery timing, link expiry, failure modes — are secondary for an agent deciding whether and how to call it.

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, and the schema label ("The job to ask about") is thin. The description adds real meaning: the job must be completed, and the customer address is derived from job_id rather than being a separate input, which is not expressible 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?

The description names a specific verb and action ("Email the customer... a personal link to rate the work") plus the object it operates on (a completed job). It also states the scope boundary (the recipient is derived from the job and cannot be supplied), which separates it from any generic email tool.

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?

It states the required precondition implicitly – the job must be completed – and explicitly excludes the arbitrary-address use case. It also warns that a second request while one is open is refused. What it lacks is any explicit naming of an alternative tool for the arbitrary-email or reminder scenario.

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