Skip to main content
Glama

Send a PDF for signature

assinafy_send_pdf_for_signature

Upload a new PDF, wait for processing and invite signers by full name and email, using Email verification and notification. This sends invitations and uses plan allowance: use only recipients the user authorized. After a partial failure, inspect the retained document ID and continue with assinafy_create_assignment instead of uploading again.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_name": "<file_name>",
      "file_base64": "<file_base64>",
      "signers": "<signers>"
    },
    "name": "assinafy_send_pdf_for_signature"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoinvitation message shown to signers
signersYesone or more signers to create or reuse and request signatures from
file_nameYesPDF filename including the .pdf extension
poll_secsNopolling interval in seconds (default 2; cannot exceed max_wait_secs)
account_idNoaccount ID; uses the request or server default if omitted
expires_atNoassignment expiry as an ISO 8601 date or date-time
file_base64Yesbase64-encoded PDF bytes (max 25 MB decoded)
estimate_onlyNoupload and prepare the PDF, then return cost and document ID without creating contacts or sending invitations; reuse that ID to send
max_wait_secsNomaximum seconds to wait for PDF processing (default 30; max 600)
max_total_creditsNomaximum credits allowed for sending; use total_credits from the latest estimate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / expires_at / description
      Previous value: -"assignment expiry timestamp in RFC 3339 format"New value: +"assignment expiry as an ISO 8601 date or date-time"
    • addedInput schema / properties / max_total_credits
      Added value: +{
      +  "description": "maximum credits allowed for sending; use total_credits from the latest estimate",
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / estimate_only
      Added value: +{
      +  "description": "upload and prepare the PDF, then return cost and document ID without creating contacts or sending invitations; reuse that ID to send",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag a non-idempotent, open-world write; the description adds substantive context beyond them: that invitations actually go out by email, that plan allowance/credits are consumed, and that a partial failure retains the document ID for continuation. It does not spell out the credit cost model or the fact that re-running uploads a second document, but the billing and failure semantics are the important additions.

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?

Three tight sentences, front-loaded with the action and immediately followed by cost/authorization and then the recovery rule. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, non-idempotent, credit-consuming tool with no output schema, it covers cost implications, authorization, and failure recovery. What remains uncovered is the return payload shape (assignment/document IDs on success) and expiry behavior, which would matter to an agent planning follow-up calls.

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 description coverage is 100%, so parameter meaning is already carried by structured fields (estimate_only, max_total_credits, signer reuse on exact email match). The description only restates 'by full name and email' and the retained-document-ID idea, adding little beyond the schema; baseline 3 applies.

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?

States a specific composite action: upload a PDF, wait for processing, and invite signers by full name and email with Email verification. The three-step sequence plus the named sibling (assinafy_create_assignment) makes it distinguishable from assinafy_upload_document and the lower-level assignment tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a real usage constraint ('use only recipients the user authorized') and an explicit resume path after partial failure rather than re-uploading. It stops short of stating plainly when to pick this over assinafy_upload_document plus assinafy_create_assignment, so not a full when/when-not rubric.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.