Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Formify. If you published it, claim ownership there.

Get Document

get_document
Read-onlyIdempotent

Get detailed status and metadata for a specific document, including per-signee signing status. The document status is exactly one of: created (created and ready), processing (the AI assistant is still preparing it), error (processing failed), awaiting_signatures (one or more signees have not signed yet), completed (all signees have signed), revoked (cancelled), expired (not signed by every signee within 90 days of being sent), deleted. An expired document can no longer be opened or signed by anyone; it can only be read or revoked (and deleted once it is revoked), so to get it signed a new document must be sent. expiryDate is 90 days after the document was sent, or the time it expired for an expired document, and null for a document that cannot expire (completed, revoked, or signed by every signee, even while a payment is still outstanding). No webhook event is sent when a document expires — status and expiryDate are how to see it. Each entry in signeeDetails carries signeeId, signatureStatus (either awaiting_signature or signed — note the field is signatureStatus, not status), reminders.reminderCooldown (seconds left before another reminder may be sent, 0 when allowed now) and updates.updateCooldown (seconds left before contact details may be changed again, 0 when allowed now).

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": {
      "documentId": "<documentId>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesUnique identifier of the document

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, but the description adds genuinely non-obvious behavior: the exact status vocabulary, that expired documents are read/revoke-only and need a new send, the 90-day expiry rule and its null cases, and the fact that no webhook fires on expiry. It even warns about the signatureStatus-vs-status naming trap and explains what a cooldown of 0 means.

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 purpose is front-loaded in the first sentence and nearly every sentence conveys a non-obvious fact, so length is largely earned. The downside is structure: a single dense paragraph mixing status vocabulary, expiry rules, webhook behavior, and per-signee field naming would read far better as short bullets.

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

Completeness5/5

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

With no output schema, the description carries the full burden of explaining return values, and it does so thoroughly — enumerating every status, the expiryDate semantics including null cases, and the shape of each signeeDetails entry. An agent has everything needed to call and interpret this tool.

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?

Only one parameter (documentId) and schema coverage is 100%, so the schema fully documents it; baseline 3 applies. The description adds no extra semantics about the identifier itself, only about the response.

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 verb and resource ('Get detailed status and metadata for a specific document') and scopes the payload with 'including per-signee signing status', which separates it from siblings like get_document_fields or get_signed_document_url. An agent can tell what this returns without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied by the described payload (status, expiry, signee state), and the expiry passage hints at follow-on actions such as revoking or re-sending. However, it never states when to prefer this over get_document_fields, get_document_field_values, or get_signed_document_url, and gives no exclusions.

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.

Resources