Skip to main content
Glama

Upload file

upload-file
Destructive

Automation-only: upload document bytes as base64 for non-chat integrations, then call send-fax-uploaded with the returned path. NEVER use this in chat — call pipeline_start, list-numbers, list-contacts, then request-file-from-user (UI or curl). File bytes must not pass through the model for chat flows. Never expect a document as a chat attachment.

Side effects: stores file for fax delivery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOptional file format hint: pdf or tiff.
user_idNoOptional Fax.Plus user ID. Omit for self. Must be a UUID (dashed or 32-hex) or 24-char ObjectId (not a phone number).
file_nameYesFile name to store (for example, contract.pdf).
mime_typeNoOptional MIME type (for example application/pdf).
pipeline_idYesReturned by pipeline_start. Pass it back unchanged.
file_contentYesDocument bytes as a base64 string. Data URI format is also accepted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already signal destructiveHint=true and readOnlyHint=false, and the description adds meaningful context beyond that: it stores the file for fax delivery and warns that file bytes must not pass through the model for chat flows. This extra behavioral context is valuable, though it could have disclosed more about storage semantics.

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?

The description is front-loaded with the primary purpose and usage restriction, then provides the alternative flow. It is slightly dense and includes some repeated warnings, but every sentence contributes practical guidance and no irrelevant content is present.

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?

For a tool with a full output schema, complete parameter descriptions, and annotations covering mutation behavior, the description covers the remaining important context: automation-only usage, the required next step, the chat-flow alternative, and side effects. Nothing essential is missing for correct invocation.

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 input schema already documents all six parameters including pipeline_id, file_content, and user_id constraints. The description does not add much parameter-level meaning beyond the schema, which matches the baseline of 3.

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?

The description states a specific verb and resource: upload document bytes as base64 for non-chat integrations, with a clear follow-up step (call send-fax-uploaded with the returned path). It also distinguishes this tool from chat-related flows, so an agent can tell it apart from request-file-from-user and pipeline_start without opening schemas.

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?

It explicitly says 'Automation-only' and 'NEVER use this in chat', then names the correct chat flow: pipeline_start, list-numbers, list-contacts, then request-file-from-user. This gives both when-to-use and when-not-to-use guidance, plus the exact alternative path.

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