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.5/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 the safety profile is clear. The description adds beyond annotations by stating that the tool returns attribute rows and geometry, and provides a sampling tip. This enriches the agent's understanding of behavior without contradicting the 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 the core purpose and syntax, and concludes with a practical tip. Every sentence adds value, with no filler or repetition of schema details. It is efficiently structured for quick comprehension.

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

Completeness5/5

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

Given the lack of an output schema, the description appropriately mentions that the tool returns attribute rows and geometry. It also links to search_datasets for obtaining the url, covers the key parameters, and gives a sampling pattern. With rich annotations and full schema coverage, this is sufficient for an agent to select and invoke the tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds semantic value by explaining the SQL-like nature of the 'where' parameter and by suggesting a specific combination (where="1=1" + out_fields="*") for sampling. This goes beyond the schema descriptions, justifying a 4.

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's function: 'Query an ArcGIS Feature Service / Map Service layer by its url'. The specific verb 'query' and the resource type distinguish it from sibling tools like search_datasets (for finding datasets) and layer_info (for metadata). It also mentions returning attribute rows and geometry, which further clarifies the purpose.

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?

The description implies a workflow by saying 'from search_datasets', indicating the url should come from that tool. It also gives a concrete usage tip for sampling (where="1=1" + out_fields="*"). However, it does not explicitly state when not to use this tool or name alternatives, so it falls short of a 5.

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

Many tools have overlapping or redundant purposes: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are nearly identical in routing, and several polymarket tools (polymarket_edges, polymarket_arbitrage, polymarket_fill_risk) all surface trading opportunities with similar outputs. The three ArcGIS tools are distinct but buried among dozens of unrelated data/meta tools, making selection confusing.

Naming Consistency3/5

All names use snake_case, which is consistent, but the verb/noun pattern is inconsistent. Some are verb_noun (query_layer, resolve_entity), some are noun phrases (entity_profile, polymarket_edges, recent_alerts), and some are bare verbs (recall, remember, forget, subscribe). The naming style is readable but not predictably patterned.

Tool Count1/5

34 tools is already high, but the severe issue is that only 3 of them (search_datasets, query_layer, layer_info) relate to the server's stated ArcGIS Delaware County purpose. The other 31 are Pipeworx data, memory, subscription, and prediction-market tools, which is a blatant scope mismatch. The tool count is not appropriate for the advertised server domain.

Completeness1/5

For an ArcGIS Delaware County GIS server, the surface is extremely thin: only search, query, and layer metadata exist. There are no tools for editing features, uploading data, managing layers, or exporting maps. Conversely, the Pipeworx tools form a broad but fragmented domain with many monitoring and meta-tools but no clear end-to-end workflow. The set is severely incomplete for its apparent dual purpose.