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.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds that it returns attribute rows and geometry, and suggests a sampling pattern, which gives useful behavioral context beyond the annotations without contradicting them.

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 three sentences long, front-loaded with the primary purpose, lists key parameters in a compact way, and ends with a useful tip. Every sentence earns its place with no wasted words.

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 tool's moderate complexity, the combination of description, schema, and annotations covers the core operation, parameter semantics, and return type. Some details like pagination workflow are not elaborated in the description, but the schema's offset documentation fills that gap, making this a well-rounded definition.

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 has 100% coverage with clear descriptions for every parameter. The description mostly repeats these details (e.g., 'SQL-like where', 'comma-separated out_fields') without adding significant new semantic information beyond what the schema provides, so it meets the baseline but does not exceed it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Query an ArcGIS Feature Service / Map Service layer by its url', specifying the verb and resource. It also notes the source 'from search_datasets', but does not explicitly distinguish itself from sibling tools like layer_info or search_within, so it lacks clear sibling differentiation.

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 provides context by indicating this tool is used after search_datasets and offers a practical sampling tip ('Use where="1=1" + out_fields="*" to sample'). However, it does not explicitly state when to avoid this tool or name alternatives, so it stops short of full usage guidance.

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

Multiple tools have overlapping purposes: ask_pipeworx and ask_pipeworx_beta are explicitly identical, while ask_pipeworx_grounded, deep_research, validate_claim, and entity_profile all perform data lookups with only subtle differences. discover_tools and suggest_questions also serve similar onboarding/exploration roles.

Naming Consistency4/5

Tool names are uniformly snake_case and generally follow a verb_noun or noun_phrase pattern (e.g., ask_pipeworx, query_layer, entity_profile, remember). There is a slight mix between verb-first and noun-first names but no chaotic conventions like camelCase or inconsistent verb tense.

Tool Count2/5

At 34 tools, the count is well above the typical 15-25 range for a coherent server. More critically, the server is named 'Arcgis Lakecountyil' but only 3 tools (search_datasets, layer_info, query_layer) actually relate to ArcGIS; the remaining 31 tools are a broad Pipeworx data platform, creating a severe scope mismatch that makes the count feel excessive and unfocused.

Completeness2/5

For the ArcGIS domain implied by the server name, the surface is barely complete: it offers search, schema inspection, and querying, but no create, update, delete, or management capabilities. Conversely, the Pipeworx side is relatively rich, but that doesn't match the server's stated purpose, leaving the overall set incomplete for its apparent intended use.