We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wayfinder-Foundry/gdal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
vector.py•495 B
"""Metadata resource for vector datasets."""
from typing import Any
from src.app import mcp
from src.shared import vector
@mcp.resource("metadata://{file}/vector")
def get_vector_metadata(file: str) -> dict[str, Any]:
"""Get vector spatial properties (read-only).
Returns driver, CRS, bounds, geometry types, feature count, and field
schema. Used by AI during planning to understand dataset properties
and choose appropriate operations.
"""
return vector.info(file)