Skip to main content
Glama

Withdraw a trial request

delete_trial_request
DestructiveIdempotent

Withdraw a trial request and erase the personal data submitted with it. Use this if your user changes their mind, or asks you to remove their details. You must supply the email the request was made for, so one caller cannot erase another's request.

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": {
      "requestId": "<requestId>",
      "email": "<email>"
    },
    "name": "delete_trial_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe email the request was made for. Must match, so one caller cannot erase another's request.
requestIdYesThe request id returned by request_trial.

Output Schema

NameRequiredDescriptionDefault
requestIdNoThe withdrawn request's id. Present only when withdrawn is true.
withdrawnYesWhether a request was withdrawn and its personal data erased. False when no request matches that id and email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / email / format
      Removed value: -"email"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "requestId": {
      +      "description": "The withdrawn request's id. Present only when withdrawn is true.",
      +      "type": "string"
      +    },
      +    "withdrawn": {
      +      "description": "Whether a request was withdrawn and its personal data erased. False when no request matches that id and email.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "withdrawn"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description adds what is destroyed (personal data) and an ownership safeguard (the email must match so one caller cannot erase another's request). It could say more about irreversibility or what a mismatch returns, so it falls just short of 5.

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 short sentences, with the destructive effect and the caller-selection condition front-loaded and no filler. Each sentence carries information the agent needs.

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 a full annotation set and an output schema, the description covers purpose, when to invoke, what is destroyed, and the authorization constraint. 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.

Parameters3/5

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

Schema description coverage is 100% and both parameters carry descriptions, including the same email-matching rationale the description repeats. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 ("Withdraw a trial request") plus its material consequence ("erase the personal data submitted with it"). That combination clearly separates it from siblings like get_trial_status and request_trial, which read or create rather than destroy.

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?

Gives an explicit trigger: "Use this if your user changes their mind, or asks you to remove their details." That is a clear condition for selecting the tool. It does not name an alternative tool or state when not to use it, which keeps it short of a 5.

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.