Skip to main content
Glama

grape_request_user_confirmation

Create a non-durable request ID to request direct user confirmation, verifying prompt intent via hash without persisting or returning raw prompt data.

Instructions

Create a non-durable request ID for direct user confirmation.

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>",
      "scope": "<scope>",
      "reportedBy": "<reportedBy>"
    },
    "name": "grape_request_user_confirmation"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
promptYesRaw prompt used only to verify promptHash; it is not persisted or returned.
reasonNo
sessionIdYes
promptHashYes
reportedByYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description bears the full behavioral burden. 'Non-durable' hints at ephemerality but does not state expiry, whether the ID is single-use, idempotency on repeat calls, or whether an active session is required. These are exactly the traits an agent needs before invoking a confirmation flow.

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?

It is a single well-formed sentence with the object of the action front-loaded and no filler. The brevity reads as under-specification rather than discipline, since a six-parameter tool gets no structural elaboration.

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 tool with six parameters (one a nested object), no annotations, no output schema, and a required prompt hash, one sentence is far too thin. Nothing explains what the call returns (the request ID? an expiry?) or how the caller should proceed afterward.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% – just the 'prompt' field is documented, and only to say it is not persisted. The description adds nothing about sessionId, promptHash, scope (an undescribed nested object), reason, or the reportedBy enum, so five required parameters carry no semantics anywhere.

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?

The description names a specific verb and artifact ('Create a non-durable request ID') and ties it to 'direct user confirmation', so the basic purpose is inferable. However, it never explains what a request ID is used for downstream or how it differs from the adjacent decision-recording tool, leaving the agent to guess at the workflow role.

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?

There is no when-to-use guidance, no prerequisites, and no mention of the obvious companion action (recording the user's decision after confirmation). The agent must infer the entire call sequence from a single clause.

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