Skip to main content
Glama

list_documents

Retrieve all documents associated with a specific digital signature envelope to manage and review attached files.

Instructions

List documents attached to an envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeIdYesEnvelope UUID

Implementation Reference

  • MCP tool registration and handler for list_documents in src/index.js
    server.tool(
      'list_documents',
      'List documents attached to an envelope.',
      {
        envelopeId: z.string().describe('Envelope UUID'),
      },
      async ({ envelopeId }) => {
        try {
          const data = await api.listDocuments(creds, envelopeId);
          return result(data);
        } catch (err) {
          return errorResult(err);
        }
      }
  • Implementation of listDocuments in src/api.js which performs the API call.
    export function listDocuments(creds, envelopeId) {
      return apiCall('GET', `/api/envelopes/${envelopeId}/documents`, creds);
    }

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/davidsimoes/digisign-mcp'

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