Skip to content

v1.6.0

Latest

Choose a tag to compare

@mathieumaf mathieumaf released this 05 Nov 10:50
1a92c2e

Minor Changes

  • #130 dc7eba3 Thanks @mathieumaf! - All 14 tools now advertise a human-readable title and MCP tool annotations (readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true) via registerTool(). MCP clients can show friendlier tool names and let users auto-approve these read-only calls instead of confirming each one.

  • #131 3edd454 Thanks @mathieumaf! - SimapClient: retry transient simap failures (HTTP 408 / 429 / 5xx and network errors) up to 2 times with exponential backoff and jitter, honouring Retry-After, so a brief simap hiccup no longer surfaces as a tool error. Client errors, invalid responses and timeouts still fail immediately.

Patch Changes

  • #132 d66011d Thanks @mathieumaf! - - list_cantons, list_institutions, search_{cpv,bkp,npk,oag}_codes, browse_{cpv,bkp,npk,oag}_tree: responses are now cached in memory for 24 hours. This reference data rarely changes, so repeated lookups return instantly and no longer use up the 60 requests/minute budget that tender searches need. Tender and organization lookups (search_tenders, get_tender_details, search_proc_offices, get_publication_history) are not cached. The cache is cleared when the server restarts.
    • SimapClient.get(): new opt-in cacheTtlMs option backed by ResponseCache (capped at 500 entries, least recently used evicted first). Concurrent identical requests share one upstream call, and errors are never cached.