Skip to main content
Glama
UpstageAI

MCP-Upstage-Server

Official
by UpstageAI

classify_document

Analyze documents to classify them into categories like invoice, receipt, contract, or custom types using AI, supporting multiple file formats up to 50MB.

Instructions

Classify a document into predefined categories using Upstage AI's document classification API.

This tool analyzes a document and classifies it into one of several predefined categories such as invoice, receipt, contract, CV, bank statement, and others. You can use the default classification schema or provide your own custom classification categories.

Supported file formats: JPEG, PNG, BMP, PDF, TIFF, HEIC, DOCX, PPTX, XLSX Max file size: 50MB Max pages: 100

DEFAULT CATEGORIES:

  • invoice: Commercial invoice with itemized charges and billing information

  • receipt: Receipt showing purchase transaction details

  • contract: Legal agreement or contract document

  • cv: Curriculum vitae or resume

  • bank_statement: Bank account statement showing transactions

  • tax_document: Tax forms or tax-related documents

  • insurance: Insurance policy or claims document

  • business_card: Business card with contact information

  • letter: Formal or business letter

  • form: Application form or survey form

  • certificate: Certificate or diploma

  • report: Business report or analytical document

  • others: Other document types not listed above

CUSTOM CATEGORIES: Simply provide an array of categories in schema_json: [ {"const": "category1", "description": "Description of category 1"}, {"const": "category2", "description": "Description of category 2"}, {"const": "others", "description": "Other"} ]

Example custom schema_json: [{"const":"medical","description":"Medical records or health documents"},{"const":"legal","description":"Legal documents"},{"const":"financial","description":"Financial statements or reports"},{"const":"others","description":"Other"}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
schema_pathNo
schema_jsonNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UpstageAI/mcp-upstage-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server