Skip to main content
Glama

add_template_collaborator

Invite collaborators to edit contract templates by generating secure HTTPS links and sending email invitations when addresses are provided.

Instructions

Creates a HTTPS link for editing a contract template; sends an invitation email if an email is provided..

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYes
nameNoCollaborator's name
emailNoCollaborator's email; triggers an invitation email when provided

Implementation Reference

  • Handler implementation for the 'add_template_collaborator' tool. It sends a POST request to the eSignatures API to add a collaborator to a template and returns the API response.
    if name == "add_template_collaborator": response = await httpxClient.post(f"/api/templates/{arguments.get('template_id')}/collaborators?token={secret_token}", json=arguments) return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
  • Registration of the 'add_template_collaborator' tool in the list_tools handler, including name, description, and input schema reference.
    types.Tool( name="add_template_collaborator", description="Creates a HTTPS link for editing a contract template; sends an invitation email if an email is provided..", inputSchema=INPUT_SCHEMA_ADD_TEMPLATE_COLLABORATOR ),
  • Input schema definition for the 'add_template_collaborator' tool, specifying properties for template_id, name, and email.
    INPUT_SCHEMA_ADD_TEMPLATE_COLLABORATOR = { "type": "object", "properties": { "template_id": {"type": "string"}, "name": {"type": "string", "description": "Collaborator's name"}, "email": {"type": "string", "description": "Collaborator's email; triggers an invitation email when provided"} }, "required": ["template_id"] }

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