Retrieve Target Protein Sequence
Invocation
Use the exact tool name and parameter schema exposed by the current harness. Tool names in SDK examples below are raw MCP names, not model-facing aliases. Local files must be uploaded with molclaw-file-transfer before a server tool can use them. Repair PDB inputs first when the workflow requires it.
The description of tool retrieve_protein_sequence.
texRetrieve protein sequence data for a given identifier (gene name or uniprot id) and organism. Args: identifier (str): Input gene name (e.g., 'TP53') or uniprot id (e.g., 'P04637') organism (str): Required species name, e.g. "Homo sapiens" Return: status (str): success/error msg (str): message seq_info (dict): A dict containing uniprot_id, gene_name, protein_name, organism, sequence, length
How to use tool retrieve_protein_sequence :
pythonresponse = await client.session.call_tool( "retrieve_protein_sequence", arguments={ "identifier": identifier, "organism": organism } ) result = client.parse_result(response) prot_sequence_info = result["seq_info"]
An example of output sequence information:
{'uniprot_id': 'O76074', 'gene_name': 'PDE5A', 'protein_name': "cGMP-specific 3',5'-cyclic phosphodiesterase", 'organism': 'Homo sapiens', 'length': 875, 'sequence': 'MERAGPSFGQQRQQQQPQQQKQQQRDQDSVEAWLDDHWDFTFSYFVRKATREMVNAWFAERVHTIPVCKEGIRGHTESCSCPLQQSPRADNSAPGTPTRKISASEFDRPLRPIVVKDSEGTVSFLSDSEKKEQMPLTPPRFDHDEGDQCSRLLELVKDISSHLDVTALCHKIFLHIHGLISADRYSLFLVCEDSSNDKFLISRLFDVAEGSTLEEVSNNCIRLEWNKGIVGHVAALGEPLNIKDAYEDPRFNAEVDQITGYKTQSILCMPIKNHREEVVGVAQAINKKSGNGGTFTEKDEKDFAAYLAFCGIVLHNAQLYETSLLENKRNQVLLDLASLIFEEQQSLEVILKKIAATIISFMQVQKCTIFIVDEDCSDSFSSVFHMECEELEKSSDTLTREHDANKINYMYAQYVKNTMEPLNIPDVSKDKRFPWTTENTGNVNQQCIRSLLCTPIKNGKKNKVIGVCQLVNKMEENTGKVKPFNRNDEQFLEAFVIFCGLGIQNTQMYEAVERAMAKQMVTLEVLSYHASAAEEETRELQSLAAAVVPSAQTLKITDFSFSDFELSDLETALCTIRMFTDLNLVQNFQMKHEVLCRWILSVKKNYRKNVAYHNWRHAFNTAQCMFAALKAGKIQNKLTDLEILALLIAALSHDLDHRGVNNSYIQRSEHPLAQLYCHSIMEHHHFDQCLMILNSPGNQILSGLSIEEYKTTLKIIKQAILATDLALYIKRRGEFFELIRKNQFNLEDPHQKELFLAMLMTACDLSAITKPWPIQQRIAELVATEFFDQGDRERKELNIEPTDLMNREKKNKIPSMQVGFIDAICLQLYEALTHVSEDCFPLLDGCRKNRQKWQALAEQQEKMLINGESGQAKRN', 'query_input': 'PDE5A'}


