Skip to main content
Glama
PDBj Japan Protein Structures MCP

PDBj Japan Protein Structures MCP

Query PDBj structures with SQL

query_pdbj_structures_sql
Read-onlyIdempotent

Run read-only SELECT SQL queries against PDBj brief_summary or Mine2 databases to retrieve protein structure records and metadata without modifying data.

Instructions

Run a read-only SELECT SQL query against the PDBj brief_summary or Mine2 database.

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": {
      "sql": "<sql>"
    },
    "name": "query_pdbj_structures_sql"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYesRead-only SELECT statement such as "select pdbid, struct_title from brief_summary limit 5".
limitNoMaximum rows to return (1 to 50, default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaningful context beyond that: queries are restricted to SELECT statements and to the brief_summary or Mine2 tables specifically. It does not mention cost, rate limits, or error behavior on invalid SQL.

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

Conciseness5/5

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

A single sentence with zero filler; the operation, its read-only nature, and the permitted databases are all front-loaded. Nothing could be removed without losing information.

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?

For a two-parameter query tool with rich annotations and fully described schema, the description covers the main unknown an agent must resolve: which databases are addressable. With no output schema, it could usefully note that results are raw rows whose columns depend on the query, but that is a minor gap for a SQL tool.

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 the sql and limit parameters are already documented in the schema, including an example statement and the 1–50 row range. The description adds table-scope meaning (brief_summary vs Mine2) that helps shape a query, but nothing about SQL dialect or column availability. 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?

States a specific verb and resource — run a read-only SELECT query against PDBj's brief_summary or Mine2 database — and names the exact queryable tables. It does not explicitly contrast itself with siblings such as search_pdbj_by_keyword, though the SQL framing implicitly separates it from those tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the read-only SELECT constraint and the two named databases, giving an agent a reasonable sense of when this raw-query tool applies. However, there is no explicit statement of when to prefer this over the keyword search or structured-fetch siblings, and no exclusions or prerequisites.

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