Duplicate a document
documenso_duplicate_documentCopy an existing document into a new draft, keeping its fields. Documenso v2: POST /document/duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document to copy. |
documenso_duplicate_documentCopy an existing document into a new draft, keeping its fields. Documenso v2: POST /document/duplicate.
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document to copy. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations supply destructiveHint=true, so the safety profile is partially covered. The description adds useful context that the result is a new draft retaining existing fields, implying the source is untouched. It does not cover permissions, side effects on recipients/fields, or what is returned.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short, front-loaded sentences with no filler; the core action leads and the API mapping trails. Efficient, though the endpoint reference is marginal value for an agent choosing a tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with full schema coverage and no output schema, the description covers what it does and what it produces (a new draft). Only the return value (e.g., new document id) is unstated, a minor gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter (documentId) is documented in the schema as 'The document to copy.' The description adds nothing parameter-specific, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource (copy an existing document into a new draft) and adds scope detail ('keeping its fields') that separates it from siblings like create_document_from_template. It does not name an alternative tool, but the action is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no exclusions, and no mention of the sibling tools (create_document_from_template, list_documents) an agent might otherwise pick. The agent must infer that this is for duplicating a known documentId rather than creating fresh.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.