Skip to main content
Glama

Edit the saved native plant model

vegetation_edit
DestructiveIdempotent

Regenerate an existing saved ngPlant model using its authenticated native .ngp graph. Supported fields come from recipe; branchDepth is fixed by the saved graph. Explicit immutable base revision and stable idempotency key required. Returns a durable job; inspection reports saved effective values.

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": {
      "projectId": "<projectId>",
      "baseRevisionId": "<baseRevisionId>",
      "idempotencyKey": "<idempotencyKey>",
      "recipe": "<recipe>"
    },
    "name": "vegetation_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipeYes
projectIdYes
baseRevisionIdYes
idempotencyKeyYesCaller-chosen key. Replaying it with IDENTICAL input returns the EXISTING job instead of queueing a second one — a restarted driver adopts its own in-flight work rather than duplicating or orphaning it. Vary the key to force a new job. Full semantics: the same key with DIFFERENT input is rejected with IDEMPOTENCY_CONFLICT (never silently replayed, so a stale result cannot be mistaken for a fresh one). A key is recorded only once a job is actually created, so a request rejected beforehand (validation, APPROVAL_REQUIRED, quota) leaves the key unused and free to reuse. A key bound to a job keeps resolving to that job even after it fails or is cancelled — use a NEW key to genuinely retry cancelled work. Keys live 48 hours and are scoped per principal+deployment+operation, which means they SPAN SESSIONS: a plain descriptive key like "hero-final-1024-v1" will collide with your own run from yesterday and be rejected. Include a project id or a timestamp. This scope used to be stated only in the conflict error, i.e. after the round trip it cost — a field build lost two that way, ~34 hours after unrelated work had taken the same names.
generatePreviewNo

Output Schema

NameRequiredDescriptionDefault
jobYes
dedupedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered structurally. The description does add real value beyond that — branchDepth is fixed by the saved graph, base revision is immutable (optimistic concurrency), and a durable job is returned — but it never says what the destructive regeneration discards or whether prior state is recoverable.

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?

Four dense sentences, front-loaded with the action and scoping constraint before prerequisites and return behavior. Jargon-heavy ("authenticated native .ngp graph", "saved effective values") but no sentence is filler.

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?

An output schema exists, so return format is correctly omitted, and the job/durability contract plus concurrency and idempotency preconditions are all covered. The remaining holes — meaning of generatePreview and the concrete effect of the destructive flag — are secondary but non-trivial for a mutating 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?

Only 20% schema description coverage, so the description must compensate: it explains that recipe fields are constrained by template, that branchDepth cannot be set, and why baseRevisionId and idempotencyKey are mandatory. It leaves projectId and generatePreview (including that preview is on by default) unexplained, which for a 5-parameter tool is a visible gap.

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?

"Regenerate an existing saved ngPlant model using its authenticated native .ngp graph" gives a specific verb and resource, and "existing saved" plus "regenerate" distinguishes it from vegetation_create. No sibling is named explicitly, so differentiation is implied rather than stated.

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 description implies this is the mutation path for an already-saved model and that "inspection reports saved effective values" (likely vegetation_inspect), but it never states when to pick this over vegetation_create, vegetation_templates, or a fresh generate. Prerequisites are only implicit in "require base revision".

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.

Resources