Skip to main content
Glama

Make a draft from an upload

create_draft_from_upload
Idempotent

Makes a DRAFT agreement from one of the person's recent uploads (uploadId from list_recent_uploads), with a title and at least one recipient (name, email, optional type signer, approver or cc, optional signingOrder, optional locale). routing is sequential (default) or parallel. No fields are placed; the person places them in the console, or detect_fields suggests them from text anchors. Nothing is sent. The file itself never passes through the chat. Refuses a file that is not one of the person's recent uploads.

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": {
      "uploadId": "<uploadId>",
      "title": "<title>",
      "recipients": "<recipients>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_draft_from_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
routingNo
uploadIdYes
recipientsYes
idempotencyKeyYesA new random key for each change you mean to make. Sending the same key again with the same input returns the first answer and changes nothing; the same key with a different input is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: nothing is sent, the file never passes through the chat, no fields are placed, and routing defaults to sequential. These are exactly the safety and side-effect facts an agent needs for a mutation, though it does not state what a successful call returns.

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?

Purpose is front-loaded in the first clause and every sentence adds a real constraint or pointer. The parenthetical recipient enumeration is dense but efficient; the only minor cost is a slightly run-on feel when reading the recipient field list.

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

Completeness4/5

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

Covers input provenance, refusal behavior, side effects, routing, and field-placement follow-up for a 5-parameter mutation tool. The one gap is the return value: with no output schema, the description never says what the agent gets back (e.g., a draft id) after a successful creation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 20% schema description coverage, the description carries the load and mostly does: it documents uploadId's provenance, title, routing values and default, and the full recipient shape (name, email, type signer/approver/cc, signingOrder, locale). Only idempotencyKey is left unexplained in prose, and the schema itself already documents that one thoroughly.

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 ("Makes a DRAFT agreement from one of the person's recent uploads") and pins the input source to a named sibling (uploadId from list_recent_uploads). It also distinguishes itself from create_draft_from_template by framing the source as an upload rather than a template, and from detect_fields by noting that no fields are placed.

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

Usage Guidelines5/5

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

Explicit about when to use (a recent upload, identified via list_recent_uploads) and when not to ("Refuses a file that is not one of the person's recent uploads"). It also routes field placement to the console or to detect_fields, giving the agent a clear alternative path for the next step.

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