Skip to main content
Glama

ParseHub.dev (documents to records)

upload_document

Upload a PDF or Word file. content_base64 is the file bytes, and doc_type may be meeting_notes.

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": {
      "filename": "<filename>",
      "content_base64": "<content_base64>"
    },
    "name": "upload_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_typeNogeneral
filenameYes
content_base64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a mutation tool and largely drops it. It doesn't say what happens to the uploaded file, whether an existing document with the same filename is replaced, what identifier comes back, or whether the upload is durable — all critical for a write operation.

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?

Two short sentences, front-loaded with the core action, with zero padding. The size is appropriate; the weakness is under-specification rather than verbosity.

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?

With no annotations, no output schema, and 0% schema coverage, the description should do much more. Return value, storage semantics, doc_type allowed values, and file size/format constraints are all absent, leaving an agent unable to call this correctly beyond the happy path.

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 all three parameters depend on the description. It clarifies content_base64 ('the file bytes') and gives one example doc_type value ('meeting_notes'), but leaves filename undefined and never enumerates valid doc_type values or explains the 'general' default — an agent cannot know what other doc_type strings are accepted.

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 concrete verb and resource ('Upload a PDF or Word file'), which implicitly differentiates it from the sibling upload_csv (CSV) and store_document. It never names those alternatives explicitly, so an agent must infer the boundary, but the resource type restriction does real disambiguating work.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. Nothing explains how this differs from store_document or when to call extract_meeting_notes afterward, and no prerequisites (size limits, whether the file must already exist, whether it overwrites) are stated.

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