Skip to main content
Glama

Upload a text project file

upload_file

Create one new editable text file from UTF-8 content. For compatibility contentBase64 is accepted only for UTF-8 text at an editable extension. Existing paths are never overwritten; use edit_file for existing text. Binary uploads and replacements are not supported by MCP: ask the user to upload or replace images, PDFs, and other binary assets directly in the PaperDock web app. Do not recreate them under another path or extension.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
sha256No
contentNo
mimeTypeNo
projectIdYes
contentBase64No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: it guarantees existing paths are never overwritten, restricts contentBase64 to UTF-8 text at editable extensions, and explains that binary replacements are unsupported through MCP. This is rich, non-obvious behavioral disclosure.

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?

Four sentences, each carrying distinct information: core action, compatibility constraint, no-overwrite rule, and binary workaround. The most important purpose is front-loaded. Slightly dense but no filler.

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

Completeness3/5

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

The description covers the critical operational constraints well, and the output schema reduces the need to explain return values. However, it leaves optional parameter semantics unresolved and does not address the relationship with create_file, so an agent may still hesitate or misroute.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It does explain content, contentBase64, and path/extension constraints, but mimeType, sha256, and projectId are left undocumented. With six parameters and no schema descriptions, this is a significant gap.

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 verb and resource: 'Create one new editable text file from UTF-8 content.' It also distinguishes itself from edit_file by saying existing paths are never overwritten. However, it does not differentiate from the sibling create_file, which is likely a close alternative.

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 gives explicit direction: use edit_file for existing text and direct users to the PaperDock web app for binary uploads. This provides clear when-not-to-use guidance. It stops short of a full 5 because it never states when to prefer upload_file over create_file.

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