Skip to main content
Glama

upload_paper

Upload a PDF (base64-encoded, up to 20MB raw bytes) into the user's paper library. Use after search_papers when the user wants a found PDF in their library for read_paper. Returns the new paper_id.

Input Schema

NameRequiredDescriptionDefault
tagsNo
filenameNopaper.pdf
folder_idNo
content_base64Yes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the 20MB raw-byte limit, the base64 encoding requirement, and that the result is a new paper_id. It omits permissions/auth requirements, dedup or overwrite behavior on upload, and error conditions for oversized or malformed input.

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?

Two sentences, front-loaded with the core action and constraint, then the routing rule. No wasted text.

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

Completeness2/5

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

Although an output schema exists (so return values needn't be detailed), the combination of zero schema coverage, no annotations, and three undocumented parameters leaves the definition incomplete for a mutation tool that writes to the user's library.

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% across 4 parameters. The description compensates for only content_base64 (base64 encoding, 20MB cap); tags, filename, and folder_id are wholly undocumented in both schema and description, leaving most parameters unexplained.

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+resource+destination ('Upload a PDF ... into the user's paper library'), and names the related siblings (search_papers, read_paper) so it is distinguishable from the generic upload_file. An agent knows exactly what this does without opening the schema.

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?

Gives an explicit trigger and sequencing rule: 'Use after search_papers when the user wants a found PDF in their library for read_paper.' This is a clear workflow context, though it does not state when NOT to use this versus upload_file or what to do if the PDF already exists.

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