Skip to main content
Glama
elephant-xyz

Elephant MCP Server

by elephant-xyz

Sum property value in an area

sumPropertyValueInArea

Calculate the exact total property value within any bounding box or polygon, with null values counted as 0. Returns the summed value and in-area property count for area-based assessments.

Instructions

Returns the exact sum of avm_value over the properties whose centroid falls inside a user-supplied bounding box or polygon, plus the in-area count. Null valuations are treated as 0. Provide exactly one of bbox or polygon. Reads the per-county property query table (falls back to the derived geo index).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bboxNoUser-supplied bounding box of coordinates
countyNoCounty whose data to read (case-insensitive). Optional: when the deployment serves a single/default county it is inferred; otherwise names which county's query table to search.
polygonNoUser-supplied polygon ring of coordinates

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations available, the description carries the full behavioral disclosure burden. It adds meaningful traits beyond the schema: null valuations are treated as 0, the result includes a count, and the tool reads from a per-county property query table with a fallback to a derived geo index. It does not detail error behavior or output type, but the core behavioral expectations are covered.

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 senences with no filler, front-loading the core return value and geometry contract. The null-handling and data-source notes are useful and compactly stated.

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 no output schema, the description adequately states what is returned: the sum and the in-area count. It also covers key input constraints, null behavior, and fallback behavior. It does not mention edge cases such as empty result sets or invalid polygons, but the core information needed for correct invocation is present.

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 the baseline is 3, but the description adds non-obvious parameter semantics: exactly one of bbox or polygon must be used, and the geometry filter is based on centroid fallback rather than arbitrary overlap. It also clarifies that the county parameter may be inferred in single-county deployments.

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 states a specific verb and resource: it returns the exact sum of avm_value over properties whose centroid falls inside a user-supplied bounding box or polygon, plus the in-area count. This clearly separates it from sibling tools like findPropertiesInArea or queryProperties, which are oriented toward finding or listing properties rather than aggregating values.

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 instructs the agent to provide exactly one of bbox or polygon, which is essential for correct use. It also clarifies the centroid-containment rule and the read path. It does not explicitly name alternatives or state when not to use this tool, but the aggregation purpose makes the intended context reasonably clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.