Skip to main content
Glama

Query Layer

query_layer
Read-onlyIdempotent

Query an ArcGIS Feature Service / Map Service layer by its url (from search_datasets). SQL-like where, comma-separated out_fields, order_by, limit, offset. Returns attribute rows (and geometry). Use where="1=1" + out_fields="*" to sample.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFeature/Map Service layer url ending in /FeatureServer/<n> or /MapServer/<n>.
limitNoMax features (1-2000, default 50).
whereNoSQL where clause, e.g. "STATE = 'CA' AND YEAR >= 2020". Default "1=1".
offsetNoPagination offset.
order_byNoe.g. "POP DESC".
out_fieldsNoComma-separated field names, or "*" for all (default).

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds the return format (attribute rows and geometry) and query characteristics (SQL-like where, sampling pattern), which goes beyond the annotations and helps the agent predict behavior.

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

Conciseness5/5

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

Two sentences, front-loaded with the core purpose, including key parameters and a usage tip. Every word earns its place, and the backticked parameter names improve readability.

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?

Given no output schema, the description explains that it returns attribute rows and geometry, which is essential. It also ties into the search_datasets workflow and gives a sampling pattern. It does not cover edge cases (e.g., pagination limits) but the schema covers those, and the tool is relatively simple.

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?

The input schema already has 100% coverage with descriptions for all six parameters, so the baseline is 3. The description summarizes parameter types (SQL-like where, comma-separated out_fields) but does not add significant meaning beyond the schema. The examples in the schema are more informative than the description text.

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 description clearly states the tool queries an ArcGIS Feature/Map Service layer by URL, using a specific verb and resource. It also mentions the URL comes from search_datasets, which distinguishes it from sibling tools like layer_info or search_within.

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?

It gives a clear context: use with a URL from search_datasets, and provides a concrete sampling pattern (where="1=1" + out_fields="*"). However, it doesn't explicitly exclude alternatives or state when not to use it, though the reference to search_datasets implies a workflow.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.8/5.0
Disambiguation2/5

Many tools overlap in purpose, particularly the ask_pipeworx variants (stable, beta, grounded) and deep_research, making it difficult for an agent to choose correctly. Additionally, the Arcgis-specific tools are buried under numerous general Pipeworx tools.

Naming Consistency4/5

Most tools follow a verb_noun pattern (e.g., ask_pipeworx, compare_entities), but there are minor inconsistencies like ai_visibility_check vs scan_competitor_ai_presence and the simpler Arcgis tool names.

Tool Count2/5

With 34 tools, the server is overloaded, especially since the majority are Pipeworx meta-tools unrelated to the Arcgis Lubbock purpose. A well-scoped ArcGIS server would have far fewer tools.

Completeness2/5

For an ArcGIS server, only three tools directly serve that purpose (search_datasets, layer_info, query_layer), lacking editing, analysis, or visualization capabilities. The remaining tools address a completely different domain.