Skip to main content
Glama
PritamPatil2603

Upstage MCP Server

extract_information

Extract structured data from documents (PDF, images, Office) with a custom extraction schema or let the system automatically determine what to extract.

Instructions

Extract structured information from documents using Upstage Universal Information Extraction.

This tool can extract key information from any document type without pre-training.
You can either provide a schema defining what information to extract, or let the system
automatically generate an appropriate schema based on the document content.

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

Args:
    file_path: Path to the document file to process
    schema_path: Optional path to a JSON file containing the extraction schema
    schema_json: Optional JSON string containing the extraction schema
    auto_generate_schema: Whether to automatically generate a schema if none is provided

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the document file to process
schema_jsonNoJSON string containing the extraction schema (optional)
schema_pathNoPath to JSON file containing the extraction schema (optional)
auto_generate_schemaNoWhether to automatically generate a schema
Behavior3/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. It discloses the auto-generation behavior, file format support, and limits. It does not discuss error handling, parameter interaction (e.g., if both schema_path and schema_json are provided), or return value format.

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?

The description is well-structured: a brief overview sentence, a paragraph explaining capabilities, and a bullet list of constraints. The 'Args:' section is somewhat redundant with the schema but provides a quick summary. One minor inefficiency: the parameter descriptions in 'Args' are nearly verbatim from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description does not explain what the tool returns (e.g., a JSON object? a string?). It covers usage and constraints well but omits return value description and fails to differentiate from the sibling tool. These are notable gaps in completeness.

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%, meaning the input schema already describes each parameter. The description adds minimal additional context, such as default values (auto_generate_schema defaults to true) and optional nature. It mostly repeats schema info, so value added is marginal.

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 clearly states 'Extract structured information from documents', providing a specific verb and resource. While it doesn't explicitly distinguish from the sibling 'parse_document', the focus on information extraction versus parsing is implied by the name and context.

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 gives useful context like supported file formats, size limits, and page limits. It explains the two modes (schema provided or auto-generated). However, it does not state when to use this tool over the sibling 'parse_document', nor does it provide any exclusions or alternatives.

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

Install Server

Other Tools

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/PritamPatil2603/upstage-mcp-server'

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