How to Use ArcGIS layer records in Hermes
Returns matching records and their published attributes from a public ArcGIS layer. Use it to look up zoning or flood information at a location, filter records, or retrieve a dataset in pages.
Prompts to try with ArcGIS layer records in Hermes
Copy an example into Hermes, or ask in your own words.
Monthly, use ArcGIS layer records to retrieve flood records containing downtown Houston at longitude -95.3698, latitude 29.7604, and compare the published attributes with the previous result.
Every Monday at 9am: use ArcGIS layer records to look this up and give me the result as a table.
Pull the latest numbers from ArcGIS layer records and tell me what changed since last week.
Check ArcGIS layer records and summarize what you find in three bullet points.
Pull the newest data from ArcGIS layer records and give me the result as a table.
How to set up ArcGIS layer records in Hermes
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Hermes this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Add the server and sign in
Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.
hermes mcp add spiral \ --url https://api.spiral.ai/mcp \ --auth oauth \ --connect-timeout 300
- Check it
In a chat that was already open, run /reload-mcp.
hermes mcp list hermes mcp test spiral
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run ArcGIS layer records
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "arcgis-com/gis-layers/query_layer", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Hermes finds ArcGIS layer records on Spiral, shows the price and runs it.
ArcGIS layer records providers and prices
Spiral runs ArcGIS layer records through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Hermes for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Layer | 0 to 999999 | Layer id within the service, when the URL names the service only. | |
| Limit | 1 to 200 | 25 | Rows per page; the layer's maxRecordCount may cap it lower. |
| Offset | 0 to 100000000 | 0 | Rows to skip (next_offset from the previous page). |
| Count only | on or off | Return only total_count, no rows. | |
| Distance m | 0 to 50000 | Search radius around point, in metres (default 0: features containing the point). | |
| Spatial rel | intersects, contains, within, or envelope_intersects | intersects | Relation between the features and point/bbox. |
| Return geometry | on or off | Include GeoJSON geometry per row (WGS84). |
Every API field of ArcGIS public GIS layers · Query layer is on its tool page: open its card above.
What can you do with ArcGIS layer records in Hermes?
Maintain a recurring brief on public ArcGIS datasets for a city or study area. A scheduled agent can repeat discovery and record checks, then compare returned information with earlier results.
Research zoning for a commercial site
Find the jurisdiction's zoning service, inspect its district fields, and retrieve the published zoning records around a proposed business location.
Screen locations for published flood information
Locate a public flood layer, inspect its classifications, and retrieve matching records around candidate warehouse or retail sites for an initial comparison.
Identify administrative districts
Find public boundary layers, check their geographic coverage and district fields, and look up which published boundaries contain a business or public facility.
Prepare a public land research brief
Find park or public land datasets for a study area, inspect their attributes, and assemble matching records into a brief with publisher references.
Compare replacement GIS datasets
Find candidate services for an existing map, compare their fields and coverage, and inspect sample records before choosing a replacement.
Build a regional data extract
Find a suitable public service, inspect its field definitions and record ceiling, and retrieve the required geographic subset in pages for analysis.
More on ArcGIS layer records and Hermes
Overview
ArcGIS layer records in other agents
Questions about ArcGIS layer records in Hermes
Can Hermes use ArcGIS layer records?
Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run ArcGIS layer records like any built-in tool.
How much does ArcGIS layer records cost in Hermes?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.
Do I need an Alexandria account to use ArcGIS layer records in Hermes?
No. Spiral runs ArcGIS layer records on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up ArcGIS layer records in Hermes?
About two minutes: add the server and sign in, then check it.
Does Hermes wait while ArcGIS layer records runs?
ArcGIS layer records runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.
Does ArcGIS provide complete coverage for every location?
ArcGIS hosts data from thousands of publishers, and each catalog item has its own geographic extent. Check that extent and the publisher's description for the jurisdiction you need; a search match alone does not establish complete coverage.
How can I tell how fresh an ArcGIS dataset is?
The catalog's modified timestamp dates the item, while a layer's last-edit timestamp, when exposed, dates edits to the layer. These describe different events, so an item modification alone does not establish when its records changed.
Can I retrieve every dataset matching a broad search?
ArcGIS catalog search exposes only the top 10,000 matching items through pagination. Narrow broad searches by topic, geography, or publisher before trying to inventory results.
Why can a layer query return only part of a dataset?
Each ArcGIS layer declares a maximum record count for a single query. That server-side ceiling can require retrieving records in pages rather than treating one response as the whole dataset.
Does every ArcGIS record contain a location?
ArcGIS services can contain both spatial feature layers and nonspatial tables. Feature query responses can include geometry; records from nonspatial tables do not.
Start using ArcGIS layer records in Hermes
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Hermes:
set up https://spiral.ai/SKILL.md


