Skip to main content
Glama

Click2Mail MCP by usefulapi

Upload document from URL

click2mail_upload_document_from_url

WRITE: have Click2Mail fetch a PDF (or other supported file) from a public http(s) URL and store it as a document on the account. Returns the document id for click2mail_create_job. Creates data only; nothing is mailed or charged. POST /molpro/documents/url.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL of the file.
document_nameYesA name for the document (must be unique on the account).
document_classNoThe product the document is for, e.g. "Letter 8.5 x 11", "Postcard 4.25 x 6".Letter 8.5 x 11
document_formatNoFile format, default "PDF".PDF

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, and the description reinforces this with 'Creates data only; nothing is mailed or charged', which materially reassures the agent about cost and side effects. It does not mention that document_name must be unique (only in the schema) or that repeated calls are non-idempotent, so a few behavioral gaps remain.

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?

Four short sentences, front-loaded with the operation class and purpose, with the scope caveat and return value following in order of importance. No filler and the endpoint is a useful trailing detail.

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

Completeness5/5

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

There is no output schema, yet the description states the return value (document id) and its consumer, plus the cost and mailing side-effect boundaries. Combined with a fully described 4-parameter schema, an agent has everything needed to call this correctly.

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 coverage is 100%, so every parameter is already documented, and the description only restates that the URL must be public http(s). It adds no format, size, or class/format pairing guidance beyond 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.

Purpose5/5

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

States a specific verb and resource: fetch a file from a public URL and store it as an account document. It also contrasts implicitly with click2mail_list_documents by describing creation rather than listing, and the leading 'WRITE:' tag makes the mutation class immediately legible.

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?

The description names the downstream consumer ('Returns the document id for click2mail_create_job'), which tells the agent this is a prerequisite step for job creation. It does not state when NOT to use it (e.g. re-uploading an already-listed document), so it stops short of full when/when-not guidance.

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.