Skip to main content
Glama

add_recipient

Add a signer, approver, or CC recipient to a digital signature envelope by specifying their role, name, and email.

Instructions

Add a signer, approver, or CC recipient to an envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeIdYesEnvelope UUID
roleYesRecipient role
nameYesRecipient full name
emailYesRecipient email
mobileNoMobile phone (e.g. +420111222333)

Implementation Reference

  • The API function that performs the network request to add a recipient to an envelope.
    export function addRecipient(creds, envelopeId, { role, name, email, mobile }) {
      const body = { role, name, email };
      if (mobile) body.mobile = mobile;
      return apiCall('POST', `/api/envelopes/${envelopeId}/recipients`, { ...creds, body });
    }
  • src/index.js:202-220 (registration)
    The MCP tool definition and handler for 'add_recipient', which calls the underlying API function.
    server.tool(
      'add_recipient',
      'Add a signer, approver, or CC recipient to an envelope.',
      {
        envelopeId: z.string().describe('Envelope UUID'),
        role: z.enum(['signer', 'in_person', 'cc', 'approver']).describe('Recipient role'),
        name: z.string().describe('Recipient full name'),
        email: z.string().describe('Recipient email'),
        mobile: z.string().optional().describe('Mobile phone (e.g. +420111222333)'),
      },
      async ({ envelopeId, ...recipient }) => {
        try {
          const data = await api.addRecipient(creds, envelopeId, recipient);
          return result(data);
        } catch (err) {
          return errorResult(err);
        }
      }
    );
  • The Zod schema defining the input parameters for the 'add_recipient' tool.
    {
      envelopeId: z.string().describe('Envelope UUID'),
      role: z.enum(['signer', 'in_person', 'cc', 'approver']).describe('Recipient role'),
      name: z.string().describe('Recipient full name'),
      email: z.string().describe('Recipient email'),
      mobile: z.string().optional().describe('Mobile phone (e.g. +420111222333)'),
    },
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Add') but doesn't cover critical traits like whether this requires specific permissions, if it's idempotent, what happens on duplicate recipients, or any rate limits. This leaves significant gaps for a mutation tool, making it inadequate for safe agent use.

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?

The description is a single, efficient sentence that front-loads the core action and resource without any wasted words. It's appropriately sized for its purpose, making it easy to parse quickly.

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

Completeness2/5

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

Given this is a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't address behavioral risks, return values, or error conditions, leaving the agent with insufficient context to use the tool safely and effectively in a complex environment.

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 the schema already documents all parameters thoroughly. The description adds no additional meaning beyond what the schema provides (e.g., it doesn't explain parameter interactions or constraints), resulting in a baseline score of 3 where the schema does the heavy lifting.

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 clearly states the action ('Add') and the target resource ('a signer, approver, or CC recipient to an envelope'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'list_recipients' or 'send_envelope', which could involve recipients in different contexts, so it falls short of a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, such as whether it's for modifying an existing envelope or if there are prerequisites (e.g., envelope must be in a draft state). It lacks explicit when/when-not instructions or references to sibling tools, offering only basic implied usage from the action.

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

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