Skip to main content
Glama

compute_cut_fill_volume

Estimate cut/fill volume inside a polygon from enclosed elevated sample points and a base elevation.

Instructions

Estimate cut/fill volume inside a polygon from enclosed elevated sample points and a base elevation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boundary_idYes
base_elevationYes
sample_point_idsNo

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. It hints that only sample points enclosed by the polygon count, but says nothing about read-only vs. mutating behavior, required permissions, cut/fill sign convention, units, or what the computed result looks like.

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?

A single front-loaded sentence with no filler. The resource and computation are stated immediately, though terseness comes at the cost of the guidance noted above.

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?

For a 3-parameter computation with no output schema and no annotations, the description is thin: it never states return values/units, the cut vs. fill sign convention, or behavior when sample points fall outside the boundary. An agent can call it, but cannot predict its result.

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 0%, so the description must compensate, and it partially does by mapping all three parameters conceptually (polygon = boundary_id, elevated sample points = sample_point_ids, base elevation = base_elevation). It omits, however, that sample_point_ids is optional and gives no format or unit guidance for elevations.

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?

Specific verb ('Estimate') plus resource ('cut/fill volume') and a clear scope ('inside a polygon'). It does not, however, distinguish itself from the near-identical sibling compute_grid_surface_volume, so an agent must guess which volume tool applies.

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?

There is no when-to-use guidance, no prerequisites, and no mention of the competing sibling compute_grid_surface_volume. The agent can infer usage from the sentence, but nothing steers the choice between the two volume tools.

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