# ncbi-efetch

`station__ncbi__ncbi-efetch` · external (needs EXECUTION_BACKEND_URL configured) · domain `ncbi` · pv-relevance `pv-adjacent`

Retrieve full records for a list of NCBI UIDs in various formats.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `db` *string* (required) — Database from which to retrieve records.
- `id` *string* (required) — Comma-separated list of UIDs for which records are requested.
- `retmode` *string* — Mode of retrieval (e.g., 'text', 'xml', 'json'). Default: 'text'.
- `rettype` *string* — Format of the record (e.g., 'fasta', 'gb', 'xml', 'vcf', 'clinvarset'). Default: 'fasta'.

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__ncbi__ncbi-efetch",
    "arguments": {
      "db": "",
      "id": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/ncbi__ncbi-efetch](/tools/ncbi__ncbi-efetch) — HTML page
- [/tools/ncbi__ncbi-efetch/json](/tools/ncbi__ncbi-efetch/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
