Skip to main content
Glama
kmaneesh

BioPython MCP Server

by kmaneesh

clear_entrez_cache

Clear cached Entrez query results to remove stale data and reduce API calls in the BioPython MCP Server's caching system.

Instructions

Clear cached Entrez results.

The caching system stores Entrez query results to reduce API calls and improve response times. Use this tool to clear stale cache data.

Args: database: Database name to clear (empty string clears all databases)

Returns: Dictionary containing: - success: Whether operation succeeded - cleared: Number of cache files removed - database: Database cleared (or "all" if empty string) - cache_location: Path to cache directory

Examples: >>> clear_entrez_cache() # Clear all caches >>> clear_entrez_cache("pubmed") # Clear only PubMed cache >>> clear_entrez_cache("gene") # Clear only Gene cache

Notes: - Caching is optional and controlled via use_cache parameter - Default TTL: 1 hour for searches, 7 days for fetches - Cache stored in ~/.biopython-mcp/cache/ - Cached data includes search results and summaries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kmaneesh/biopython-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server