Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

supporting_file_upload

Upload a supported file (JPEG, PNG, JPG, DOC, DOCX, PDF; max 20 MB) to UQPAY and return a file_id for use in other API calls.

Instructions

Upload a file to UQPAY (max 20 MB). Supported formats: jpeg, png, jpg, doc, docx, pdf. Returns a file_id for use in other API calls.

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_base64": "<file_base64>",
      "filename": "<filename>"
    },
    "name": "supporting_file_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoOptional notes to attach to the file
filenameYesFilename including extension, e.g. "passport.pdf"
mime_typeNoMIME type, e.g. "application/pdf". Defaults to "application/octet-stream".
file_base64YesBase64-encoded file content
on_behalf_ofNoSub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/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 and it does disclose real constraints: a 20 MB maximum, an enumerated set of accepted formats, and the returned file_id. It does not cover failure behavior (oversized or unsupported file), whether uploads are idempotent, or permission requirements, which matters for a write operation with zero annotation coverage.

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?

Three short sentences with no filler, and the most important facts — what it does, limits, and the return value — are front-loaded in that order.

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 an upload tool with no output schema and no annotations, the definition covers the essentials an agent needs to invoke it correctly: accepted formats, size ceiling, and the file_id return. The remaining gap is error/prerequisite behavior, which is secondary but not fully covered.

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

Parameters3/5

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

Schema description coverage is 100% across all five parameters, so the schema already documents file_base64, filename, mime_type, notes, and on_behalf_of. The format list in the description adds a constraint relevant to mime_type/filename extension, but the description says nothing about the base64 payload or sub-account scoping semantics beyond what the schema states. Baseline 3 applies.

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 opens with a specific verb+resource ("Upload a file to UQPAY") and scopes it with a size cap and format list, so an agent knows exactly what this does. It does not explicitly contrast with the only related sibling, supporting_file_get_download_links, though the upload/download verb distinction is self-evident.

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?

"Returns a file_id for use in other API calls" implies the downstream usage pattern, which is useful context for when to call it. There is no explicit guidance on when not to use it, no mention of prerequisites (e.g. auth or the on_behalf_of account scope), and no named alternative.

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

Deploy Server

Other Tools