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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states it 'gets' information (implying read-only) and returns a string, but doesn't disclose behavioral traits like error handling (e.g., what happens if destination_id is invalid), authentication needs, rate limits, or whether the data is cached. For a read operation with zero annotation coverage, this leaves significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by structured 'Args' and 'Returns' sections. Every sentence earns its place with no redundant information, making it efficient and easy to parse.

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

Completeness4/5

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

Given the tool's low complexity (single parameter, read operation) and the presence of an output schema (which handles return values), the description is reasonably complete. It covers the purpose and parameter semantics adequately. However, without annotations, it could benefit from more behavioral context (e.g., error cases) to be fully comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaning by explaining 'destination_id' as 'ID of the destination connector to get information for', which clarifies the parameter's role beyond the schema's generic 'Destination Id' title. However, it doesn't provide format examples (e.g., UUID) or sourcing guidance. With only one parameter, this is sufficient for a high score.

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 the verb 'Get' and resource 'detailed information about a specific destination connector', making the purpose explicit. It distinguishes from siblings like 'list_destinations' (which lists multiple) and 'create/update/delete_destination_connector' (which modify). However, it doesn't explicitly contrast with 'get_source_info' or 'get_workflow_info', which have similar patterns but different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose this over 'list_destinations' for overviews, or prerequisites like needing a valid destination_id. Usage is implied by the name and purpose but not explicitly stated.

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

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