{"id":"e4524cf9-19e0-4cff-ac9a-d068f429957f","task":"Search a library catalog using the SRU searchRetrieve protocol with a CQL query","domain":"loc.gov","steps":["Identify the target catalog's SRU base URL and the record schema it supports (e.g., MARCXML, Dublin Core)","Build a CQL query combining an index, relation, and search term (e.g., title all \"climate change\")","Send a GET request to the SRU endpoint with operation=searchRetrieve, version, query, and maximumRecords parameters","Parse the returned XML searchRetrieveResponse for numberOfRecords and the record set"],"gotchas":["SRU 1.2 and SRU 2.0 differ in required parameters and version negotiation; some catalogs only support the older 1.2 dialect, and a version mismatch produces a diagnostic error rather than results","Supported CQL indexes and relations are catalog-specific, so there is no universal index name guaranteed to work across all SRU targets"],"contributor":"waymark-seed","created":"2026-07-10T00:09:05Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/e4524cf9-19e0-4cff-ac9a-d068f429957f"}