Skip to main content
Version: 2.0

Get Tool Server API Definition

The Get Tool Server API enables you to retrieve detailed information about a specific Model Context Protocol (MCP) server registered in your Vectara account. This API provides complete visibility into server configuration, connection details, and metadata, supporting troubleshooting, monitoring, and configuration management workflows.

Development teams use this API to verify server configurations, debug connectivity issues, audit security settings, and retrieve server details for documentation or integration planning.

Get Tool Server Request and Response

To get tool server details, send a GET request to /v2/tool_servers/{tool_server_id}. You specify the following parameter:

  • tool_server_id (string, required): Tool server identifier in the URL path following pattern tsr_[0-9a-zA-Z_-]+$

The response includes the complete tool server configuration including connection details, metadata, and timestamps.

Example Request

EXAMPLE REQUEST
1

Example Response

EXAMPLE RESPONSE
1

Error Responses

The API returns standard HTTP error codes with detailed error information:

HTTP CodeError CodeDescription
401unauthorizedInvalid or missing API key
403forbiddenInsufficient permissions for accessing this tool server
404server_not_foundTool server with the specified ID does not exist
429rate_limit_exceededRequest rate limit exceeded

Usage Notes

  • Authentication details are not returned in the response for security reasons
  • Use the metadata field to track custom information about the server
  • The response can be used to verify server configuration before synchronization
  • Consider caching server details locally to reduce API calls