Skip to main content
Glama

Record the decision on a report

record_decision
Destructive

Record Trustpilot's decision on one of your filed cases, as Trustpilot's email or the report's status under Flagging activity in your Trustpilot business account shows it: removed_by_platform for Removed, retained for Kept online. Investigating is no decision yet, so record nothing. A review gone from your profile is not a decision either: its author may have deleted it. If Trustpilot's message does not name the case, match the words it quotes from the review against the highlighted words of your filed cases (list_disputable_reviews, then get_case); if more than one case could match, ask the user which one before recording anything. Only RepuTend can change a recorded decision, so record one only once Trustpilot has decided. A Kept online decision can be appealed once (appeal_packet, record_appeal), and Trustpilot's answer is then recorded here as the next decision.

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": {
      "case_id": "<case_id>",
      "decision": "<decision>"
    },
    "name": "record_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYes
decisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / decision / enum
      Previous value: -[
      -  "removed_by_tp",
      -  "retained"
      -]New value: +[
      +  "removed_by_platform",
      +  "retained"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / case_id / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / case_id / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / case_id / pattern
      Added value: +"^[0-9A-Za-z]{11}$"
    • changedInput schema / properties / case_id / type
      Previous value: -"integer"New value: +"string"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description explains why: only RepuTend can change a recorded decision, so it must be recorded exactly once Trustpilot has decided. It further discloses the evidence sources an agent must consult and the ambiguity-escalation rule, none of which is derivable from the annotation flags.

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?

Front-loaded with the core action and the enum mapping before branching into exclusions and edge cases; nearly every sentence carries a distinct rule. It is dense and reads as one long paragraph, which costs a little scannability, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive two-parameter mutation with no output schema, the definition covers the trigger evidence, the negatives, case-matching fallback, ambiguity escalation, irreversibility, and the appeal follow-up that returns to this tool. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 0%, so the description must carry the meaning. It fully disambiguates the 'decision' enum with real-world labels and the prerequisite state for each value, and grounds 'case_id' in the user's filed cases with a concrete lookup path. It does not describe the 11-character case_id format, but that constraint is machine-enforced by the schema pattern.

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 ('Record Trustpilot's decision on one of your filed cases') and immediately maps both enum values to the real-world outcomes they represent (Removed, Kept online). This is clearly distinct from record_appeal, which the description explicitly separates as a downstream step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use evidence ('as Trustpilot's email or the report's status under Flagging activity shows it') and explicit when-not-to-use cases: investigating is not a decision, and a review vanishing from the profile is not a decision because the author may have deleted it. It also prescribes a fallback procedure (match quoted words via list_disputable_reviews then get_case) and an escalation rule (ask the user when multiple cases match).

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