cmr_local_python
In-process Python wrapper around NASA's open CMR collections + granules REST API. Exposes search_collections, get_collection_metadata, and get_granules as plain Python callables. The agent imports them directly — no MCP server to host, no API key, no Bearer token. The only network egress is to https://cmr.earthdata.nasa.gov itself.
CALL SCHEMA
JSON Schema — what methods it exposes{"type": "object","properties": {"get_granules": {"type": "object","description": "List granules within a given collection, with optional temporal filter."},"search_collections": {"type": "object","description": "Keyword + temporal + spatial-bbox search of CMR collections."},"get_collection_metadata": {"type": "object","description": "Full metadata for a CMR collection by concept ID."}}}
methodsget_granulessearch_collectionsget_collection_metadata
INSTALL
pick your runtime — only the tabs this tool actually supportslosslessDrop into your Python file's tools=[…] list. The rendered snippet is `from <import_path> import <fn>` — no MCP, no HostedMCPTool, just a Python import.
# 1 · install the SDK (if you don't have it yet)pip install openai-agents# 2 · pull the per-tool Python snippet and import from your agentcurl -sL https://agentarium.science/t/cmr_local_python/v/1.0.0.openai-agents.py \-o cmr_local_python_tool.py# then in your agent: from cmr_local_python_tool import TOOLS as cmr_local_python_TOOLS
BUNDLED SOURCE
Python module the agent imports directly — no MCP serverThis is the exact code your agent runs. The .openai-agents.py install artifact for any agent that requires this tool emits a from agentarium_cmr_local.search import … line referencing this module — install via pip install agentarium-cmr-local.
RECENT HEALTH CHECKS
registry pings this endpoint every ~5 min · last ~0 shownNo checks recorded yet.