Skip to main content
Glama

Arcgis Lakeland Count Records

arcgis_lakeland_count_records
Read-onlyIdempotent

Count records in one City of Lakeland GIS layer found by NAME, no url needed: "how many parcels", or counts BY a field such as city ("parcels by city"). layer = name words ("parcels") or a layer url; where = SQL filter; group_by = a field name or part of one ("city"). If several layers share the name it counts each and picks none; if the word matches several fields it counts by each.

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": {
      "layer": "<layer>"
    },
    "name": "arcgis_lakeland_count_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerYesLayer name words, e.g. "parcels", or a Feature/Map Service layer url.
limitNoMax groups when group_by is set (default 100, max 1000).
whereNoSQL where clause to count a subset, e.g. "STATE = 'CO'". Default "1=1" (all records).
org_idNoOptional ArcGIS orgId to override the default publisher.
group_byNoField name, or part of one ("city"), to count records by. Omit for one total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world behavior, so the bar is lower, yet the description adds real behavioral detail: ambiguous name matches count every matching layer rather than guessing, and ambiguous field matches produce a count per matched field. That ambiguity policy is exactly the kind of context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the core action and the two modes appear first, followed by per-parameter glosses and then the ambiguity rules. The semicolon-chained parameter list is terse and one clause ('picks none') is less clear than the rest, but there is no filler.

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?

Five parameters are all covered by the schema and reinforced in prose, annotations carry the safety profile, and the ambiguity rules cover the main failure mode an agent would hit. Without an output schema, the description could say more explicitly what the response looks like when multiple layers or fields match, which is the one remaining gap.

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 coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema by explaining that layer accepts either name words or a layer URL and by spelling out the multi-match consequences of partial group_by values. The only gap is that the ambiguous phrase 'it counts each and picks none' is somewhat opaque about the returned shape.

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?

The description opens with a specific verb and resource: count records in one City of Lakeland GIS layer, with example phrasings ("how many parcels", "parcels by city") that make the operation unambiguous. It does not name the sibling it differs from (e.g., arcgis_lakeland_query_layer for fetching records), so sibling differentiation is implied rather than stated.

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 gives clear usage context, including that no URL is needed when searching by name, and shows representative queries that select counting vs. group-by mode. It does not explicitly say when to prefer this over querying a layer for actual records, so the exclusion is left to inference.

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.