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).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "limit": 50,
      +    "out_fields": "*",
      +    "url": "https://services.arcgisonline.com/arcgis/rest/services/Tallahassee/FeatureServer/0",
      +    "where": "1=1"
      +  },
      +  {
      +    "limit": 100,
      +    "order_by": "ADDRESS ASC",
      +    "out_fields": "PARCEL_ID,ADDRESS,ZONING",
      +    "url": "https://services.arcgisonline.com/arcgis/rest/services/Tallahassee/FeatureServer/2",
      +    "where": "ZONING = 'Residential'"
      +  }
      +]
  2. First observed

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, destructiveHint=false, and idempotentHint=true, so the description's role is reduced. It adds that the tool returns 'attribute rows (and geometry)', which provides useful behavioral context beyond the 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, immediately states the purpose, and includes a concise example usage. No superfluous information, making it highly efficient for an AI agent to parse.

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 has 6 parameters and no output schema, the description covers the essential query patterns. It could elaborate on the output format (e.g., structure of rows/geometry), but the examples and parameter descriptions provide sufficient context for typical usage.

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 all 6 parameters, so the baseline is 3. The description adds a brief overview and a sample, but does not significantly deepen understanding beyond what the schema already provides.

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 specifies the verb 'Query' and the resource 'ArcGIS Feature Service / Map Service layer', and explicitly ties it to the output of search_datasets. It differentiates itself from sibling tools like search_datasets by describing a specific operation on a layer URL.

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 a practical use case ('Use where="1=1" + out_fields="*" to sample') and implies the URL should come from search_datasets, guiding the agent's workflow. However, it does not explicitly state when not to use the tool or compare it to alternatives like search_within.

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

Multiple tools are near-duplicates or strongly overlapping: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are only mode/version variants, and discover_tools overlaps with suggest_questions, ai_visibility_check with scan_competitor_ai_presence, and the Polymarket tools with each other. An agent would frequently need a deep read of the descriptions to know which one is truly appropriate.

Naming Consistency4/5

The naming is almost entirely snake_case and mostly follows a verb_noun or domain_noun pattern, e.g. query_layer, list_subscriptions, resolve_entity, compare_entities. Minor deviations like entity_profile, pipeworx_feedback, and polymarket_arbitrage are noun-first, but the overall pattern is still recognizable and predictable.

Tool Count2/5

34 tools for a server branded 'Arcgis Tallahassee' is far too many, especially since only a handful of them are GIS-related. The rest constitute a large general-purpose Pipeworx data platform, which at this tool count becomes unwieldy and will increase an agent's selection failure rate.

Completeness3/5

The core read-only GIS flow is covered (search_datasets → layer_info → query_layer), and the Pipeworx side is broad. However, there are notable gaps: no ArcGIS service management, no layer/feature editing, no spatial operations, and no deeper GIS functions. Because the server's stated purpose is ArcGIS-focused, the overall surface is only partially complete relative to that domain.