Skip to main content
Glama
g-digital-by-Garrigues

EAD Factory MCP Server

Official

add_document_to_signature_request

Attach a document to a signature request as the first step of a two-step upload. Provide filename, title, hash, and signature type to prepare it for signatory signing.

Instructions

Adds a document to a signature request — the first step of a 2-step upload (add, then PUT the file bytes to the returned upload URL). Use once per document that needs signing. Requires: create_signature_request → signatureRequestId, and the document's SHA-256 hash (compute it before calling, or use the signature_request_full composite tool). Add signatories with add_signatory_to_document before activating. Signature type: INTERPOSITION = EAD Factory mediates the signing act on the signatory's behalf (e.g. an OTP sent via WhatsApp/SMS) — the signatory needs no software or certificate. | ADVANCED = Advanced electronic signature — the signatory signs directly (signing pad or certificate); a stronger legal tier than INTERPOSITION. | OTHER = A signature type not covered by INTERPOSITION or ADVANCED.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYes
titleYes
detachedNo
fileSizeNo
filenameYes
metadataNo
providerNo
sequenceNo
evidenceIdNoMANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence.
descriptionNo
convertToPdfNo
signatureTypeYes
certificateFilesNo
signatureDeadlineNo
signatureRequestIdYesMANDATORY. UUID of the signature request. Obtain from create_signature_request.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
urlNo
expirationNo
Behavior4/5

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

Annotations carry no behavioral hints (all false), so the description bears the full burden. It discloses the two-step upload behavior, the need to PUT file bytes to a returned URL, and explains signature type semantics in detail. However, it does not address idempotency, failure modes, or side effects beyond the workflow, leaving some transparency gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph but well-structured with clear progression: purpose, workflow, prerequisites, and signature type definitions. Each sentence contributes value without fluff. It could be slightly more scannable with bullets, but overall it is concise for the complexity it covers.

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?

Given the tool's complexity (15 parameters, nested objects) and 13% schema coverage, the description covers the critical workflow and key parameters but omits many optional ones. It also references related tools (create_signature_request, add_signatory_to_document, signature_request_full), giving it enough context for an agent to operate. Missing optional parameter explanations prevent a 5.

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 only 13%, so the description must compensate. It adds meaning for signatureType (explains the three enum values) and hash (specifies SHA-256), and clarifies signatureRequestId's origin. However, many parameters (detached, fileSize, metadata, provider, sequence, evidenceId, description, convertToPdf, certificateFiles, signatureDeadline) remain undocumented, leaving significant semantic gaps.

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?

The description clearly states the tool's function with a specific verb and resource: 'Adds a document to a signature request.' It also distinguishes the tool by framing it as the first step of a 2-step upload process, which separates it from sibling tools like notification_document_add or evidence_upload_url_create. The scope is unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: it names prerequisites (create_signature_request, SHA-256 hash), describes the sequential workflow (add document, PUT bytes, add signatories, activate), and mentions an alternative composite tool (signature_request_full). It also states 'Use once per document that needs signing,' offering clear when-to-use direction.

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

Install Server

Other Tools

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/g-digital-by-Garrigues/EAD-Factory-MCP'

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