# ncbi-search-and-fetch

`station__ncbi__ncbi-search-and-fetch` · external (needs EXECUTION_BACKEND_URL configured) · domain `ncbi` · pv-relevance `pv-adjacent`

Search then fetch FASTA records in one call.

> **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 to search and fetch from (e.g., 'nucleotide', 'protein').
- `retmax` *integer* — Maximum number of records to return (default 5).
- `term` *string* (required) — Entrez text query.

## Example call

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

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

## Related

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