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

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

Annotations already declare readOnlyHint, idempotentHint, etc. The description adds that the tool returns attribute rows and geometry, which is beyond annotations. It also clarifies default parameter values. No contradictions.

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 plus a brief tip. It is front-loaded with the core purpose, then lists parameters efficiently with no unnecessary text. Every sentence 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?

The description covers purpose, parameter hints, usage context, and return type (attributes and geometry). Missing details like geometry format or error handling, but sufficient for a simple query tool with no output schema.

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 has 100% description coverage. The description adds context by describing SQL-like where, comma-separated out_fields, and provides concrete examples. This enhances understanding beyond the individual parameter descriptions.

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 queries an ArcGIS Feature/Map Service layer by URL, specifies the source (search_datasets), and lists SQL-like parameters. This distinguishes it from siblings like search_datasets (which finds layers) and layer_info (which likely returns metadata).

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 usage after search_datasets and provides a practical sampling example. However, it does not explicitly state when not to use it or compare to alternatives like layer_info. Clear but lacks explicit exclusions.

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

While many tools have distinct purposes, there is overlap between ask_pipeworx, ask_pipeworx_grounded, and deep_research, as well as multiple Polymarket and entity-related tools. Descriptions are detailed but could confuse agents on which tool to use for a specific query.

Naming Consistency3/5

Most tool names use snake_case and many start with verbs, but there is inconsistency with noun-starting names like entity_profile, layer_info, and pipeworx_feedback. No strong verb_noun or other consistent pattern across the set.

Tool Count3/5

With 33 tools, the count is relatively high but could be justified for a broad data platform. However, given the server name 'Arcgis Sanjose', the number seems excessive as most tools are unrelated to ArcGIS geospatial functions.

Completeness2/5

The tool set is severely incomplete for the implied ArcGIS San Jose domain, with only 3 tools (search_datasets, layer_info, query_layer) supporting that purpose. The rest are from the Pipeworx ecosystem, creating a mismatch between server name and actual functionality.