Skip to main content
Glama
pdfgate

PDFGate MCP Server

Official
by pdfgate

delete_envelope

Permanently delete an envelope and its generated signed documents and audit logs, anonymize recipient data, and keep source files. Only allowed for draft, completed, expired, or voided envelopes; void active first. Irreversible.

Instructions

Permanently delete an envelope and the files it produced (signed documents and audit logs). Recipient data is anonymized and recipients lose access; source documents are not deleted. Only envelopes in 'draft', 'completed', 'expired', or 'voided' status can be deleted — void an active envelope first. Cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeIdYesThe envelope ID to delete

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals permanent deletion, that signed documents and audit logs are removed, that recipient data is anonymized and access is lost, that source documents are untouched, and that the action cannot be undone. This is thorough for a destructive operation.

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?

The description is compact and information-dense: the primary action and primary consequence come first, followed by eligibility constraints, then the irreversibility warning. Every sentence carries meaningful information with no redundancy.

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 single-parameter destructive tool with no output schema, the description covers the behavior, side effects, restrictions, and prerequisite action. Nothing essential for an agent to invoke the tool 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 coverage is 100%, with the only parameter 'envelopeId' described. The description adds no further formatting or semantic detail about the parameter itself, but since the schema already documents it, the baseline score of 3 is appropriate.

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?

The description states a specific verb ('delete') and resource ('envelope'), and immediately clarifies scope: it deletes the envelope plus its produced files (signed documents and audit logs). This differentiates it from siblings like delete_document and void_envelope, making the tool's purpose unmistakable.

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?

It explicitly lists which statuses are eligible ('draft', 'completed', 'expired', 'voided') and tells the agent to 'void an active envelope first', directly pointing to the correct alternative workflow (void_envelope) for active envelopes. This is clear when-to-use and when-not-to-use guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pdfgate/pdfgate-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server