Skip to main content
Glama

Manage documents

documents_manage
Destructive

Documents for signing. list, get (signers, history), templates (roles, fields), send (a template; emails signers), remind (emails who is due), link (a signer's link, to share in person), text (texts it), void (cancel a waiting one), remove (a finished one). Confirm send, remind and text. Statuses: sent = waiting, completed, declined, voided.

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": {
      "action": "<action>"
    },
    "name": "documents_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoget / remind / link / text / void / remove: the document id.
phoneNotext: the mobile number, if the signer is not a contact with one.
titleNosend: defaults to the template name.
actionYes
reasonNovoid: why (kept in the history).
statusNolist: sent | completed | declined | voided
messageNosend: shown in the email; defaults to the template's.
orderedNosend: sign one after another in role order (the user last).
prefillNosend: values for the template's "before sending" fields (role _before_sending), { fieldId: value }; {{first_name}} tags fill in.
signersNosend, several roles: { role, contactId } or { role, name, email }.
signerIdNoremind: just this signer. link / text: required (from get).
contactIdNolist: documents this contact was sent. send: who signs (one signer role).
templateIdNosend: the template. With one signer role pass contactId; with several pass signers. A role marked is_sender is the user and fills itself. Contacts need an email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "get",
      -  "templates",
      -  "send",
      -  "remind",
      -  "void"
      -]New value: +[
      +  "list",
      +  "get",
      +  "templates",
      +  "send",
      +  "remind",
      +  "link",
      +  "text",
      +  "void",
      +  "remove"
      +]
    • changedInput schema / properties / id / description
      Previous value: -"get / remind / void: the document id."New value: +"get / remind / link / text / void / remove: the document id."
    • addedInput schema / properties / phone
      Added value: +{
      +  "description": "text: the mobile number, if the signer is not a contact with one.",
      +  "type": "string"
      +}
    • addedInput schema / properties / prefill
      Added value: +{
      +  "description": "send: values for the template's \"before sending\" fields (role _before_sending), { fieldId: value }; {{first_name}} tags fill in.",
      +  "type": "object"
      +}
    • changedInput schema / properties / signerId / description
      Previous value: -"remind: just this signer."New value: +"remind: just this signer. link / text: required (from get)."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds real context beyond them: send/remind/text trigger outbound email/SMS and require confirmation, void records a reason in history, and remove is limited to finished documents. It does not cover permissions, error modes, or reversibility, which are the remaining gaps for a destructive tool.

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 definition is front-loaded with the domain and the action, then packs the nine actions into a single tight parenthetical sequence with no filler. The dense parentheses make it slightly harder to scan than a bulleted list, but nothing is wasted.

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

Completeness3/5

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

For a 13-parameter, nested-object, destructive tool with no output schema, the description covers action semantics, confirmations and the status vocabulary well. It leaves return values (what list/get/link produce), filtering and pagination behavior, and permission requirements undocumented, which an agent must discover by calling it.

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 92%, so nearly every parameter already documents itself. The description reinforces a few relationships (signerId required for link/text and obtained from get; signers offered as {role, contactId} or {role, name, email}), but adds little meaning not already in the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific domain statement ("Documents for signing") and enumerates all nine actions with a one-line gloss of each, so an agent knows exactly what the tool covers. It does not differentiate itself from near siblings such as templates_manage or sms_manage, even though the 'templates' and 'text' actions could be confused with them.

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?

Each action carries inline selection guidance: get for signers/history, send for a template, link for sharing in person, text for SMS delivery, void for a waiting document, remove for a finished one. It also flags that send, remind and text need confirmation. It lacks explicit when-not rules or references to sibling tools, so it stops short of a 5.

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