Skip to main content
Glama

Upload Quick Annotation PDF

upload_quick_annotation_pdf

Upload a PDF (<=10 MB inline base64, HTTPS URL up to 250 MB, or omit/oversize to automatically receive a 30-min signed Upload Portal URL) into Quick Annotation, optionally auto-highlighting search phrases and immediately returning the annotation locations table.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_quick_annotation_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoTarget PDF filename (e.g., smith-2024.pdf).
folder_idNoOptional destination Quick Annotation folder_id.
source_urlNoDirect HTTPS URL to a PDF (up to 250 MB).
content_base64NoBase64-encoded PDF bytes (max 10 MB inline).
highlight_queriesNoOptional passage keywords/claims to automatically highlight inside an unannotated PDF.
create_folder_nameNoOptional new folder name to create at root for this PDF.
extract_annotationsNoImmediately extract annotation location table after upload (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-idempotent, non-destructive, open-world write. The description adds real behavior the annotations lack: the 10 MB inline cap, the 250 MB URL cap, the 30-minute signed-URL fallback when no source is supplied or the file is oversize, and the default of extract_annotations=true. It still does not mention what happens on duplicate filenames or whether the portal URL is one-time use.

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?

One front-loaded sentence with the verb first, then the three input modes, then the optional extras. Every clause carries information; nothing is repeated from the schema verbatim.

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?

With no output schema and seven optional parameters, the description correctly notes that the annotation locations table is returned immediately when extract_annotations is on. It is missing post-upload guidance for the portal-URL case and the failure mode for oversized inline payloads.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds the decision logic linking source_url, content_base64, and omission to size thresholds, which the schema does not spell out. It also confirms extract_annotations defaults to true, complementing the schema's wording.

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?

States the specific verb (Upload) and resource (a PDF) plus the destination system (Quick Annotation), and adds the notable extras: optional auto-highlighting and immediate return of the annotation locations table. It stops short of distinguishing itself from the sibling create_upload_session / get_upload_session_status tools.

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

Usage Guidelines3/5

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

The description does give mode-selection guidance implicitly: inline base64 for <=10 MB, HTTPS URL up to 250 MB, or omit/oversize to get a signed Upload Portal URL. It never says when to pick this tool over the sibling upload-session tools, nor what an agent should do after receiving the portal URL.

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