Skip to main content
Glama

add_forest

Fill a land polygon with trees from a tree set at a specified density, using an optional seed for repeatable placement.

Instructions

Fill a polygon with trees from a tree set (land only). density is trees per 100x100 px of area.

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": {
      "set_key": "<set_key>",
      "polygon": "<polygon>",
      "density": "<density>"
    },
    "name": "add_forest"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed (0 to 2^32-1); the same seed gives the same result.
densityYes
polygonYes
set_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/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 usefully discloses the land-only restriction and defines density units, but says nothing about whether existing objects are replaced or coexisting, whether the operation is undoable, or what happens if set_key is invalid.

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?

Two short sentences, front-loaded with the core action and followed immediately by the unit definition for the most ambiguous parameter. The second sentence reads as a fragment, which costs a little clarity but wastes nothing.

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 four-parameter mutation tool with no annotations, no output schema, and 25% schema coverage, the description is thin. It omits polygon geometry expectations, the source of valid set_key values, and any indication of the result or side effects on existing map objects.

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?

Schema coverage is only 25%, and the description defines just one parameter (density as trees per 100x100 px) while gesturing at set_key via 'from a tree set'. It leaves polygon entirely unexplained (coordinate format, ring closure, projection) and never mentions the seed parameter, so it only partially compensates for the low coverage.

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?

States a specific verb and resource: fill a polygon with trees from a tree set, with a parenthetical scope limit ('land only'). This is enough to distinguish it from add_lake or add_river, but it never names a sibling or says how it relates to scatter_symbols or generate_landmass.

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

Usage Guidelines3/5

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

The '(land only)' qualifier implies a when-not condition, i.e. do not use this over water areas. There is no explicit when-to-use guidance, no mention of alternatives for scattering trees or symbols, and no prerequisite such as obtaining set_key from list_asset_sets.

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