Skip to main content
Glama

measure_polygon_area_stats

Calculate polygon area totals by entity, optionally grouped by a property field, to summarize study zones.

Instructions

Summarize polygonal area by entity, optionally grouped by a property field for study zones.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_byNo
entity_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it discloses almost nothing beyond the operation itself. It does not state that the tool is read-only, does not describe the return format or aggregation behavior, and does not mention any permissions or constraints.

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 a single, front-loaded sentence with no wasted words. It efficiently conveys the core operation and the optional grouping behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, so the description should explain return values and behavioral details. It does not describe what statistics are returned (e.g., sum, count, mean), how grouping affects output, or any error conditions, leaving significant gaps for an agent invoking the tool.

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 description coverage is 0%, so the description must compensate. It meaningfully maps both parameters: 'by entity' corresponds to entity_ids, and 'optionally grouped by a property field' corresponds to group_by. However, it gives no format details, allowed property values, or clarification that entity_ids must reference polygonal entities.

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 states a specific verb ('Summarize'), resource ('polygonal area'), and scope ('by entity') with an optional grouping mode. It distinguishes itself from simple measurement siblings like measure_area by implying aggregation, but it does not explicitly name or contrast with those alternatives.

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

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no exclusions, and no mention of alternative tools such as measure_area, measure_surface_area, or compute_section_area. 'For study zones' hints at a context but does not help an agent choose between this tool and its siblings.

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

Deploy Server

Other Tools