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, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds behavioral context beyond annotations: it mentions the return format ('returns attribute rows (and geometry)'), the SQL-like query syntax, and pagination parameters ('limit', 'offset'). This is meaningful additional information about what the tool does.

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 includes all necessary usage context without redundancy. Every phrase earns its place: the source of the URL, key parameters, return type, and a practical tip. It is concise and well-structured.

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 the complexity (6 parameters) and the absence of an output schema, the description covers the essential context: what the tool does, where the URL comes from, how to use the key parameters, and what it returns. It does not delve into error handling or output formatting, but the schema and annotations fill in details. This is a high level of completeness for a query tool.

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 description coverage is 100%, with each parameter already having a description. The description reinforces the semantics by collectively referring to them as 'SQL-like' and lists their order, but adds little beyond the schema. The sampling tip is usage guidance rather than parameter semantics. Baseline 3 is appropriate.

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 purpose: 'Query an ArcGIS Feature Service / Map Service layer by its url'. It uses a specific verb (Query) and resource (layer), and distinguishes itself from siblings by referencing search_datasets as the source of the URL. It also specifies the return type ('attribute rows (and geometry)'), which further clarifies its role.

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 gives clear context for when to use the tool: it queries a layer 'from search_datasets', implying it follows dataset discovery. It provides a practical sampling tip ('Use where="1=1" + out_fields="*" to sample') which guides usage. However, it does not explicitly mention when not to use it or alternatives like layer_info, but the context is sufficient.

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
Disambiguation3/5

The ArcGIS tools (query_layer, layer_info, search_datasets) are clearly distinct, but the Pipeworx family has heavy overlap: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and discover_tools can all appear as plausible entry points for a similar data lookup task. The memory and subscription tools are well separated, but the router-style tools create real ambiguity.

Naming Consistency4/5

Almost all tools use lowercase snake_case names with a verb-first pattern (ask_pipeworx, query_layer, subscribe, remember) or clear noun descriptors (entity_profile, layer_info, polymarket_edges). A few names are more cryptic (recall, forget, resolve_entity) but they still follow the same style. No mixed camelCase or inconsistent separators.

Tool Count2/5

34 tools is well beyond what the apparent ArcGIS Washington County purpose needs; only three tools actually concern GIS data. The rest are a broad Pipeworx research suite, memory, subscriptions, feedback, and AI-visibility probes. This makes the surface feel like two or three unrelated servers grafted together rather than one scoped package.

Completeness3/5

For the ArcGIS slice, you can discover, inspect, and query layers, but there is no write or create capability, no field-wise editing, no map/feature export, and no feature-level CRUD. The Pipeworx data side is more comprehensive, but the overall server confuses its purpose. The mixed-domain coverage leaves the GIS part only a thin slice of the offered features.