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=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds meaningful behavioral context: it returns 'attribute rows (and geometry)', uses SQL-like where clauses, and supports pagination via limit/offset. It also hints at sampling behavior. No contradictions with 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 with the primary action front-loaded. The first sentence states the tool's core function and inputs; the second sentence provides a practical usage tip. No filler or redundant text—every word earns its place.

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?

For a 6-parameter tool with no output schema, the description covers the essential aspects: what it queries, how to obtain the URL (via search_datasets), what it returns (attribute rows and geometry), and a simple usage example. It omits details like pagination response structure or error behavior, but the schema and annotations fill most gaps. The reference to sibling usage adds context.

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%, so the baseline is 3. The description repeats parameter semantics already in the schema (e.g., 'SQL-like where', 'comma-separated out_fields'), adding no new per-parameter meaning. The sampling tip (where='1=1' + out_fields='*') is a useful combination but does not elevate semantic understanding beyond schema.

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 action: 'Query an ArcGIS Feature Service / Map Service layer by its url'. It specifies the resource type and distinguishes the tool from siblings like search_datasets (discovery) and layer_info (metadata) by focusing on returning 'attribute rows (and geometry)'. The parameter list reinforces 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 explicitly mentions that the URL comes 'from search_datasets', establishing a prerequisite workflow. The sampling tip ('Use where="1=1" + out_fields="*" to sample') provides a concrete use case. However, it does not explicitly state when to use this tool versus alternatives like layer_info or search_within, so it's clear but not exhaustive.

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

The set mixes several overlapping clusters: three ask_pipeworx variants (beta is explicitly identical to stable right now), six Polymarket tools with similar opportunity-scanning purposes, and two AI-visibility tools that duplicate each other. However, the descriptions are detailed enough that an agent can usually pick correctly, so the ambiguity is moderate rather than severe.

Naming Consistency2/5

Tool names follow no single convention — some are verb_noun (query_layer, validate_claim), some noun_noun (entity_profile, layer_info), some company-prefixed clusters (pipeworx_*, polymarket_*), and a few standalone verbs (forget, recall). While snake_case is consistent, the absence of a uniform verb_noun pattern across the set makes it unpredictable.

Tool Count2/5

At 34 tools, the server is oversized for its apparent purpose, and the count is even more problematic because most tools belong to a general Pipeworx/data platform while only 3 serve the 'Arcgis Princewilliam' GIS theme. The set feels like two unrelated servers merged, with many tools earning no clear place in a unified product.

Completeness2/5

The GIS side is a read-only stub (search, schema, and query) with no editing or feature-level retrieval, and the broader Pipeworx side has a notable dead end: tools return pipeworx:// citation URIs but no tool is provided to fetch those resources. The result is a surface that is simultaneously over-built in prediction markets and under-built in its namesake domain.