Skip to main content
Glama

convex_hull_geojson

Draw the smallest polygon that wraps around all input features (a convex hull) — e.g. "draw a boundary around these points", "find the outer perimeter of my data", "convex hull of these locations".

Returns JSON {ok, geojson} — a single polygon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geojsonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for behavioral disclosure. It mentions the output format but does not state whether this is a read-only operation, whether it modifies the input, how errors are handled, or any prerequisites (e.g., minimum number of points). This is a notable gap for a tool with no annotation support.

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 sentences, immediately defines the core concept, gives two relatable examples, and states the return format. There is no redundancy or filler; every sentence contributes meaning.

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

Completeness3/5

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

Given the availability of an output schema (not shown), the return mention is helpful but not essential. The tool is simple, but the incomplete parameter guidance and lack of sibling differentiation leave gaps. An agent might not know precisely what GeoJSON structure to pass or why this tool is preferable to envelope_geojson, so overall it is minimally viable but incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema lists a single string parameter 'geojson' with no description, and schema coverage is 0%. The description's phrase 'all input features' hints that the value should be a GeoJSON collection of multiple features, but it does not specify the exact expected format (FeatureCollection vs GeometryCollection), coordinate order, or error handling. The description fails to compensate for the schema's lack of 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?

The description clearly states the operation: 'Draw the smallest polygon that wraps around all input features (a convex hull)' and provides concrete natural-language examples. However, it does not explicitly distinguish this tool from closely related siblings like envelope_geojson or minimum_rotated_rectangle, so it falls just short of a perfect score.

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 examples ('draw a boundary around these points', 'find the outer perimeter of my data') provide clear context for when this tool is appropriate. There is no explicit discussion of when not to use it or which alternative to choose (e.g., envelope for bounding boxes), but the intended use case is understandable.

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.