Skip to main content
Glama
rcsb-pdb-protein-structures-mcp

rcsb-pdb-protein-structures-mcp

Get RCSB PDB polymer entity details

get_polymer_entity
Read-onlyIdempotent

Fetch macromolecular polymer chain details for a PDB entry, including description, organism, UniProt IDs, gene names, sequence length, and mutations.

Instructions

Fetch macromolecular polymer chain details (description, organism, UniProt IDs, gene names, sequence length, and mutations) for a PDB entry.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pdb_id": "<pdb_id>"
    },
    "name": "get_polymer_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pdb_idYes4-character RCSB PDB ID (e.g. "4HHB").
entity_idNoPolymer entity number (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety and repeatability are covered by structured data. The description adds only that the scope is a single chain within a PDB entry, leaving behavior such as what happens with an out-of-range entity_id or how multi-entity entries are handled undisclosed.

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

Conciseness4/5

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

A single front-loaded sentence with the action and resource stated first and the returned fields packed into a compact parenthetical. No filler or repetition; only mild density from the field enumeration.

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?

With no output schema, the description usefully substitutes a summary of returned fields, and annotations plus a fully documented two-parameter schema cover the rest for a simple read-only lookup. The one remaining ambiguity is whether a call returns exactly one entity or all entities of the entry, which the mention of 'polymer chain' (singular) only partially resolves.

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

Parameters3/5

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

Schema description coverage is 100%, so both pdb_id (4-character ID example) and entity_id (range 1-50, default 1) are already fully documented in the schema. The description adds no extra meaning such as the meaning of entity numbering or what entity_id=1 implies, so the baseline 3 applies.

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 uses a specific verb ('Fetch') and resource ('macromolecular polymer chain details ... for a PDB entry') and enumerates the concrete fields returned (organism, UniProt IDs, gene names, sequence length, mutations). It is clearly distinct from a generic entry lookup, though it never names or contrasts with the sibling get_pdb_entry.

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?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites (e.g. that pdb_id must exist), and no mention of the sibling get_pdb_entry or search_pdb_structures as alternatives. An agent must infer from the field list alone that this is for chain-level annotation detail rather than structure-level retrieval.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.