Skip to main content
Glama

Arcgis Lakeland Query Layer

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "arcgis_lakeland_query_layer"
  }
}

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

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds value beyond that by stating the return shape ('attribute rows (and geometry)') and the sampling pattern, though it says nothing about rate limits, server-side errors, or pagination behavior with offset.

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?

Three dense, front-loaded sentences with zero filler: purpose, parameter vocabulary, return value, and a sampling tip. Nothing is repeated unnecessarily and the action verb leads.

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 six-parameter read-only query tool with no output schema, the description covers what is returned (rows plus geometry) and how to probe a layer cheaply, which is the critical missing piece. It stops short of explaining pagination strategy across offset or how geometry affects response size, minor gaps for this complexity.

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%, so all six parameters are already documented with examples in the schema. The description merely re-lists them ('where', 'out_fields', 'order_by', 'limit', 'offset') plus the concrete '1=1' / '*' sampling combination, which is a marginal add rather than new semantics. Baseline 3 is appropriate when the schema carries the detail.

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?

States a specific verb and resource ('Query an ArcGIS Feature Service / Map Service layer') and points at the sibling that produces the required url ('from search_datasets'). It does not explicitly differentiate itself from arcgis_lakeland_count_records or arcgis_lakeland_layer_info, so an agent must infer why to pick query over count.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the query semantics and it offers one practical recipe ('Use where="1=1" + out_fields="*" to sample'), which is genuinely useful. However, there is no explicit when-to-use/when-not guidance and no named alternative such as count_records for counting or search_datasets for discovery.

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.