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 readOnly, idempotent, and non-destructive behavior. The description adds useful behavioral details beyond that: it returns attribute rows (and geometry), uses SQL-like syntax, and suggests a sampling trick. It does not cover pagination details, but that is partially in the schema.

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 compact: one sentence listing capabilities and a brief usage tip. It is front-loaded with the main action and resource, contains zero filler, and every clause adds value.

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 6 parameters, full schema documentation, and strong annotations, the description covers the essential context: source, return type, and a practical example. It could optionally mention using layer_info to discover field names, but this is not critical, making 4 a fair score.

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 each parameter described. The description adds a sampling tip and clarifies the SQL-like nature, but it does not introduce new parameter-level semantics beyond what the schema already offers, so the baseline of 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 uses a specific verb ('Query') and identifies the exact resource ('ArcGIS Feature Service / Map Service layer'), including the source ('from search_datasets'). It clearly distinguishes this from sibling tools like layer_info (metadata) and search_within, making the purpose unambiguous.

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 helpful context by linking to search_datasets and gives a concrete sampling pattern ('where="1=1" + out_fields="*"'). However, it does not explicitly state when to avoid this tool or name alternatives, so it misses full when/when-not 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.9/5.0
Disambiguation5/5

All 33 tools have clearly distinct purposes, even those that seem related like ask_pipeworx, ask_pipeworx_grounded, and deep_research are well-differentiated by use case and behavior. Memory tools (remember/recall/forget) and subscription tools (subscribe/unsubscribe/list_subscriptions/recent_alerts) are similarly distinct.

Naming Consistency3/5

All tools use snake_case, but naming patterns are mixed: some are single verbs (forget, recall), some verb_noun (query_layer, search_datasets), some noun_noun (entity_profile, layer_info), and some longer phrases (polymarket_kalshi_spread, scan_competitor_ai_presence). While readable, the inconsistency makes the set feel less coherent.

Tool Count2/5

With 33 tools, the surface is overly broad for a server named after a specific ArcGIS dataset. Many tools are unrelated to the core purpose (e.g., polymarket tools, npm scanning, AI visibility), making the count feel bloated and unfocused.

Completeness2/5

For the stated ArcGIS Branson focus, only 3 tools (search_datasets, query_layer, layer_info) are relevant, offering only read access. The rest are a miscellaneous collection from the Pipeworx ecosystem and other domains, leaving obvious gaps in GIS functionality and no write or analysis capabilities.