Skip to main content
Glama

get_credential_by_id

Retrieve credential details by ID to access stored authentication information in Alteryx Server for workflow management and data integration tasks.

Instructions

Get the details of an existing credential

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
credential_idYes

Implementation Reference

  • The core handler function that executes the tool logic by calling the Alteryx credentials API to retrieve the credential details by ID and formatting the response with pprint.
    def get_credential_by_id(self, credential_id: str): """Get the details of an existing credential.""" try: api_response = self.credentials_api.credentials_get_credential(credential_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • Registers the get_credential_by_id tool with the MCP server using the @app.tool() decorator, which delegates execution to the handler in the tools class.
    @self.app.tool() def get_credential_by_id(credential_id: str): """Get the details of an existing credential""" return self.tools.get_credential_by_id(credential_id)

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/jupiterbak/AYX-MCP-Wrapper'

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