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?

Beyond annotations (readOnly, idempotent, non-destructive), the description adds that the tool 'Returns attribute rows (and geometry)', disclosing the output format. It also gives a practical sampling tip, providing behavioral context not present in the schema or annotations.

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?

The description is two sentences, front-loaded with purpose and parameters, followed by a practical usage tip. Every word contributes value, with no filler or redundancy.

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?

With a comprehensive schema (100% coverage) and rich annotations, the description fills key gaps by stating the return type (attribute rows and geometry) and referencing the search_datasets workflow. It adequately covers the tool's behavior for a query operation, though no output schema exists.

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 coverage is 100% with descriptive parameter definitions. The description lists parameter names and some semantics (e.g., 'SQL-like where', 'comma-separated out_fields') but largely echoes schema information, adding little new meaning beyond what the schema already provides.

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 explicitly states the verb 'Query' and the resource 'ArcGIS Feature Service / Map Service layer', making the tool's function immediately clear. It distinguishes itself from siblings like search_datasets by specifying it operates on a layer URL and returns attribute rows/geometry, not dataset discovery.

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 provides contextual guidance by noting the URL comes from search_datasets, implying a typical workflow. The tip to use `where="1=1"` and `out_fields="*"` to sample gives a concrete usage scenario, though it does not explicitly name alternative tools or exclusion criteria.

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.6/5.0
Disambiguation2/5

Several tool clusters overlap heavily: ask_pipeworx and ask_pipeworx_beta are documented as functionally identical right now, and polymarket_arbitrage / polymarket_edges / polymarket_edge_tracker all surface trade opportunities with similar outputs. discover_tools and suggest_questions also cover similar 'what can I do' territory.

Naming Consistency3/5

All names are snake_case and many use verb_noun (query_layer, resolve_entity, generate_llms_txt), but a large minority use noun/adjective phrases (layer_info, recent_changes, polymarket_edges, bet_research) or bare verbs (remember, forget, recall). The pattern is readable but not fully predictable.

Tool Count2/5

34 tools is over the 25-tool threshold and deeply mismatched with the server name: only 3 of them (search_datasets, query_layer, layer_info) relate to ArcGIS Albuquerque. Most of the surface is a general-purpose Pipeworx data platform, making the set bloated and unfocused.

Completeness2/5

The advertised ArcGIS domain has only search-schema-query coverage: there is no way to list all datasets, apply spatial filters, or get service-level metadata. The Pipeworx half is feature-rich, but for the server as titled the tool surface has significant gaps and a large amount of irrelevant functionality.