Skip to main content
Glama
Webcite MCP Server

Webcite MCP Server

Upload a file

upload_file

Upload PDFs, scans, images, spreadsheets, or office files to Webcite and receive an asset ID for document extraction, review, or fact-checking.

Instructions

Upload a PDF, scan, image, spreadsheet or office file to Webcite and get an asset_id for extraction or review.

Use this when you need to:

  • Verify claims against a specific document

  • Provide additional context for fact-checking

  • Upload research papers or reports for analysis

Returns a file ID you can pass as asset_id to get_source_preview, extract_document, extract_figures, classify_document and analyze_document.

Credits: 1

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_path": "<file_path>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the file to upload

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.67

TDQS

A4/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=false, so the description only needs to add context, and it does: the accepted file formats, the return value's purpose, and the cost ('Credits: 1'), which is real operational information an agent cannot get from annotations. It omits size limits, failure modes and any authentication requirement, which keeps it short of a 5.

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?

Front-loaded with the one-line purpose, then scannable bullets, then a short statement of the return value and cost. Nearly every sentence earns its place; the only mild redundancy is 'get an asset_id' followed later by 'Returns a file ID you can pass as asset_id', which restates the same fact under a different name.

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?

For a single-parameter upload tool with no output schema, the description covers purpose, trigger scenarios, the returned handle, the downstream tools that consume it, and the credit cost. Remaining gaps are operational limits (max file size, supported encodings, auth) rather than anything needed to understand the tool's role.

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% and file_path already documents 'Absolute path to the file to upload', so the baseline would be 3. The description earns an extra point by enumerating the supported formats (PDF, scan, image, spreadsheet, office file), which constrains what a valid file_path may point to – meaning the schema does not provide.

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 a specific verb and resource ('Upload a PDF, scan, image, spreadsheet or office file to Webcite') and names the concrete outcome ('get an asset_id for extraction or review'). The accepted file types and output make the tool unmistakable, though it never contrasts itself with the sibling upload_url, so an agent choosing between path-based and URL-based uploads gets no help.

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 'Use this when you need to' bullets give three concrete scenarios (verify claims against a document, add context for fact-checking, upload papers/reports for analysis). It also explains the downstream sequence by listing the tools that consume the returned asset_id. What's missing is any exclusion or prerequisite, e.g. when to prefer upload_url or whether the file must already exist locally.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.