Skip to main content
Glama
geolens-io

geolens-mcp

search_datasets

Search the GeoLens catalog by free text to find datasets matching title, description, or keywords. Returns a GeoJSON FeatureCollection of dataset records with source origin and freshness.

Instructions

Search the GeoLens catalog for datasets by free text.

Matches title, description, and keywords (semantic ranking is used automatically when the instance has it enabled). Returns a GeoJSON FeatureCollection where each feature is a dataset record; use the feature id as the dataset_id for the other tools. Each feature's properties include source_origin (upload, postgis, service, stac, created, or null) and source_freshness (fresh, due, overdue, or unknown). Freshness is advisory: due means one declared update interval has elapsed, while overdue means two have elapsed; neither proves that the content is wrong.

Search does not make a detail request per result. When the catalog summary has no health/check/refresh value, source_health, source_health_detail, last_checked_at, and last_refreshed_at are null. Call get_dataset_schema for populated trust metadata. Raw provider URLs and credentials are never included in these source-state fields.

Args: query: Search text. limit: Max results (1-200, default 10). offset: Result offset for paging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
offsetNo
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral disclosure burden, and it does so thoroughly. It explains the GeoJSON FeatureCollection return format, semantics of source_origin and source_freshness, null behavior for health fields, absence of per-result detail requests, and exclusion of credentials. This is far beyond a generic search-tool description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, and subsequent paragraphs are organized by result format, trust metadata caveats, and parameter details. The description is longer than strictly necessary for three parameters, but the extra detail on freshness and null fields is substantive and earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description fully covers inputs, output shape, property enums, null semantics, and even the follow-up tool for richer trust metadata. An agent can invoke and interpret results correctly without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the Args block is the sole parameter documentation. It provides search text semantics, a range and default for limit (1-200, default 10), and offset's basic purpose. The offset explanation is terse and could clarify paging interaction with limit, but the description does compensate for the absent schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource: 'Search the GeoLens catalog for datasets by free text.' This unambiguously distinguishes it from sibling tools like get_features, list_maps, and get_map. The additional note about using the feature id as dataset_id for other tools reinforces its role in the catalog workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use this tool: free-text search across catalog metadata, with semantic ranking mentioned. It also directs the agent to call get_dataset_schema when trust metadata is needed. However, it does not explicitly contrast search_datasets with alternatives like query or list_maps, so it lacks full when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/geolens-io/geolens'

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