Skip to main content
Glama

Preview review requests

preview_review_requests
Read-onlyIdempotent

Checks a review-request campaign without sending anything: which recipients pass the rules (consent, valid contact, no unsubscribe, at most one request per 90 days), message compliance issues (incentives, review gating, missing link) and the rendered sample message.

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": {
      "location_id": "<location_id>",
      "channel": "<channel>",
      "recipients": "<recipients>"
    },
    "name": "preview_review_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage of the default templateen
channelYesDelivery channel
messageNoText with {name}, {business}, {link}; default template if empty
subjectNoEmail subject
recipientsYes
location_idYesLocation the customers visited
consent_confirmedNoThe sender confirms every recipient agreed to receive service messages (required to send)

Output Schema

NameRequiredDescriptionDefault
smsNo
issuesYes
blockedYes
channelYes
skippedYes
eligibleYes
locationYes
skipped_rowsYes
sample_messageYes
sample_subjectNo
skipped_by_reasonYes
counts_toward_requestsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent and closed-world, so the safety profile is covered. The description still adds real value beyond them by enumerating the actual validation rules (consent, valid contact, no unsubscribe, one request per 90 days) and the compliance categories checked (incentives, review gating, missing link), plus confirmation that a rendered message is returned. It stops short of saying what happens on a failing preview (blocks send vs. warns only).

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?

A single front-loaded sentence with the key guarantee ('without sending anything') placed early, followed by a compact parenthetical rule list. Dense but every clause carries information; the nested parentheses make it slightly harder to scan than a short bulleted form would be.

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 7-parameter, multi-channel validation tool with an output schema (so return values need no explanation), the description covers what is checked and that nothing is sent. The main residual gap is outcome semantics — whether failing rules merely report or actually block a subsequent send.

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 coverage is 86%, so parameters are already well documented and the baseline applies. The rule list gives indirect meaning to the consent/consent_confirmed and recipient fields, but the description says nothing about channel, locale, message, or subject semantics beyond what the schema provides.

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?

Names a specific verb and resource ('Checks a review-request campaign') and immediately scopes it as a dry run with 'without sending anything', which distinguishes it from send_review_requests without needing the sibling schema. An agent can tell what it produces: pass/fail per recipient, compliance findings, and a rendered sample.

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 phrase 'without sending anything' clearly implies the preview-before-send workflow, so an agent can infer this belongs before send_review_requests. It never names that sibling explicitly nor states exclusions (e.g. that it does not persist or create anything), so routing guidance is strong but not fully explicit.

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