Skip to main content
Glama

list_templates

Retrieve available eSignature templates to streamline contract creation and management processes.

Instructions

Lists the templates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler logic for the 'list_templates' tool within the handle_call_tool function. It performs a GET request to the /api/templates endpoint using the secret token and returns the HTTP response details.
    if name == "list_templates": response = await httpxClient.get(f"/api/templates?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
  • Input schema definition for the 'list_templates' tool, which expects an empty object.
    INPUT_SCHEMA_LIST_TEMPLATES = { "type": "object", "properties": {} }
  • Registration of the 'list_templates' tool in the handle_list_tools function, including name, description, and input schema reference.
    types.Tool( name="list_templates", description="Lists the templates.", inputSchema=INPUT_SCHEMA_LIST_TEMPLATES ),

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