Skip to main content
Glama
USGS Spatial Data Catalog MCP Server

USGS Spatial Data Catalog MCP Server

by GSA-TTS

Usgs Spatcat Search Layers

usgs_spatcat_search_layers
Read-onlyIdempotent

Search USGS spatial catalog layers by query, category, or service type, or browse with no query to retrieve layer IDs for inspection.

Instructions

Search layer names, descriptions, and tags, or browse with no query.

Use returned IDs with get_layer. Filters use API codes (e.g. WFS, FLOOD_HAZARD). Returns the upstream page, retaining pagination metadata when supplied; dataset freshness and total counts may be unknown.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "usgs_spatcat_search_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
categoryNo
service_typeNo

Output Schema

NameRequiredDescriptionDefault
dataYes
sourceYes
warningsNo
retrieved_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior, so the description only needs to add context — and it does: it warns that it returns the upstream page, retains pagination metadata when supplied, and that dataset freshness and total counts may be unknown. That data-quality caveat is valuable and not derivable from annotations.

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?

Three tight sentences: search mode first, follow-up routing second, filter/pagination caveats last. Front-loaded and waste-free, though the final sentence compresses several distinct caveats into one clause at the cost of some clarity.

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

Completeness4/5

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

An output schema exists, so return-value detail is not required, and the description still adds pagination and data-freshness caveats. For a five-parameter search tool the only meaningful omissions are the exact semantics of category vs service_type and any auth or rate-limit notes.

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

Parameters3/5

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

Schema description coverage is 0% across five parameters, so the description must carry the load. It explains what 'query' searches, notes that filters use API codes with examples (WFS, FLOOD_HAZARD), and alludes to pagination, but it never says which parameter takes which code class, nor clarifies limit/offset ranges — leaving real gaps.

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?

States a specific verb and resource ('Search layer names, descriptions, and tags') plus a second mode ('browse with no query'). It also routes the agent onward to get_layer for the returned IDs, making it distinguishable from lookup siblings without opening any schema.

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?

Gives clear usage guidance: search with a query, or browse when no query is supplied, and the next step is to call get_layer with returned IDs. It does not state when to prefer this over a broad listing sibling or when-not to use it, so it stops short of explicit exclusion guidance.

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