{"agent":{"connect":{"endpoint":null,"protocol":"mcp","available":false,"reason":null,"auth":{"method":null,"required":null},"primary_tool":"protein_compare_structures","example_call":null},"id":269625,"kind":"mcp","name":"io.github.cyanheads/protein-mcp-server","description":"Federated protein structure & annotation across experimental (PDB) and predicted (AlphaFold) models.","category":"health_science","active":true,"health_status":"healthy","eval_grade":"B","eval_score":84.5,"eval_at":1795561280.749137,"trial_ok":1,"cap_tool_count":7,"first_seen":1793809779.317878,"last_ok_at":1795605578.825727,"last_check_at":1795605578.825727,"auth_method":null,"auth_observed":0,"price_usdc":0.0,"calls_30d":null,"url":"https://agentconcierge.biz/api/gateway/mcp/269625","catalog_status":"live","tools":[{"name":"protein_compare_structures","description":"Structurally align multiple structures (up to the configured batch cap; structures past it are returned in ignored) via the RCSB Structural Comparison service (TM-align / jFATCAT). reference:\"first\" aligns every structure to the first; reference:\"all_pairs\" computes the full pairwise matrix. Each pair is an independent async alignment job with per-pair partial success — a pair still computing when its poll budget or the call's 50 s budget runs out returns status \"computing\" with its job UUID, and a failed pair degrades its row without sinking the others, keeping its job UUID when the job was submitted. Re-call with a matching entry in resume[] to poll a pair's job UUID instead of resubmitting; a resumed pair reports a and b in the order its job was submitted, and a resume under a different method is rejected. Returns TM-score, RMSD, and aligned-residue count per pair, plus each structure's modeled-residue count and alignment coverage. TM-score is length-normalized and can shift sharply between structures that differ only by a terminal residue or two — the greedy superposition can settle into a worse local optimum — so read tmScore alongside rmsd, alignedResidues, modeledResidues and coverage, the columns that make such cases diagnosable.","inputSchema":{"type":"object","properties":{"structures":{"minItems":2,"maxItems":25,"type":"array","items":{"type":"object","properties":{"pdb_id":{"type":"string","minLength":1,"description":"PDB entry ID."},"chain":{"description":"mmCIF label_asym_id restricting the alignment to a single chain. Read it from polymerEntities[].labelAsymIds on the pdb://{entry_id} resource, or on protein_get_structure (source experimental), which lists an entity's first 100 chains unless all_chains is set. Author chain IDs are a different namespace — polymerEntities[].authAsymIds, what protein_get_annotations.chain takes — and are not interchangeable with this one. Case-sensitive.","type":"string"}},"required":["pdb_id"],"description":"A structure to align, by PDB entry ID with optional chain."},"description":"The structures to compare, up to the configured batch cap; structures past it are returned in ignored and not compared. A structure repeated here is compared once."},"reference":{"description":"Align all to the first structure, or compute the full pairwise matrix.","type":"string","enum":["first","all_pairs"]},"method":{"description":"Alignment algorithm: tm-align, fatcat-rigid, or fatcat-flexible.","type":"string","enum":["tm-align","fatcat-rigid","fatcat-flexible"]},"timeout_s":{"description":"Poll budget per pair in seconds before returning \"computing\". Defaults to the server setting. The whole call stops at 50 s, so that budget ends polling first once timeout_s nears 50 or there are more pairs than the server aligns at once (PROTEIN_FANOUT_CONCURRENCY): a pair it stops after submission returns \"computing\" with its uuid, and one it reaches before submission returns \"failed\".","type":"integer","minimum":5,"maximum":120},"resume":{"description":"Resume tickets from a prior call: for each pair whose labels match an entry here, poll the existing UUID instead of submitting a new alignment job. Copy a, b, and uuid verbatim from a prior response's pairs[]; keep structures, reference, and method unchanged. The order of structures may change — a resumed pair keeps the orientation its job was submitted in.","type":"array","items":{"type":"object","properties":{"a":{"type":"string","minLength":1,"description":"First structure label (entry or entry.chain) of a pair from a prior response."},"b":{"type":"string","minLength":1,"description":"Second structure label (entry or entry.chain) of a pair from a prior response."},"uuid":{"type":"string","minLength":1,"description":"Alignment job UUID returned for that pair by a prior call."}},"required":["a","b","uuid"],"description":"A prior pair to resume by UUID instead of resubmitting."}}},"required":["structures"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"method":{"type":"string","description":"Alignment method used."},"reference":{"type":"string","enum":["first","all_pairs"],"description":"Comparison mode used."},"pairs":{"type":"array","items":{"type":"object","properties":{"a":{"type":"string","description":"First structure of the pair (entry[.chain]), as the alignment job was submitted — for a resumed pair that can differ from this call's structures[] order."},"b":{"type":"string","description":"Second structure of the pair (entry[.chain])."},"status":{"type":"string","enum":["complete","computing","failed"],"description":"Outcome for this pair."},"tmScore":{"description":"TM-score (0–1; higher is more similar). Length-normalized by structure a's modeled length, so the same pair aligned b-first can score very differently (0.17 vs 0.40 for a 141- vs a 46-residue chain). It can also be sensitive to terminal length differences between the two structures — a one-residue overhang can flip the greedy superposition into a worse local optimum, dropping the score sharply. Cross-check rmsd and alignedResidues to spot such cases.","type":"number"},"rmsd":{"description":"RMSD in Å over aligned residues.","type":"number"},"similarityScore":{"description":"Raw method-specific alignment score when supplied by RCSB; not normalized across methods.","type":"number"},"sequenceSimilarity":{"description":"Sequence similarity as the upstream 0–1 fraction, when supplied.","type":"number"},"alignedResidues":{"description":"Number of aligned residue pairs.","type":"number"},"modeledResidues":{"description":"Modeled residue count per structure, ordered [a, b] to match this pair. A large gap between the two is the terminal-length asymmetry that can depress tmScore.","minItems":2,"maxItems":2,"type":"array","items":{"type":"number"}},"coverage":{"description":"Alignment coverage per structure as a 0–100 percentage of that structure's own modeled-residue count — not of the full sequence and not of the shorter structure — ordered [a, b] to match this pair. Read alongside modeledResidues: equal aligned counts give the shorter structure the higher coverage.","minItems":2,"maxItems":2,"type":"array","items":{"type":"number"}},"uuid":{"description":"Alignment job UUID: present on complete and computing pairs, and on a failed pair whose job was submitted, which a resume entry can still poll.","type":"string"},"error":{"description":"Failure detail (failed pairs).","type":"string"}},"required":["a","b","status"],"additionalProperties":false,"description":"Alignment outcome for one structure pair."},"description":"One row per aligned pair."},"pairsTotal":{"type":"number","description":"Number of pairs compared."},"computing":{"type":"number","description":"Number of pairs still computing."},"ignored":{"description":"Structures past the batch cap, never compared — repeats dropped, in input order. Re-call with them alongside the structures to compare them against (e.g. the first structure plus these, reference \"first\"). Absent when the cap dropped nothing.","type":"array","items":{"type":"object","properties":{"pdb_id":{"type":"string","description":"PDB entry ID."},"chain":{"description":"Chain, when the structure named one.","type":"string"}},"required":["pdb_id"],"additionalProperties":false,"description":"A structure past the batch cap, never compared, in the shape structures[] takes."}},"notice":{"description":"Advisory note: pairs still computing or failed (with how to resume them), structures beyond the batch cap that were ignored, and repeated structures compared once.","type":"string"},"error":{"description":"Present when the call failed. Absent on success.","type":"object","properties":{"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JSON-RPC error code for this failure."},"message":{"type":"string","description":"Human-readable description of what went wrong."},"data":{"type":"object","properties":{"reason":{"type":"string","description":"Machine-readable failure mode. Declared by this tool: `resume_pair_unmatched`: A resume entry's a/b labels don't match any pair generated from structures + reference. `no_distinct_pair`: Every entry in structures[] denotes the same structure, leaving no pair to align. `resume_method_mismatch`: A resumed alignment job completed under a different method than this call's method input. `resume_job_mismatch`: A resume entry's uuid belongs to an alignment job for a different structure pair than its a/b labels. Other values are possible when a failure originates below the handler.","examples":["resume_pair_unmatched","no_distinct_pair","resume_method_mismatch","resume_job_mismatch"]},"recovery":{"description":"Actionable next step for the caller.","type":"object","properties":{"hint":{"type":"string"}},"required":["hint"],"additionalProperties":{}},"retryable":{"description":"Whether retrying may succeed.","type":"boolean"}},"additionalProperties":{}}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false,"anyOf":[{"not":{"required":["error"]},"required":["method","reference","pairs","pairsTotal","computing"]},{"required":["error"]}]},"annotations":{"readOnlyHint":true,"openWorldHint":true}},{"name":"protein_find_similar","description":"Find structurally or evolutionarily related proteins. by:\"sequence\" runs an RCSB mmseqs2 sequence-similarity search (synchronous; experimental PDB entries only — protein_search_structures with a sequence also reaches computed models) over a sequence — supplied directly, taken from one protein entity of a PDB entry (chain picks it; by default the lowest-numbered protein entity of at least 10 residues; queryEntityId names it), or pulled from a UniProt accession (isoforms included) or entry name (HBA_HUMAN); each hit carries its identity, E-value, bit score, and aligned range. by:\"structure\" runs a Foldseek fold-similarity search (asynchronous) against experimental and predicted databases, uploading the PDB entry's mmCIF file or the accession's AlphaFold DB model, up to 16,000,000 characters; if the job is still computing when the poll budget elapses, or the call's 50 s budget runs out after Foldseek accepted the job, the response reports status \"computing\" with a ticket — re-call with ticket_id set to that value to resume the same job instead of resubmitting, and a complete response carries the same ticket so a finished job can be re-paged with a different start. Foldseek searches each chain of a multichain structure as its own query: a response covers one query (query, default 0), reports queryCount, and ranks that query's hits by score across all searched databases. Each mode reads only its own controls: sequence, chain, max_evalue and min_identity belong to by:\"sequence\"; ticket_id, databases and query belong to by:\"structure\"; pdb_id, uniprot, start and limit are shared. A field the selected mode cannot consume is rejected rather than silently ignored. A UniProt accession merged into another entry answers for its successor with a notice; a demerged or deleted one fails with its replacements. Output names the engine and database each hit came from; a structure hit also carries its Foldseek target name, and an id only where that name maps to a PDB entry or UniProt accession that protein_get_structure resolves.","inputSchema":{"type":"object","properties":{"by":{"type":"string","enum":["sequence","structure"],"description":"Similarity axis: sequence (mmseqs2) or structure (Foldseek)."},"sequence":{"description":"Protein sequence for by:sequence: at least 10 residues in A–I or K–Z (J excluded; B/O/U/X/Z accepted). Whitespace is removed and ASCII lowercase normalized.","type":"string"},"pdb_id":{"description":"PDB entry ID to derive the query from. by:\"sequence\" searches one of its protein entities (see chain); by:\"structure\" uploads its mmCIF file, up to 16,000,000 characters.","type":"string"},"chain":{"description":"Author chain ID (auth_asym_id, case-sensitive) of pdb_id selecting the protein entity whose sequence by:\"sequence\" searches, e.g. \"B\" for the beta chain of 4HHB. Requires pdb_id. Default: the lowest-numbered protein entity of at least 10 residues; DNA and RNA chains never qualify.","type":"string"},"uniprot":{"description":"UniProt identifier to derive the query from: a canonical accession (e.g. P69905), an isoform accession (e.g. P04637-2), or a UniProtKB entry name (e.g. HBA_HUMAN), which resolves to its entry’s accession. by:\"sequence\" searches its UniProt sequence, by:\"structure\" its AlphaFold DB model. A merged accession answers for its successor, with a notice.","type":"string"},"ticket_id":{"description":"Foldseek ticket ID from a prior by:structure response whose status was \"computing\". When set, polls that existing job instead of submitting a new search (by:structure only) — pdb_id/uniprot/databases are ignored.","type":"string"},"databases":{"description":"Foldseek target databases (by:structure), by exact name. Default pdb100 + afdb50. pdb100: experimental PDB entries; afdb50, afdb-swissprot, afdb-proteome: AlphaFold DB models; cath50: CATH domains of PDB chains and AlphaFold models; bfvd_v3: predicted viral proteins; mgnify_esm30, gmgcl_id: predicted metagenomic proteins; bfmd: predicted complexes.","type":"array","items":{"type":"string","enum":["afdb50","afdb-swissprot","afdb-proteome","bfvd_v3","cath50","mgnify_esm30","pdb100","gmgcl_id","bfmd"]}},"query":{"description":"Zero-based Foldseek query index (by:structure). Default 0. Foldseek splits a multichain structure into one query per chain, in file order; queryCount in the response says how many the job holds. Pass the same value with ticket_id to resume or re-page that query.","type":"integer","minimum":0,"maximum":9007199254740991},"max_evalue":{"description":"Maximum E-value (by:sequence). Default 1.","type":"number","exclusiveMinimum":0},"min_identity":{"description":"Minimum sequence identity 0–1 (by:sequence). Default 0.","type":"number","minimum":0,"maximum":1},"limit":{"description":"Maximum hits to return (1–100).","type":"integer","minimum":1,"maximum":100},"start":{"description":"Zero-based result offset. Pages a by:sequence search, and a completed by:structure job when re-called with its ticket_id.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["by"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"by":{"type":"string","enum":["sequence","structure"],"description":"Echoed similarity axis."},"engine":{"type":"string","description":"The engine that answered (e.g. \"RCSB mmseqs2\", \"Foldseek\")."},"status":{"type":"string","enum":["complete","computing"],"description":"complete with hits, or computing (async — re-call with ticket_id to resume)."},"ticketId":{"description":"Async job ticket ID (by:structure). Present while status is computing, and also on a complete response — re-call with ticket_id plus a different start/limit to page the same finished job instead of resubmitting.","type":"string"},"query":{"description":"Zero-based Foldseek query index the hits belong to (by:structure).","type":"number"},"queryCount":{"description":"Number of queries the Foldseek job holds, one per chain of the submitted structure (by:structure, complete). Valid query values run from 0 to queryCount - 1.","type":"number"},"queryLength":{"description":"Length in residues of the query sequence that queryStart and queryEnd index into on every hit (complete responses whose hits carry aligned ranges; for by:structure, the chain of the selected query).","type":"number"},"queryEntityId":{"description":"Polymer entity of pdb_id whose sequence by:\"sequence\" searched (e.g. 4HHB_1). Present only when the query came from pdb_id.","type":"string"},"hits":{"type":"array","items":{"type":"object","properties":{"id":{"description":"Hit identifier that chains directly into protein_get_structure: a bare PDB entry ID (e.g. 1A00), or a UniProt accession for a predicted model. Absent on a structure hit whose target names neither (bfvd_v3, mgnify_esm30, gmgcl_id, bfmd) — read target and database instead.","type":"string"},"target":{"description":"Foldseek target name (structure hits): the header text before the first space, as Foldseek returns it — e.g. 1crn-assembly1.cif.gz_A (pdb100), AF-P01542-F1-model_v6 (AlphaFold DB), 1cbnA00 (a cath50 domain), MGYP001043648370.pdb.gz (mgnify_esm30). Read it with database; the only handle on a hit with no id.","type":"string"},"entityId":{"description":"Matched polymer-entity ID (e.g. 1A00_1) for sequence hits; the chainable entry ID is in `id`.","type":"string"},"source":{"type":"string","enum":["experimental","predicted"],"description":"Whether the hit is an experimental or predicted structure. Structure hits are experimental for pdb100 entries and cath50 domains of PDB chains, and predicted for every other database, cath50 domains of AlphaFold models included."},"chain":{"description":"Matched chain of the PDB entry in id (structure hits). pdb100: the author chain ID (auth_asym_id) in the assembly file Foldseek indexed, with a -N suffix marking a symmetry copy (A-2) — drop the suffix before passing it as chain to protein_get_annotations. cath50: the chain of the domain, absent when CATH recorded none.","type":"string"},"score":{"description":"Ranking score. by:\"sequence\": the RCSB relevance rank within the result set, bit scores rescaled from 1 (best hit) to 0 (worst) — a rank, not a similarity measure; read identity, evalue, and bitscore for that. by:\"structure\": the Foldseek alignment bit score.","type":"number"},"evalue":{"description":"Alignment E-value.","type":"number"},"bitscore":{"description":"Alignment bit score from mmseqs2 (sequence hits); a structure hit carries its bit score as score.","type":"number"},"probability":{"description":"Estimated probability (0–1), from Foldseek, that the query and hit are homologous (structure hits).","type":"number"},"identity":{"description":"Sequence identity 0–1 over the alignment, to 4 decimal places.","type":"number"},"alignmentLength":{"description":"Alignment length in columns, gaps included.","type":"number"},"queryStart":{"description":"First aligned residue of the query, 1-based, inclusive.","type":"number"},"queryEnd":{"description":"Last aligned residue of the query, 1-based, inclusive.","type":"number"},"targetStart":{"description":"First aligned residue of the hit, 1-based, inclusive, in the sequence the search indexed for that hit — not author residue numbering. For a sequence hit that sequence is the matched polymer entity (entityId); for a structure hit, the indexed chain, model, or CATH domain.","type":"number"},"targetEnd":{"description":"Last aligned residue of the hit, 1-based, inclusive, in the same indexed sequence as targetStart.","type":"number"},"targetLength":{"description":"Length in residues of the hit sequence that targetStart and targetEnd index into.","type":"number"},"database":{"description":"Source database the hit came from (structure hits).","type":"string"},"title":{"description":"Title: the entry title (sequence hits and pdb100 structure hits), or the name of the modeled protein (AlphaFold DB and bfvd_v3 structure hits).","type":"string"},"organisms":{"description":"Source organisms. Sequence hits: those of the matched polymer entity (entityId), not the whole entry, absent when the entry metadata names none for it. Structure hits: the organism of the target from the Foldseek taxonomy, one element — absent for mgnify_esm30 and gmgcl_id, which carry no taxonomy, and for unclassified targets.","type":"array","items":{"type":"string"}},"taxId":{"description":"NCBI taxonomy ID of the organism in organisms (structure hits; present exactly when a structure hit carries organisms).","type":"number"},"uniprotAccession":{"description":"UniProt accession of the modeled protein (structure hits from AlphaFold DB, bfvd_v3, and cath50 domains of AlphaFold models). A bfvd_v3 hit carries it without an id; pass it to protein_get_annotations.","type":"string"}},"required":["source"],"additionalProperties":false,"description":"A similar protein, with alignment scores when available."},"description":"Similar proteins, best first. Structure hits are ranked by score across all searched databases (hits without a score last, ties by database then target)."},"totalCount":{"description":"Total upstream matches before pagination.","type":"number"},"start":{"description":"Zero-based offset of the returned result page.","type":"number"},"nextStart":{"description":"Offset for the next result page; absent on the final or past-end page.","type":"number"},"notice":{"description":"Advisory note: a structure job still computing, or one the call’s time budget cut off after submitting (with how to resume it), no matches, a start past the end of the results, a sequence search at RCSB’s 2,000-hit ceiling, other queries in a multichain structure job, the default protein entity a pdb_id sequence query searched alongside the entry’s other protein entities, or a merged UniProt accession answered for its successor.","type":"string"},"error":{"description":"Present when the call failed. Absent on success.","type":"object","properties":{"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JSON-RPC error code for this failure."},"message":{"type":"string","description":"Human-readable description of what went wrong."},"data":{"type":"object","properties":{"reason":{"type":"string","description":"Machine-readable failure mode. Declared by this tool: `chain_not_found`: chain names no protein polymer entity of the pdb_id entry: no such author chain, a DNA or RNA chain, or a case mismatch. `chain_without_pdb_id`: chain was supplied under by:\"sequence\" without pdb_id. `databases_rejected`: Foldseek refused the structure job submission with HTTP 400: it no longer accepts a requested database name. `inactive_accession`: UniProt lists the uniprot accession as inactive: demerged into several entries, or deleted. `invalid_accession`: uniprot is shaped like none of a canonical accession (P69905), an isoform accession (P04637-2), or a UniProtKB entry name (HBA_HUMAN). `invalid_sequence`: A raw or identifier-resolved RCSB protein sequence contains invalid residues or has fewer than 10 residues after whitespace removal, a pdb_id protein entity picked by chain or by default included. `missing_query`: None of sequence, pdb_id, or uniprot was provided. `mode_mismatched_field`: An input field only the other by mode consumes was supplied: sequence, chain, max_evalue or min_identity under by:\"structure\"; ticket_id, query or a non-empty databases list under by:\"sequence\". `no_sequence`: No query could be derived from the identifier: by:\"sequence\" found no such PDB entry, no protein polymer entity in it, or no UniProt sequence for the accession or entry name; by:\"structure\" found no UniProt entry for the entry name, or no AlphaFold DB model with a PDB-format file for the accession. `query_out_of_range`: The requested query index is not below the number of queries the completed Foldseek job holds. `search_failed`: The Foldseek search service rejected or failed the structure job. `structure_too_large`: The query structure's coordinate file is longer than 16,000,000 characters, the most this tool uploads to Foldseek. `ticket_not_found`: The supplied ticket_id was rejected by Foldseek as an invalid or expired ticket. Other values are possible when a failure originates below the handler.","examples":["chain_not_found","chain_without_pdb_id","databases_rejected","inactive_accession","invalid_accession","invalid_sequence","missing_query","mode_mismatched_field","no_sequence","query_out_of_range","search_failed","structure_too_large","ticket_not_found"]},"recovery":{"description":"Actionable next step for the caller.","type":"object","properties":{"hint":{"type":"string"}},"required":["hint"],"additionalProperties":{}},"retryable":{"description":"Whether retrying may succeed.","type":"boolean"}},"additionalProperties":{}}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false,"anyOf":[{"not":{"required":["error"]},"required":["by","engine","status","hits"]},{"required":["error"]}]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"sample":{"by":"sequence","limit":1}},{"name":"protein_get_structure","description":"Fetch structures with metadata and coordinate-file URLs. source \"experimental\" takes PDB entry IDs, and also resolves the computed-model IDs protein_search_structures returns (AF_*/MA_*), which come back marked source \"predicted\" with their modelling provider; \"predicted\" takes UniProt accessions, isoform accessions (P04637-2), or AlphaFold DB entry IDs (AF-P04637-2-F1) (AlphaFold, with pLDDT/PAE confidence); \"best_available\" takes the same identifiers, an entry ID reduced to its accession, and returns the top federated model — the PDB entry with the widest UniProt coverage, ties going to the finest resolution (coverage measures the mapped span, so the pick can be an engineered mutant over the wild-type entry), else the model with the highest confidence on the lDDT scale (pLDDT/100 or QMEANDisCo), unscored models last, which can include an experimental model outside the PDB such as a SASBDB fit; best_available records carry coverage and the UniProt span. Under predicted and best_available, a UniProt accession merged into another entry resolves to its successor's model with a notice naming the merge, and a demerged or deleted accession lands in failed[] with its replacements. Records fetched under source \"experimental\", computed models included, also carry polymer entities with both chain namespaces (labelAsymIds for protein_compare_structures, authAsymIds for protein_get_annotations; each lists an entity's first 100 chains beside its chainCount, or every chain with all_chains), bound ligands, molecular weight, and release date. Resolves up to the configured batch cap per call with per-ID partial success: IDs are trimmed and repeats looked up once, missed IDs are listed in failed[] with their reasons, and IDs beyond the cap are listed in ignored, never looked up. Upstream lookups share one time budget per call; under predicted and best_available, an ID not finished within it, or whose upstream lookup failed, lands in failed[] with a reason to re-call it. Set include_coords to inline coordinate text, held to 24000 characters per response on both surfaces: a lone selected file arrives in 24000-character windows, each giving coordinatesNextOffset to pass back as coords_offset; several selected files inline whole when they total 24000 characters or fewer, and otherwise overflow lists each file's length — re-call with sections naming one structure to page through its file. coordinateUrls always link the complete files.","inputSchema":{"type":"object","properties":{"ids":{"minItems":1,"type":"array","items":{"type":"string","minLength":1},"description":"PDB entry IDs or computed-model IDs such as AF_AFP69905F1 (source experimental); UniProt accessions, isoform accessions such as P04637-2, or AlphaFold DB entry IDs such as AF-P04637-2-F1 (predicted / best_available). Trimmed, and a repeat (case-insensitive) is looked up once."},"source":{"description":"Where to fetch: experimental (PDB), predicted (AlphaFold), or best_available (federated pick).","type":"string","enum":["experimental","predicted","best_available"]},"include_coords":{"description":"Inline coordinate text for every resolved structure — mmCIF, or PDB format when no mmCIF URL is available; coordinateFormat names which. A lone file arrives in 24000-character windows. Off by default — URLs are always returned.","type":"boolean"},"sections":{"description":"Structure IDs to inline coordinates for, in place of include_coords — from an overflow outline, or one ID to page through its file with coords_offset. Each must match the id of a structure this call resolves.","type":"array","items":{"type":"string"}},"coords_offset":{"description":"Character offset of the window to return when exactly one structure is selected (sections naming one ID, or include_coords on a one-ID call): the window is characters [coords_offset, coords_offset + 24000). Pass the coordinatesNextOffset a previous window returned.","type":"integer","minimum":0,"maximum":9007199254740991},"all_chains":{"description":"List every chain ID of each polymer entity. Off by default: authAsymIds and labelAsymIds hold an entity's first 100 chains, and chainCount its full count. Applies to source experimental; the other sources return no polymer entities.","type":"boolean"}},"required":["ids"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"structures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Structure identifier: the PDB entry ID, or the UniProt accession the model belongs to — isoform suffix kept, the accession an AlphaFold DB entry ID names, or the successor when UniProt merged the requested accession (the notice names the merge)."},"source":{"type":"string","enum":["experimental","predicted"],"description":"Whether the structure is experimental or predicted."},"pdbId":{"description":"Chosen PDB entry ID when a best_available query resolved to a PDB entry (id stays the queried UniProt accession), so the structure can be cited without parsing the coordinate URL. Absent for any other pick, including an experimental model outside the PDB such as a SASBDB fit.","type":"string"},"title":{"description":"Structure / protein title.","type":"string"},"method":{"description":"Experimental method(s).","type":"string"},"resolution":{"description":"Resolution in Å (experimental).","type":"number"},"organisms":{"description":"Source organisms: under source experimental, every distinct source organism of the entry, in entity-number order; under source predicted, the AlphaFold DB model's organism. Omitted when upstream names none, and on best_available records.","type":"array","items":{"type":"string"}},"molecularWeight":{"description":"Deposited structure molecular weight in kDa. Present only when the call used source experimental; omitted when the record does not report one.","type":"number"},"releaseDate":{"description":"Initial release date (ISO 8601). Present only when the call used source experimental; omitted when the record does not report one.","type":"string"},"polymerEntities":{"description":"Modeled polymer entities, each with both chain namespaces — authAsymIds for protein_get_annotations.chain, labelAsymIds for protein_compare_structures.chain — and chainCount. Each namespace lists an entity's first 100 chains, in RCSB order, unless all_chains is set. Present when the call used source experimental (computed-model IDs included); omitted under source predicted or best_available and for entries with none.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","description":"Polymer entity ID (e.g. 4HHB_1)."},"description":{"description":"Entity description.","type":"string"},"organisms":{"description":"Distinct source organisms of this entity — more than one for a chimera (2RH1_1: Homo sapiens, Tequatrovirus T4). Omitted when upstream names none.","type":"array","items":{"type":"[Depth limit]"}},"authAsymIds":{"description":"Author-assigned chain IDs (auth_asym_id, e.g. [\"A\",\"C\"]) — the namespace protein_get_annotations.chain takes. Every chain on pdb://{entry_id}; on protein_get_structure the first 100, in RCSB order, unless all_chains is set. Omitted when upstream does not report them.","type":"array","items":{"type":"[Depth limit]"}},"labelAsymIds":{"description":"mmCIF label_asym_id chain IDs (e.g. [\"I\",\"OB\"]) — the namespace protein_compare_structures.chain takes. Not derivable from authAsymIds: for 6QNR_9 the label chains are I/OB against author chains 82/8E. Every chain on pdb://{entry_id}; on protein_get_structure the first 100, in RCSB order, unless all_chains is set. Omitted when upstream does not report them.","type":"array","items":{"type":"[Depth limit]"}},"chainCount":{"description":"The entity's chain count, one ID per chain in each namespace — more than authAsymIds and labelAsymIds hold when protein_get_structure capped them. Omitted when upstream reports no chain IDs.","type":"number"},"sequenceLength":{"description":"Residue count of the sample sequence.","type":"number"}},"required":["entityId"],"additionalProperties":false,"description":"A modeled polymer entity (chain group), with both chain namespaces."}},"ligands":{"description":"Bound non-polymer components. Present when the call used source experimental; omitted under source predicted or best_available, when the entry binds none, or when the record carries no ligand data.","type":"array","items":{"type":"object","properties":{"compId":{"type":"string","description":"Chemical component ID (e.g. HEM)."},"name":{"description":"Chemical name.","type":"string"},"formula":{"description":"Molecular formula.","type":"string"}},"required":["compId"],"additionalProperties":false,"description":"A bound ligand (non-polymer chemical component)."}},"provider":{"description":"Model provider: the modelling provider of a predicted record, or the federated provider of a best_available pick (PDBe for a PDB entry).","type":"string"},"coverage":{"description":"Fraction (0–1) of the UniProt sequence the best_available pick's mapped span covers — the span between uniprotStart and uniprotEnd, which can include residues the model leaves unmodeled. Present only under source best_available.","type":"number"},"uniprotStart":{"description":"First UniProt residue of the best_available pick's mapped span. Present only under source best_available.","type":"number"},"uniprotEnd":{"description":"Last UniProt residue of the best_available pick's mapped span. Present only under source best_available.","type":"number"},"confidence":{"description":"Model confidence on its native scale; confidenceType names the metric and range (e.g. pLDDT 0–100, QMEANDisCo 0–1). Present for predicted models that report a score.","type":"number"},"confidenceType":{"description":"Name of the confidence metric carried in confidence (e.g. \"pLDDT\", \"QMEANDisCo\"). Providers score on different scales; this names the one in use.","type":"string"},"meanPlddt":{"description":"Mean pLDDT confidence (0–100); present only for pLDDT-scored models. For other metrics read confidence + confidenceType.","type":"number"},"confidenceBuckets":{"description":"pLDDT confidence-band fractions (predicted).","type":"object","properties":{"veryLow":{"type":"number","description":"Fraction of residues with pLDDT < 50."},"low":{"type":"number","description":"Fraction with pLDDT 50–70."},"confident":{"type":"number","description":"Fraction with pLDDT 70–90."},"veryHigh":{"type":"number","description":"Fraction with pLDDT > 90."}},"required":["veryLow","low","confident","veryHigh"],"additionalProperties":false},"paeDocUrl":{"description":"Predicted Aligned Error documentation URL (predicted).","type":"string"},"coordinateUrls":{"type":"object","properties":{"cif":{"description":"mmCIF coordinate file URL.","type":"string"},"pdb":{"description":"PDB-format coordinate file URL.","type":"string"},"bcif":{"description":"Binary CIF coordinate file URL.","type":"string"}},"additionalProperties":false,"description":"Coordinate file download URLs. A format with no published file is omitted — e.g. pdb for large entries archived as mmCIF only."},"coordinateFormat":{"description":"Format of inlined coordinates, when present.","type":"string","enum":["cif","pdb","bcif"]},"coordinates":{"description":"Inlined coordinate text: characters [coordinatesOffset, coordinatesOffset + its length) of the file coordinateFormat names. A lone selected file arrives in windows of up to 24000 characters; several selected files arrive whole only when they total 24000 characters or fewer.","type":"string"},"coordinatesOffset":{"description":"Character offset in the coordinate file where coordinates begins. Present whenever coordinates is.","type":"number"},"coordinatesNextOffset":{"description":"Offset of the next window when the file continues past coordinates — pass it as coords_offset with sections naming this structure. Absent when coordinates reaches the end of the file.","type":"number"}},"required":["id","source","coordinateUrls"],"additionalProperties":false,"description":"A resolved structure with metadata and coordinate-file URLs."},"description":"Resolved structures (metadata always present)."},"failed":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Requested ID that failed."},"reason":{"type":"string","description":"Why it failed."}},"required":["id","reason"],"additionalProperties":false,"description":"A requested ID that did not resolve, with the reason."},"description":"IDs that could not be resolved (partial success)."},"attribution":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Contributing data-source display name (e.g. \"RCSB PDB\", \"AlphaFold DB\", \"SWISS-MODEL\", \"UniProt\"). Open-ended — best_available structures are federated through 3D-Beacons providers."},"license":{"type":"string","description":"License the source data is released under (e.g. \"CC BY 4.0\")."},"citation":{"type":"string","description":"Primary-literature citation to credit the source."},"homepage":{"type":"string","description":"Source homepage (absolute URL)."}},"required":["source","license","citation","homepage"],"additionalProperties":false,"description":"Upstream data-source attribution: license, citation, and homepage."},"description":"Upstream data-source licenses and citations for every source present in structures[] — RCSB PDB for PDB entries, the providing database (AlphaFold DB, ModelArchive, SWISS-MODEL, SASBDB, …) for any other model. Always present — the attribution obligation travels with the data."},"overflow":{"description":"Present only when two or more selected coordinate files together exceed 24000 characters, the budget for one response; their coordinates are then withheld from both surfaces.","type":"object","properties":{"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Structure ID whose coordinates were withheld."},"bytes":{"type":"number","description":"Length of the structure's coordinate file in characters, the unit coords_offset counts."}},"required":["id","bytes"],"additionalProperties":false,"description":"A withheld structure and its coordinate file length."},"description":"Per-structure coordinate file lengths, for a targeted re-call."},"notice":{"type":"string","description":"How to page through one structure's coordinates with sections and coords_offset."}},"required":["sections","notice"],"additionalProperties":false},"requested":{"type":"number","description":"Number of IDs in the original request, repeats included, before de-duplication and the batch cap."},"processed":{"type":"number","description":"Number of distinct IDs looked up: a repeated ID counts once, and IDs past the batch cap are listed in ignored instead."},"resolved":{"type":"number","description":"Number of processed IDs that resolved to a structure."},"ignored":{"description":"IDs past the batch cap, never looked up — trimmed, repeats dropped, in input order. Pass them as ids in a follow-up call with the same source. Absent when the cap dropped nothing.","type":"array","items":{"type":"string"}},"notice":{"description":"Every applicable advisory joined into one string: repeated IDs counted once, batch cap, partial failures, a UniProt merge that resolved an accession to its successor, an unavailable PDB check behind a best_available pick, a computed model whose provider coordinate lookup failed (only its BinaryCIF URL listed), chain-ID lists capped at 100 per polymer entity, the re-call for the next coordinate window, a coords_offset past the end of the file, a sections entry that matched no structure, coordinate-budget overflow, and failed coordinate inlining.","type":"string"},"error":{"description":"Present when the call failed. Absent on success.","type":"object","properties":{"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JSON-RPC error code for this failure."},"message":{"type":"string","description":"Human-readable description of what went wrong."},"data":{"type":"object","properties":{"reason":{"type":"string","description":"Machine-readable failure mode. Declared by this tool: `mixed_id_types`: The batch mixes PDB IDs and UniProt accessions under a single source that cannot serve both. `all_failed`: No processed ID resolved to a structure, and at least one has none: no record, a malformed ID, or an inactive or unknown accession. data.failed carries each ID with its reason. `upstream_unavailable`: Under predicted or best_available, no processed ID resolved and none is known to lack a structure: each ID's upstream lookup failed (an error status, an HTML page, a network failure, or a request timeout) or ran out of the call's time budget. data.failed carries each ID with its reason. `coords_offset_needs_one_structure`: coords_offset is above 0 while the call selects no structure, or several, for inlined coordinates. Other values are possible when a failure originates below the handler.","examples":["mixed_id_types","all_failed","upstream_unavailable","coords_offset_needs_one_structure"]},"recovery":{"description":"Actionable next step for the caller.","type":"object","properties":{"hint":{"type":"string"}},"required":["hint"],"additionalProperties":{}},"retryable":{"description":"Whether retrying may succeed.","type":"boolean"}},"additionalProperties":{}}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false,"anyOf":[{"not":{"required":["error"]},"required":["structures","failed","attribution","requested","processed","resolved"]},{"required":["error"]}]},"annotations":{"readOnlyHint":true,"openWorldHint":true}},{"name":"protein_search_structures","description":"Search experimental (PDB) and predicted (computed-model) protein structures by free text, protein sequence (triggers an mmseqs2 similarity search), and/or organism, method, resolution, and bound-ligand filters. Returns ranked hits; the experimental page is enriched with title, method, resolution, and source organisms (for a sequence hit, those of the matched entity), and every sequence hit carries its identity, E-value, bit score, and aligned range against the query. Chain hit IDs into protein_get_structure. Optionally returns a facet breakdown (counts by method / organism / release year / …) alongside the hits in the same response. Facets count the filtered result set, so an active organism or method filter also constrains its own facet: the facet lists only the values found in the matching entries (other organisms in the same complexes, other methods deposited with the same entries), never the alternatives the filter excluded. Numeric histogram buckets (resolution, molecular weight) carry explicit rangeFrom/rangeTo bounds so a boundary label is unambiguous.","inputSchema":{"type":"object","properties":{"query":{"description":"Free-text query (protein name, gene, keyword, PDB title terms).","type":"string"},"sequence":{"description":"Protein sequence for RCSB mmseqs2: at least 10 residues in A–I or K–Z (J excluded; B/O/U/X/Z accepted). Whitespace is removed and ASCII lowercase normalized.","type":"string"},"organism":{"description":"Filter by source organism: a scientific name (\"Homo sapiens\"), an NCBI common name (\"human\", \"E. coli\"), or an NCBI taxon ID (\"9606\"), in any letter case. Matches that taxon and every taxon under it (strains, subspecies); a multi-word name also matches scientific names that contain it, such as \"Escherichia coli (strain K12)\". A word fragment (\"coli\") matches nothing.","type":"string"},"method":{"description":"Filter by experimental method: X-RAY DIFFRACTION, ELECTRON MICROSCOPY, SOLUTION NMR, SOLID-STATE NMR, ELECTRON CRYSTALLOGRAPHY, NEUTRON DIFFRACTION, FIBER DIFFRACTION, POWDER DIFFRACTION, SOLUTION SCATTERING, EPR, FLUORESCENCE TRANSFER, INFRARED SPECTROSCOPY, THEORETICAL MODEL (any letter case), or an alias: cryo-EM / cryoEM / EM → ELECTRON MICROSCOPY; X-ray / xray → X-RAY DIFFRACTION; NMR → SOLUTION NMR + SOLID-STATE NMR. Any other value is rejected. Computed models carry no method, so under content_type \"predicted\" this filter matches nothing.","type":"string"},"max_resolution":{"description":"Maximum resolution in Å (lower is sharper); applies to experimental structures.","type":"number","exclusiveMinimum":0},"ligand":{"description":"Filter by bound ligand: an exact chemical component ID (e.g. \"STI\" for imatinib, \"HEM\"), in any letter case. Keeps structures holding the component as a bound (non-polymer) copy, not as a residue inside a polymer chain. Resolve a ligand name to its ID with protein_track_ligands mode \"find_ligand\". Computed models carry no ligands, so under content_type \"predicted\" this filter matches nothing.","type":"string"},"min_identity":{"description":"Minimum sequence identity (0–1) for a sequence search. Requires sequence — supplying it without one is rejected, since the threshold filters only a sequence search. Default 0.","type":"number","minimum":0,"maximum":1},"max_evalue":{"description":"Maximum E-value for a sequence search. Requires sequence — supplying it without one is rejected, since the threshold filters only a sequence search. Default 1.","type":"number","exclusiveMinimum":0},"content_type":{"description":"Which structure universe to search: experimental (PDB), predicted (computed models), or all. With a sequence, all searches each universe on its own and merges the hits by bit score.","type":"string","enum":["experimental","predicted","all"]},"facets":{"description":"Optional dimensions to summarize as a facet breakdown alongside the hits. Each dimension at most once; repeating one is rejected.","type":"array","items":{"type":"string","enum":["method","organism","polymer_type","resolution","release_year","molecular_weight"]}},"limit":{"description":"Maximum hits to return (1–100).","type":"integer","minimum":1,"maximum":100},"start":{"description":"Zero-based result offset. Combine with limit to retrieve later pages.","type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"outputSchema":{"type":"object","properties":{"hits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Structure identifier (PDB entry ID or computed-model ID)."},"entityId":{"description":"Matched polymer-entity ID for sequence hits (e.g. 4HHB_1, AF_AFP69905F1_1); id remains the chainable entry ID.","type":"string"},"source":{"type":"string","enum":["experimental","predicted"],"description":"Which universe the hit came from."},"score":{"description":"RCSB relevance score, a rank within its own search rather than a similarity measure. With a sequence, each universe is searched on its own, so the score ranks a hit within its own universe only; a sequence hit's similarity is in identity, evalue, and bitscore.","type":"number"},"identity":{"description":"Sequence identity 0–1 over the alignment, to 4 decimal places (sequence hits).","type":"number"},"evalue":{"description":"Alignment E-value against its own universe's sequence database, so compare hits across universes by bitscore (sequence hits).","type":"number"},"bitscore":{"description":"Alignment bit score (sequence hits).","type":"number"},"alignmentLength":{"description":"Alignment length in columns, gaps included (sequence hits).","type":"number"},"queryStart":{"description":"First aligned residue of the query, 1-based, inclusive (sequence hits).","type":"number"},"queryEnd":{"description":"Last aligned residue of the query, 1-based, inclusive (sequence hits).","type":"number"},"targetStart":{"description":"First aligned residue of the hit, 1-based, inclusive, in the matched entity's sequence — not author residue numbering (sequence hits).","type":"number"},"targetEnd":{"description":"Last aligned residue of the hit, 1-based, inclusive, in the same entity sequence as targetStart (sequence hits).","type":"number"},"targetLength":{"description":"Length in residues of the entity sequence that targetStart and targetEnd index into (sequence hits).","type":"number"},"uniprotAccession":{"description":"UniProt accession parsed from a computed-model ID, when available.","type":"string"},"title":{"description":"Structure title (enriched experimental hits).","type":"string"},"method":{"description":"Experimental method(s) (enriched experimental hits).","type":"string"},"resolution":{"description":"Resolution in Å (enriched experimental hits).","type":"number"},"organisms":{"description":"Source organisms (enriched experimental hits): for a sequence hit, those of the matched entity (entityId); otherwise every distinct source organism of the entry, in entity-number order. Omitted when unknown, including a sequence hit whose matched entity the entry's metadata lacks.","type":"array","items":{"type":"string"}}},"required":["id","source"],"additionalProperties":false,"description":"A ranked structure hit with optional enrichment metadata."},"description":"Ranked structure hits."},"queryLength":{"description":"Length in residues of the query sequence that every hit's queryStart and queryEnd index into (sequence searches whose hits carry an alignment).","type":"number"},"facets":{"description":"Optional facet breakdown when requested — one flat dimension per requested facet. Cross-tabs (a dimension nested inside another) are protein_analyze_collection territory.","type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","description":"Friendly dimension name (e.g. method, organism, release_year)."},"buckets":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"Bucket value — category, numeric bin start, or period."},"count":{"type":"number","description":"Number of entries in the bucket."},"rangeFrom":{"description":"Inclusive lower bound of a numeric histogram bin (= label). Present only for numeric facets (resolution, molecular_weight); absent for term/period facets.","type":"number"},"rangeTo":{"description":"Exclusive upper bound of a numeric histogram bin (rangeFrom + bin interval), so the bin covers [rangeFrom, rangeTo). Present only for numeric facets.","type":"number"}},"required":["label","count"],"additionalProperties":false,"description":"A leaf aggregation bucket: a value and its entry count."},"description":"Aggregation buckets, count-descending for terms."},"truncated":{"description":"True when buckets were capped by the per-dimension bucket limit.","type":"boolean"},"missingValueCount":{"type":"number","description":"Matches in scope that carry no value for this attribute, so they count toward the response total but fall in no bucket (e.g. computed models have no experimental method; solution-NMR entries have no diffraction resolution). Independent of truncation — measured before the bucket cap is applied. 0 means no shortfall was detectable: a multi-valued attribute such as organism can place one match in several buckets, which offsets the shortfall rather than adding to it."}},"required":["dimension","buckets","missingValueCount"],"additionalProperties":false,"description":"A facet dimension and its aggregation buckets."}},"totalCount":{"type":"number","description":"Total matches upstream before pagination."},"start":{"type":"number","description":"Zero-based offset of the returned page."},"nextStart":{"description":"Offset for the next page; absent on the final or past-end page.","type":"number"},"effectiveQuery":{"description":"Echoed text query for follow-up calls.","type":"string"},"notice":{"description":"Advisory note (empty results, predicted-search caveats, truncation, facet dimensions whose buckets cover materially less than totalCount, a universe a sequence search left out because its search failed, a sequence search at RCSB's 2,000-hit ceiling). Carries every applicable advisory in one string.","type":"string"},"error":{"description":"Present when the call failed. Absent on success.","type":"object","properties":{"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JSON-RPC error code for this failure."},"message":{"type":"string","description":"Human-readable description of what went wrong."},"data":{"type":"object","properties":{"reason":{"type":"string","description":"Machine-readable failure mode. Declared by this tool: `invalid_sequence`: The RCSB protein sequence contains invalid residues or has fewer than 10 residues after whitespace removal. `no_criteria`: No query, sequence, organism, method, maximum resolution, or ligand was provided — nothing to search on. `unknown_method`: method is neither one of the 13 RCSB experimental methods nor an accepted alias, so it could only ever match nothing. `sequence_modifier_without_sequence`: min_identity or max_evalue was supplied with no sequence, so the threshold would never reach a sequence search. `duplicate_dimension`: facets lists the same dimension twice, which would return that breakdown twice. Other values are possible when a failure originates below the handler.","examples":["invalid_sequence","no_criteria","unknown_method","sequence_modifier_without_sequence","duplicate_dimension"]},"recovery":{"description":"Actionable next step for the caller.","type":"object","properties":{"hint":{"type":"string"}},"required":["hint"],"additionalProperties":{}},"retryable":{"description":"Whether retrying may succeed.","type":"boolean"}},"additionalProperties":{}}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false,"anyOf":[{"not":{"required":["error"]},"required":["hits","totalCount","start"]},{"required":["error"]}]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"sample":{"limit":1}},{"name":"protein_track_ligands","description":"Ligand discovery and binding-site analysis across the PDB. mode \"find_ligand\" resolves a name or formula to chemical component IDs with metadata (formula, weight, SMILES), ranked by deposition frequency — most-deposited component first, so the top hit is the most common match for the name, not necessarily an exact name-string match. The ranking runs in blocks of max(limit, 25) candidates in RCSB's name-match order: start pages through the ranked blocks (keep limit fixed while paging), and totalCount and candidatesConsidered report how many components matched and how many the page ranked. mode \"structures_with_ligand\" returns PDB entries holding a bound copy of a ligand (by exact component ID — get the ID from find_ligand first), highest-resolution first, each with its resolution in Å, title, method, and the polymer entities whose chains carry the ligand. This mode and find_ligand's depositionCount count bound copies only: a component present only as a residue inside a polymer chain (e.g. MSE in a selenomethionine protein) or a sugar inside a branched glycan is not counted. mode \"binding_site\" returns the polymer residues lining a ligand's pocket in a given structure — amino acids, or nucleotides where the ligand binds DNA or RNA — with contact distances, each numbered in both the mmCIF label namespace (asymId, seqId) and the author namespace (authAsymId, authSeqId) used by deposited coordinates and most literature. Binding sites are experimental-only (computed from deposited coordinates; predicted models carry no bound ligands) and cover non-polymer ligands only: a peptide-like ligand deposited as a polymer chain (a BIRD molecule such as cyclosporin A in 1CWA) has none, and a miss names the components and polymer-chain ligands the entry does hold.","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["find_ligand","structures_with_ligand","binding_site"],"description":"Operation: resolve a ligand, find structures containing it, or analyze its binding site."},"query":{"description":"Ligand name or formula (mode find_ligand).","type":"string"},"comp_id":{"description":"Exact chemical component ID (modes structures_with_ligand and binding_site).","type":"string"},"pdb_id":{"description":"PDB entry ID (mode binding_site).","type":"string"},"limit":{"description":"Maximum results to return (1–100).","type":"integer","minimum":1,"maximum":100},"start":{"description":"Zero-based result offset: find_ligand pages its ranked candidates, structures_with_ligand its entries, binding_site its ligand instances.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["mode"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["find_ligand","structures_with_ligand","binding_site"],"description":"Echoed mode."},"ligands":{"description":"Resolved chemical components (find_ligand).","type":"array","items":{"type":"object","properties":{"compId":{"type":"string","description":"Chemical component ID (e.g. STI, HEM)."},"name":{"description":"Chemical name.","type":"string"},"formula":{"description":"Molecular formula.","type":"string"},"formulaWeight":{"description":"Formula weight in Da.","type":"number"},"smiles":{"description":"Isomeric SMILES.","type":"string"},"inchikey":{"description":"InChIKey.","type":"string"},"type":{"description":"Component type (e.g. non-polymer).","type":"string"},"depositionCount":{"type":"number","description":"Number of PDB entries holding a bound (non-polymer) copy of this component — the totalCount structures_with_ligand reports for it. Entries where it occurs only as a residue inside a polymer chain or a sugar inside a branched glycan are not counted. Candidates are ranked by this value, most-deposited first."}},"required":["compId","depositionCount"],"additionalProperties":false,"description":"A resolved chemical component (ligand) and its identifiers."}},"structures":{"description":"PDB entries holding a bound (non-polymer) copy of the ligand, highest-resolution first (structures_with_ligand).","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"PDB entry ID holding a bound copy of the ligand."},"resolution":{"description":"Best reported resolution in Å (absent for methods without one, e.g. NMR).","type":"number"},"title":{"description":"Structure title. Omitted when unreported.","type":"string"},"method":{"description":"Experimental method(s), comma-joined. Omitted when unreported.","type":"string"},"hostEntities":{"description":"Polymer entities whose author chains carry an instance of the ligand, in entity-number order. The chain assignment is the depositor's, so a ligand at a subunit interface lists only its assigned chain's entity — use mode binding_site for the residues it contacts. Omitted when no polymer chain carries an instance.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","description":"Polymer entity ID (e.g. 3K5V_1)."},"description":{"description":"Entity description (e.g. Tyrosine-protein kinase ABL1).","type":"string"},"organisms":{"description":"Distinct source organisms of the entity. Omitted when upstream names none.","type":"array","items":{"type":"[Depth limit]"}}},"required":["entityId"],"additionalProperties":false,"description":"A polymer entity carrying an instance of the ligand."}}},"required":["id"],"additionalProperties":false,"description":"A PDB entry holding a bound copy of the ligand: its resolution, title, method, and host entities."}},"bindingSites":{"description":"Ligand instances and their pocket residues (binding_site), in a fixed order — ligands by entity number, then the instances of each ligand by author chain and author residue number — so start/limit pages read every instance exactly once.","type":"array","items":{"type":"object","properties":{"ligandCompId":{"type":"string","description":"Bound ligand chemical component ID."},"ligandAsymId":{"description":"Author chain ID (auth_asym_id) of the ligand instance — the author namespace, unlike residues[].asymId.","type":"string"},"ligandAuthSeqId":{"description":"Author residue number (auth_seq_id) of the ligand instance.","type":"number"},"residues":{"type":"array","items":{"type":"object","properties":{"residueCompId":{"type":"string","description":"Interacting residue type: an amino acid (e.g. ASP) or a nucleotide (e.g. DA)."},"asymId":{"type":"string","description":"mmCIF label_asym_id of the residue's chain (label namespace, paired with seqId). Can differ from authAsymId."},"seqId":{"description":"mmCIF label_seq_id: position in the entity sequence (label namespace). Not the deposited residue number; see authSeqId.","type":"number"},"authAsymId":{"description":"Author chain ID (auth_asym_id) of the residue's chain, as deposited and as most structure viewers label it.","type":"string"},"authSeqId":{"description":"Author residue number (auth_seq_id), as deposited and as most literature and viewers number it. Related to seqId by no fixed offset; insertion codes are not reported.","type":"number"},"distance":{"description":"Contact distance to the ligand in Å.","type":"number"}},"required":["residueCompId","asymId"],"additionalProperties":false,"description":"A pocket residue in contact with the ligand, in both numbering namespaces."},"description":"Polymer residues lining the pocket, nearest first: amino acids, or nucleotides where the ligand binds DNA or RNA."}},"required":["ligandCompId","residues"],"additionalProperties":false,"description":"A ligand instance and the polymer residues lining its pocket."}},"totalCount":{"description":"Total upstream matches before any local narrowing: PDB entries holding a bound (non-polymer) copy of the component (structures_with_ligand), chemical components matching the query (find_ligand), or ligand instances with pocket contacts (binding_site).","type":"number"},"candidatesConsidered":{"description":"Chemical components the find_ligand page ranked by deposition frequency: the one or two blocks of max(limit, 25) name matches holding the page. Below totalCount when the matches run past those blocks; the ranking then covers only these candidates.","type":"number"},"start":{"description":"Zero-based offset of the result page.","type":"number"},"nextStart":{"description":"Offset for the next page; absent on the final or past-end page.","type":"number"},"resolvedCompId":{"description":"The chemical component ID used to query.","type":"string"},"notice":{"description":"Advisory note: a find_ligand page whose ranked blocks hold fewer candidates than the upstream match count, or whose start is past the end; a structures_with_ligand page that is empty because no entry holds a bound copy of the component (saying whether the ID is a chemical component at all) or because start is past the end; or a binding_site page that leaves instances for a later start or starts past the last instance.","type":"string"},"error":{"description":"Present when the call failed. Absent on success.","type":"object","properties":{"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JSON-RPC error code for this failure."},"message":{"type":"string","description":"Human-readable description of what went wrong."},"data":{"type":"object","properties":{"reason":{"type":"string","description":"Machine-readable failure mode. Declared by this tool: `missing_param`: The mode-specific required input is absent: query (find_ligand), comp_id (structures_with_ligand), or pdb_id (binding_site). `not_found`: No chemical component matched the find_ligand query; or, in binding_site, no ligand instance has pocket contacts: RCSB has no current entry under pdb_id, the entry is a computed model, or it holds no bound copy of comp_id with contacts. Other values are possible when a failure originates below the handler.","examples":["missing_param","not_found"]},"recovery":{"description":"Actionable next step for the caller.","type":"object","properties":{"hint":{"type":"string"}},"required":["hint"],"additionalProperties":{}},"retryable":{"description":"Whether retrying may succeed.","type":"boolean"}},"additionalProperties":{}}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false,"anyOf":[{"not":{"required":["error"]},"required":["mode"]},{"required":["error"]}]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"sample":{"mode":"find_ligand","limit":1}}],"tools_withheld":0,"usage_guide":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/269625","tools_ref":"agent.tools"},"test_reports":[],"test_report":null,"report_count":0,"usage_endpoint":"https://agentconcierge.biz/api/gateway/mcp/269625","connection_available":false,"price_status":"free","price_atoms":0,"agent_ref":"ag_1b4176e7d8c0fdfcb7ac2ef81a3d79fb","connection_profile_version":"mcp-stateless-v1","gateway_ready":false,"connection_readiness":{"profile_available":true,"verified_callable":false,"reason":"expired","verified_at":null,"evidence_scope":"execution"},"capability_contracts":[],"verification":{"level":"unverified","reachable":false,"callable":false,"task_tested":false,"as_of":null,"method":"https://agentconcierge.biz/methodology"}},"sponsored":[{"id":"house-agent-value-v1","kind":"house","label":"Advertisement","advertiser":"AgentValCon","title":"Revenue for your agent's useful work","text":"Paid Pearl Necklace runs cost 0.01 USDC per slot; half goes to the verified creators of the agents that answered.","click_url":"https://agentconcierge.biz/agents/earn","auto_execute":false,"reward":null,"why_shown":"AgentValCon service information; no eligible advertiser placement.","facts":{"grade":null,"report_score":null,"report_url":null,"report_signature":null,"data_at":null,"health_7d":null,"independent":true,"note":"Measured by AgentValCon; advertising cannot change it."},"sponsored":true,"disclosure":{"sponsored":true,"paid_placement":false,"affects":{"ranking":false,"selection":false,"test_results":false},"statement":"AgentValCon house advertisement. Advertising does not affect ranking, selection or test results.","policy_url":"https://agentconcierge.biz/ads/library","policy_json":"https://agentconcierge.biz/ads/library.json","advertise_url":"https://agentconcierge.biz/advertise","advertise_api":"POST https://agentconcierge.biz/api/ad-coin/v2/sponsor","house":true},"url":"https://agentconcierge.biz/agents/earn"}]}