Skip to main content
Glama

grape_record_user_decision

Record a user-confirmed decision as temporary redacted evidence by verifying prompt and response hashes without storing raw content.

Instructions

Record a directly confirmed user decision as temporary redacted evidence.

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": {
      "sessionId": "<sessionId>",
      "prompt": "<prompt>",
      "promptHash": "<promptHash>",
      "response": "<response>",
      "responseHash": "<responseHash>",
      "confirmationChannel": "<confirmationChannel>",
      "confirmedByUser": "<confirmedByUser>",
      "confirmedAt": "<confirmedAt>",
      "scope": "<scope>",
      "reportedBy": "<reportedBy>"
    },
    "name": "grape_record_user_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
promptYesRaw prompt used only to verify promptHash; it is not persisted or returned.
responseYesRaw response used only to verify responseHash; it is not persisted or returned.
sessionIdYes
promptHashYes
reportedByYes
confirmedAtYes
responseHashYes
confirmedByUserYes
confirmationChannelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. 'Temporary redacted evidence' vaguely implies a transient store and redaction, but says nothing about retention lifetime, idempotency on retry, required preconditions, or side effects — critical gaps for a 10-required-param write tool.

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?

A single front-loaded sentence with no wasted words, but it is terse to the point of under-specification rather than efficient. Shortness alone doesn't earn credit when essential context is absent.

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

Completeness2/5

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

For a 10-parameter, all-required mutation tool with no annotations and no output schema, one sentence is far from complete. An agent cannot tell what this returns, whether re-calling duplicates evidence, or how the hashes relate to the raw fields beyond what the schema already states.

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 description coverage is only 20%, so the description needed to compensate and does not: it never explains confirmedByUser, the confirmationChannel enum options, the scope object, or why both hashes and raw values are required. The schema itself does document the raw prompt/response non-persistence, which is the only source of meaning.

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

Purpose3/5

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

States a specific verb ('Record') and resource ('user decision'), and 'directly confirmed' hints at the confirmation flow that distinguishes it from grape_request_user_confirmation. However, 'temporary redacted evidence' is internal jargon that an agent cannot decode, and the sibling it most needs to be distinguished from is never named.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or prerequisite guidance at all. It doesn't say that this is the step after grape_request_user_confirmation succeeds, nor that confirmedByUser must be true, nor what to do when confirmation is denied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.