list_recent_contracts
Retrieve details of the 100 most recent contracts to manage and track eSignature agreements efficiently within the MCP Server for eSignatures.
Instructions
Returns the the details of the latest 100 contracts.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Handler implementation that calls the eSignatures API to list recent contracts and returns the response.if name == "list_recent_contracts": response = await httpxClient.get(f"/api/contracts/recent?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
- src/mcp_server_esignatures/server.py:49-53 (registration)Tool registration in the list_tools() method, defining name, description, and input schema.types.Tool( name="list_recent_contracts", description="Returns the the details of the latest 100 contracts.", inputSchema=INPUT_SCHEMA_LIST_RECENT_CONTRACTS ),
- Input schema for the list_recent_contracts tool, which requires no parameters.INPUT_SCHEMA_LIST_RECENT_CONTRACTS = { "type": "object", "properties": {}, "required": [], }