Skip to main content
Glama
Unstructured-IO

Unstructured API MCP Server

Official

get_destination_info

Retrieve detailed configuration and specifications for a destination connector by providing its unique identifier.

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 main handler function for the 'get_destination_info' tool. It is decorated with @mcp.tool() for registration and implements the logic to fetch and format destination connector information using the UnstructuredClient API.
    @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