Skip to main content
Glama

delete_template

Remove contract templates from the eSignatures system to manage your template library and maintain organized workflows.

Instructions

Deletes a contract template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesGUID of the template to be deleted.

Implementation Reference

  • Handler logic for the 'delete_template' tool: sends a POST request to the eSignatures API endpoint to delete the specified template.
    if name == "delete_template": response = await httpxClient.post(f"/api/templates/{arguments.get('template_id')}/delete?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
  • Pydantic/JSON schema defining the input parameters for the 'delete_template' tool, requiring 'template_id'.
    INPUT_SCHEMA_DELETE_TEMPLATE = { "type": "object", "properties": { "template_id": {"type": "string", "description": "GUID of the template to be deleted."}, }, "required": ["template_id"], }
  • Registration of the 'delete_template' tool in the MCP server's list_tools() method, specifying name, description, and input schema.
    types.Tool( name="delete_template", description="Deletes a contract template.", inputSchema=INPUT_SCHEMA_DELETE_TEMPLATE ),

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/esignaturescom/mcp-server-esignatures'

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