Skip to main content
Glama
Unstructured-IO

Unstructured API MCP Server

Official

get_source_info

Retrieve detailed configuration and status information for a specific data source connector in the Unstructured API system using its unique identifier.

Instructions

Get detailed information about a specific source connector.

Args: source_id: ID of the source connector to get information for, should be valid UUID Returns: String containing the source connector information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_idYes

Implementation Reference

  • The main handler function for the 'get_source_info' tool. It retrieves detailed information about a specific source connector using the UnstructuredClient's get_source_async method, formats the name and configuration, and returns it as a formatted string.
    @mcp.tool() async def get_source_info(ctx: Context, source_id: str) -> str: """Get detailed information about a specific source connector. Args: source_id: ID of the source connector to get information for, should be valid UUID Returns: String containing the source connector information """ client = ctx.request_context.lifespan_context.client response = await client.sources.get_source_async(request=GetSourceRequest(source_id=source_id)) info = response.source_connector_information result = ["Source Connector Information:"] result.append(f"Name: {info.name}") result.append("Configuration:") for key, value in info.config: result.append(f" {key}: {value}") return "\n".join(result)

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/Unstructured-IO/UNS-MCP'

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