Skip to main content
Glama
Unstructured-IO

Unstructured API MCP Server

Official

get_destination_info

Retrieve detailed information about a specific destination connector by providing its ID. Use this tool to access and manage connector configurations within the Unstructured API MCP Server.

Instructions

Get detailed information about a specific destination connector.

Args: destination_id: ID of the destination connector to get information for Returns: String containing the destination connector information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destination_idYes

Implementation Reference

  • The handler function implementing the get_destination_info tool. It fetches detailed information about a destination connector using the UnstructuredClient and formats it as a string. The @mcp.tool() decorator registers it as an MCP tool.
    @mcp.tool() async def get_destination_info(ctx: Context, destination_id: str) -> str: """Get detailed information about a specific destination connector. Args: destination_id: ID of the destination connector to get information for Returns: String containing the destination connector information """ client = ctx.request_context.lifespan_context.client response = await client.destinations.get_destination_async( request=GetDestinationRequest(destination_id=destination_id), ) info = response.destination_connector_information result = ["Destination 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